Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Display Question
Message
From
29/11/2003 11:06:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00854423
Message ID:
00854441
Views:
28
>Hilmar
>
>If I set tooltiptext to manigrid.delivery thats what I get
>
>If I set tooltiptext to &manigrid.delivery I get variable Paris not found - Paris is the cirrect answer but why varialbe not found?

Then, I think you must use it without the macro substitution.

But not:
...Column1.Text1.ToolTipText = "manigrid.delivery"
rather:
...Column1.Text1.ToolTipText = manigrid.delivery
That is, without the quotation marks.

>The other problem is that tooltips will show wherever the mouse is used on the grid so each column's text would have to be set

Yes, that was my idea: set it for each column. (Or at least, for those columns which you are forced to make narrower than the usual contents.) I don't know of a way to automate this, but you might put it in your base classes: if the TextBox is in a grid, then change the ToolTipText.

I am just thinking about another problem, which may make the approach completely impractical. You can see several rows on the screen, but this method will only show you the contents of the current row. Perhaps you find a way to get information for other rows.

Even to show the current row, you will have to update the ToolTipText regularly, as I explained before. But this part should not be too difficult.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform