Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dropping custom class into grid
Message
 
À
15/01/2004 11:10:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00867139
Message ID:
00867158
Vues:
22
Define the grid columns setting thegrid.ColumnCount property to a proper value.
I'll see the columns in the grid.
Right click on the grid and select "edit".
The grid border become green.
then drag&drop the textbox as you do with the form.
At this moment you have ADDED your textbox to the column, you have to remove the default textbox VFP create.
So: activate the properties Dialog, select (using the combo in the top of the dialog) the other textbox you need to remove from the grid's column, then re-activate the form designer clicking on the title bar and finally press delete key.

You have added your custom textbox and remove the VFP default textbox.

OR, you should define your own column object with the proper textbox in it, then add your column object to the grid using the MemberClassLibrary property.

Franco

>I'm using VFP 8 and have a custom text box class for managing SQL dates. I need to use this textbox with a grid but can't seem to figure out how to get it in their through the interface. Is there anyway to do this without hacking the SCX?
>
>Thanks in advance!
>
>Greg
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform