Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to wrap text in a grid?
Message
 
À
18/01/2003 11:56:19
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00743089
Message ID:
00743162
Vues:
17
Hi Henry,

>Thank you for your kind response.

No problem.

>From what you are saying am I correct in concluding that each cell in a base grid is in fact a textbox control - which can be replaced by an editbox control?

yes. The grid object is a collection of columns and columns contain texbox objects (by default).

>If this is true - how do i replace the existing textcontrol with and editbox control in the. grid?

Here's how:

1) open your form in design mode

2) right click on your grid object to go into edit mode.

3) go to the properties sheet and use the dropdown list of form objects to navigate to the textbox object you want to replace

4) click on your form's titlebar (not the form area itself).

5) strike the [ delete ] button on your keyboard (to delete the textbox)

6) click on your form controls toolbar to select the editbox object.

7) go back to your form (this time click on the column where you want the editbox control to be).

I can't remember right now but I think that you won't have to set the editbox controlsource explicitly because that is assumed by the column's controlsource. If not, you'll need to set that too.

Good luck!

Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform