Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class based on Container with tooltip functionality?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00643289
Message ID:
00643635
Views:
9
Hi!

This only "looks" like that. You want just to show a path in the text box for EACH grid row, right? This seems not an easy task. Using the approach in that FAQ article you can show tool tip for the entire column, but not for each cell in the column. If you need this anyway, for example, to organize something like the thing that "ItemTips=.T." propety does for list box, you will require to write some code to determine the record position in data source that is appropriate to the current row under mouse pointer. If grid is focused and not scrolled - this is not a problem (RelativeRow is not zero). When grid is scrolled or not focused, you require to know what row is currently displayed topmost, that is very hard. Finally, if you got that rowm using GridHitTest you can get row and column number under mouse and then find appropriate record...

All this is quite complex and I do not think that it is better than just allow user to enhance the size of the grid column to see the entire pathnames.

>>If this is the case, see FAQ #8149 by Vlad Grynchyshyn about showing ToolTip in a Grid...
>
>This looks like exactly what I need!
>
>Thanks,
>Clay
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform