Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo Field in a Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00568983
Message ID:
00569254
Vues:
33
>I've got a form that we use in our program to get a raw look at the table (ie, as if you just type USE TABLE, and BROW). Well, we are using the basic Grid control, and found a small problem. You can't view Memo fields with it.

After you do your USE, just add a couple more lines to your code:
FOR EACH loColumn IN grid.Columns
   IF type(loColumn.controlsource) = 'M'
      loColumn.RemoveObject("text1")
      loColumn.AddObject("text1", "mymemoclass")
      loColumn.text1.Visible = .T.
      loColumn.Sparse = .F.
   ENDIF
ENDFOR
Where MyMemoClass is a textbox, or an editbox, or even a command button that is the user interface for all memo fields in your grid.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform