Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help ..Grid/Browse problems
Message
 
À
01/09/1998 06:33:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00131458
Message ID:
00131883
Vues:
15
>Jayesh,
>Yes I am setting the Recordsource of the grid and the Controlsource of each text box in the grid in the Init event of the Grid which I presume is executed only once. Then why the second time the grid columns gets reset?

Here you need to assign controlsource to the Columns not to the text objects. Text object inherits it from the parent that is Column object.

>More problems if anyone can help:
>In spite of setting the tabstop of some text boxes of the grid, when the use tabs to it the control is taken to those columns..any solution, please?

TabStop property does not work when you drop controls in a grid. You need to disable the column object to prevent it from getting focus.


>How do I use other controls(textboxes/combos) created as classes separately, to be used for columns in the grid? ie, I want to use my own txtbox from a library in the grid.. baseclass of the col/txt of grid col is noneditable.

Add your VCX to Forms Controls toolbar by clicking on Class icon.
Select a column in which you want to drop the your text box.
Click on the textbox on Controls Toolbar and drop it onto selected column.

>TIA
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform