Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rightclick menu
Message
From
23/11/2005 03:24:56
 
 
To
23/11/2005 03:20:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01071462
Message ID:
01071487
Views:
25
Thanks guys.

I hadn't even noticed that event...

I owe you both a beer. When are you in Switzerland next? :)

Mace


>Hi Macer,
>
>>>>>>>Hi all
>>>>>>>How can I add rightclick menu (I have a grid and I want to add rightclick menu for each cell).
>>>>>>
>>>>>>if you want to have one rightclick menu for all cells, then place the transparent shape over grid and use rightclick event
>>>>>>of Shape to define popup menu and for processing of user choice.
>>>>>
>>>>>That way you make grid readonly :o) No way to click on it.
>>>>
>>>>And disable the scroll event... my users are giving me hell for this...
>>>
>>>it can be easily emulated with shape. at least, we do it in our app many many times ;)
>>
>>OK spill the beans... how do you make the grid scroll ( from the mouse's scroll button) when a shape is on top of the grid?
>>
>>If you tell me a good solution I'll send you a beer voucher.
>>
>>Mace
>
>Shape Mousewheel
>
>LPARAMETERS nDirection, nShift, nXCoord, nYCoord
>
>*!* wait window str(ndirection) nowait
>if !thisform.rlIngrid
> thisform.conMore.Grid.setfocus()
> thisform.rlIngrid=.t.
>endif
>thisform.conMore.Grid.Doscroll(iif(nDirection<0,3,2))
>
>works like sharm ;)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform