Frank,

I am creating the menus with Application Designer. In my rba's, I can change the language also.
Here is an example:

IF vvlang <> 'd' THEN
  SET VAR vakt001 TEXT = lmcap IN tstlmenu +
    WHERE svlang = (.vvlang) AND mnunam = 'verein' AND mnunr = 11
  PROPERTY RBA_FORM|akt001ID CAPTION .vakt001
ENDIF

'tstlmenu' is the temporary language table with the menu items and
 'svlang' is 'd' OR 'e' etc.

Hartmut


frank van der Zwaag schrieb:
Vielen dank Hartmut,

I am creating menus in the Forms with [Layout]---> [Design menu bar...]. I noticed that I can change the enable / disable and the caption properties of the submenu items, but not the caption properties of the "top-level" ones.

The plan was to read the menu captions and access permissions from a table. I am already doing the permissions, that works. In that way I could build one application and only have to change the content of my parameter (in the Mac OS they are called "resources") table to change menu captions. I could make one application shell and depending on the application or language requirements change the menu titles dynamically.

Maybe it is something that's done in eXtreme another reason to give my client the hurry-up and get the order faxed to Razzak.

Dr. Hartmut Braun wrote:
Try this:

SET VAT vcapt TEXT = 'xyz'
PROPERTY RBA_FORM|actID CAPTION .vcapt

Hartmut

frank van der Zwaag schrieb:
I am able to 'enable" and 'disable" menu items. i.e. property myMenyItemComponent enabled 'true' etc; is it also possible to change the caption?




____________
Virus checked by G DATA AntiVirus
Version: AVK 19.6631 dated 22.07.2009





____________
Virus checked by G DATA AntiVirus
Version: AVK 19.6631 dated 22.07.2009


Reply via email to