Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu
Message
From
07/06/2005 16:29:35
 
 
To
07/06/2005 16:28:03
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
01021081
Message ID:
01021121
Views:
20
>>>>>I'd like to create a shortcut menu that a user will bring up when he clicks with a right click on a label.
>>>>>
>>>>>Thanks
>>>>
>>>>Just type modi menu (menuname) and when your asked pick shortcut. Put the prompts you want in there and the actions. Then generate the menu. On the rightclick event of the label type DO menuname.mpr
>>>
>>>The actions is what I have a problem with.
>>>I want to change a backcolor of the clicked object.
>>>How will I do that?
>>
>>When you have modi menu on the VFP menu select "View->General Options" when the next screen pops up select Setup. In the setup put PARAMETER po_object
>>
>>Now when you generate the menu it will take a parameter
>>So now you can type for the action po_object.BackColor = RGB(255, 0, 0)
>
>I am getting "po_object is not found."

In the right click even of the label change "Do mymenu.mpr" to "Do mymenu.mpr WITH this"
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform