Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and Mouse Icon
Message
De
24/04/2003 18:08:11
Peter Easson
Catalina Trading
Sydney, Australie
 
 
À
24/04/2003 15:50:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00780903
Message ID:
00781322
Vues:
22
>Don't feel too good, just yet. < bg >

>There are tooltips for grids, at the grid level, the column level, and the control within the column level. You just have to turn them on with the appropriate settings. To see tooltips, make sure you have the form's .ShowTips property enabled. To see a grid level tooltip, assign the Grid.ToolTipText some info, to see a column level, you set the Grid.ColumnX.ToolTipText, and to see the control's, you set it's .ToolTipText property and also make sure the column's .Sparse property is .F. or you won't see it.

>And I'm not real sure what value a .Left property would have as it's the widths that are usually more important. And what good would a column Height property be? It's the remander after the Grid height has the header height and scrollbars subtracted. What else could it be? You can also set Row height, so what more do you need? About the only other need I see is to have a dynamic row height property, as it may be useful to have differing row heights depending on values.

>This is all available in VFP8 as is (except dynamic row heights).

Yes, I know what your saying, but I wan't ToolTips for values that don't have focus when I hover over them. Problem with the VFP grid is that only the ActiveCell is really there. You see all the column data, but what you're looking at is a column object with no distinct data except for the ActiveCell. You can work out where you are on the grid, then take a look at the underlying data, then display a Column Tooltip, then...... They should open it way up and let us under the hood.

Take a look at http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid/article.asp. It would be nice to have native grids with this type of programmability.

Pete
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform