Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckMark in Grid
Message
 
 
À
13/03/2003 09:24:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00765348
Message ID:
00765361
Vues:
22
>Dear collegaues,
>
>Every table in my DB contains a Marked field (L). I use this field to let user select records.
>I use grid with DynamicControl property (iif(marked, "ImageWithCheckmark", "Text1"). But it doesn't work properly.
>Could anybody give an example of use DynamicControl?
>
>May be there is a ready class/form that illustrates this functionality (checkmarks in grid)?
>

Hi Victor,

Another alternative to your problem would be to use graphical checkbox with two different images (one for marked another for unmarked). You really don't need to use DynamicCurrentControl for this...


>Another question - could you explain, how to add controls to the grid in VFP7. The way it was in VFP6 - doesn't work (at least for me):
>1) select grid
>2) select column in property window
>3) drag class from project's classes tab on the grid's first row
>
>VFP7 says "could not add object to grid".
>
>What's wrong?

Right click on the grid, click edit. Choose the column and drop a class from Form's control toolbar.

To delete the original textbox: go to property window, find this column, then textbox, then click on form's caption and press delete button.

This works in VFP6, perhaps, VFP7 provides better ways of doing it.
>Thank you
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform