Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids - replace the textbox programmatically
Message
De
26/12/2006 06:56:13
 
 
À
26/12/2006 06:37:27
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01180164
Message ID:
01180167
Vues:
28
This message has been marked as the solution to the initial question of the thread.
does anybody know how to replace the textbox in a column of a grid programmatically at runtime?

Try this in the init() of the grid:
FOR EACH loColumn IN This.Columns FOXOBJECT
  loColumn.AddObject( [MyText], [MyCustomTextBoxClass] )
  loColumn.CurrentControl = [MyText]
  loColumn.MyText.Visible = .T.
  loColumn.RemoveObject( [Text1] )
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform