Hi Bill, 

I have spent quite a bit of time working on this issue and consulting with RBTI 
on it. The bottom line is you can't control most properties of the menu bar 
because they are controlled by Windows. Here is the official final response 
from RBTI (November 2012). R:Base can control the VISIBLE property in addition 
to the other ones mentioned in the last paragraph: 

"A Menu Bar is located within the non-client area of a window, and is painted 
by the Windows 
operating system. This is why the Menu Bar is not displayed when in the R:BASE 
Form Designer, 
and can only be seen when running the form. 

"Because of this, there is not a method available to change the height or text 
font of the Menu 
Bar within R:BASE. 

"Outside of R:BASE, the operating system settings can be used to alter the Menu 
Bar properties, 
but this would alter the display of all Menu Bars throughout the entire 
operating system and 
for any Windows program that is opened. 

"The properties that can be controlled by R:BASE include CAPTION, ENABLED, and 
HINT. These are 
the same properties which are available to .RBA Application File, which also 
use a Menu Bar 
control painted by the Windows operating system."



Regards,

Stephen Markson
The Pharmacy Examining Board of Canada
416.979.2431 x251


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Bill Eyring
Sent: April-25-13 8:44 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Property Commands for Menu Bar

I am playing around with the menu bar in form designer using the latest rb 
Extreme 64 version.
 
For each menu main item and sub-menu item one can assign a component id.
 
I have tried all of these property commands with my assigned component id's and 
can't get them to work.
 
PROPERTY <Component ID> FOCUSCOLOR 'Value'
PROPERTY <Component ID> FONT_BOLD 'TRUE'
PROPERTY <Component ID> FONT_COLOR 'Value'
PROPERTY <Component ID> FONT_NAME 'FONT_NAME'
PROPERTY <Component ID> FONT_SIZE 'nnn'
PROPERTY <Component ID> MENUBACKGROUNDCOLOR 'value'
PROPERTY <Component ID> MENUFONTCOLOR 'value'
PROPERTY <Component ID> MENUFONTSIZE 'nnn'
PROPERTY <Component ID> THEMEAWARE 'TRUE'
 
Can anyone give me some blues clues to get them to work ? The default menu bar 
is kind of dull.
 
 
Thanks,
 
Bill Eyring
Lamp Software, Inc.


Reply via email to