Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right Clicking on Grids
Message
From
25/10/2001 12:08:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/10/2001 12:01:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00573243
Message ID:
00573247
Views:
22
>Can someone explain to me how FoxPro handles the click events on grids?
>
>Specifically, I'm trying to call the right-click event on the grid as a whole, but it only recognizes the the code if I put it into either the column or the textbox level. I don't want to have to do this for every column and text box if I can just do it once for the grid.
>
>Thanks,
>John

John,
Goes like this :
If row has focus than textbox else column.
Grid gets click events only if you click at a 'dead' zone like after last column or last row.
You could either use Nick's click transparency approach (check downloads area) or use your own column,textbox (and other control) class instead.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform