General information
Category:
Menus & Menu designer
Title:
Inactive pictures in menubar
Hello,
i've tried to display 2 pictures (one for enabled and one for disabled state)in a menubar like this
DEFINE PAD some_pad OF _MSYSMENU PROMPT 'MyPrompt' KEY ALT+M, ''
ON PAD some_pad OF _MSYSMENU ACTIVATE POPUP some_popup
DEFINE POPUP some_popup MARGIN RELATIVE SHADOW
DEFINE BAR 1 OF some_popup PROMPT 'DoSomething' ;
SKIP FOR someCondition ;
PICTURE IIF(!SKPBAR('some_popup',1),'enabled.bmp','disabled.bmp')
but this doesn't work ..
it seems that the PICTURE clause only accepts direct references to a file and not any kind of expression, can someone affirm this?!
Regards
Christian
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only