deutschsprachige FoxPro User Group
Forum View
Home
  
  Re: Menu Builder- #13979 in section [740985]
Sec: (29) VFX english
Von: David Phillips
An: David Phillips
Am/Um: 04.12.2017 01:02:06

--from Newsreader at Montag, 4. Dezember 2017; 01:02:06--

Dear Uwe,
I thin I have found a fix for this problem. I don't know if it is the fix I
should use but overcopying the Data\VFXmsg at the user site fixes the
problem.

Kind Regards,
David



"David Phillips" wrote in message news:740983...
--from Newsreader at Montag, 4. Dezember 2017; 00:41:39--

Dear Uwe,
I am still having trouble on an installed site after copying the latest
...exe file.

On startup while the VFX menu is loading I get the error â=80=9CProperty c3
is not foundâ=80=9D

I have traced this to the code in selectitem.prg

IF FILE(lcPictureName)
loItem.cPicture = lcPictureName
ENDIF
loItem.Alignment = 0
loItem.cSkipForExp = ''
BINDEVENT(loItem, 'Execute', goProgram.otabMenuHandler, 'onSelectMenu')
loItem =
...cntPopupItems.AddPopupItem(ALLTRIM(IIF(goProgram.lRuntimeLocalization,
goLocalize.c3, 3)), "NORM","")
loItem.cItemKey = 'MEN_HISTORY2'
lcPictureName = JUSTFNAME('')

but understand this code is not being used as I am not using the ribbon menu
so it must be somewhere else as well.

What can I do to fix this code?

Also I have a lot of records marked for deletion in VFXRes. should I pack
the DBF or recall the records marked for deletion?

Kind Regards,
David


"David Phillips" wrote in message news:740067...
--from Newsreader at Donnerstag, 27. Oktober 2016; 10:42:27--

Dear Uwe,
I am in trouble again. I am trying to find the source and fix the problem I
have with the menu builder.

I have a pad (sub pad) on the menu that has a prompt constant value of "1"
Element name "MEN_EDIT. I think the value of "1" may be the cause of my
trouble but I cannot get rid of it. The menu works okay in preview but when
running via VFXMain I get a syntax error in vfxmenu.vmr

Define Bar 3 Of MEN_MENU PROMPT IIF(goProgram.lruntimelocalization,
goLocalize.c1,1) SKIP FOR WVISIBLE('Edit') FONT [Lucida Sans],12 KEY F11,
IIF(goProgram.lruntimelocalization, goLocalize.cMEN_KLBF11, MEN_KLBF11)

I don't need localisation and I am having trouble working out what files to
look at, and what I can delete to get a clean rebuild and change the "1" to
something more like what I expected eg MEN_PRMEDIT

Also I see that selectitem.prg is involved in it all. Should I delete this
program and will it be automatically rebuilt20

Kind Regards,
David





David Phillips   27.10.2016 10:42
Uwe Habermann  27.10.2016 10:59
David Phillips  30.10.2016 07:50
Uwe Habermann  30.10.2016 10:11
David Phillips  02.11.2016 03:57
David Phillips  04.12.2017 00:41
David Phillips  04.12.2017 01:02
Uwe Habermann  04.12.2017 08:55
Uwe Habermann  04.12.2017 08:56
  
zurück zum Forum