Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small problem
Message
 
À
07/01/2006 10:15:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01084238
Message ID:
01084418
Vues:
10
>3. I cannot get the memo field to open << ====== The problem.

One way to put a cursor on a grid is to drop a grid object on a form, declare the recordtype as "alias" and then assign the alias as the source.

Under that scenario we cannot assign methods to a cell click event - for example - to pop the contents of a memo field into an edit box - etc.

What you have to do is take it one more step. You have to set the number of columns to correspond to the data you want to present and then bind each column to a field in the alias. I usually go one step further - I name the column text boxes to correspond with the field names (.txtFieldname).

When your grid is configured like this - a double click may behave as it does in a browse window (it's been so long i am not sure) and pop the memo into an editor - or you can use the cells click methods to programatically do it.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform