Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut Menu
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00462684
Message ID:
00463143
Views:
16
Yes, the CBar class does support this, but I'm asking for Kevin to support it with the CShortcutMenu class, which I'm pretty sure doesn't... yet, right Kevin?

>the cbar class have the option lMarbar only this dont work or i dont know how use
>
>best regards
>
>Francisco Morosini
>>Hi Vlad,
>>
>>Yes, I know it is possible to do this, but I am just pointing it out to Kevin (developer of the Mere Mortals Framework), and asking him to add support for this in his shortcut menu class.
>>
>>Thanks for the response though.
>>
>>>Hi!
>>>
>>>It is possible. See help for DEFINE BAR command, MARK clause. See also help for SET MARK OF command.
>>>
>>>I read in help also following:
>>>"Also, the MARK clause is ignored if FoxFont isn't the font for the main Visual FoxPro window or the user-defined window in which the menu containing the menu item is placed."
>>>
>>>That is to be not true, with other font check mark will appear as another character - al the difference. Following is a sample menu definition:
>>>
>>>
>>>DEFINE POPUP aaa SHORTCUT FROM MROW(), MCOL() RELATIVE
>>>define bar 1 of aaa prompt "qwerty"
>>>SET MARK OF bar 1 of aaa to .T.
>>>activate popup aaa
>>>* you will see shortcut (popup) menu with checked item
>>>SET MARK OF bar 1 of aaa to .F.
>>>activate popup aaa
>>>* now it is not checked
>>>
>>>
>>>>Kevin,
>>>>
>>>>It doesn't look like it is possible to define a shortcut menu that has a bar with a MARK (check mark). Would it be possible to add support for this?

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform