Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command button in grid
Message
 
À
23/11/2005 02:42:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01071465
Message ID:
01071643
Vues:
20
>Hi
>I have a Command button in grid.
>The grid base on cursor and this column controlsource is memo (comment).
>I want that the command button (with caption 'View') will be visiable only if the memo not empty.
>Thank's

I applaud your efforts to pop the contents of a memo field to your user while they navigate your grid. I do not know the circumstance of your project. But my job on this board is to advocate against using a grid as an editor unless it is best served and simple (like a table converting linear units to volumn units).

Also - if it is an on the fly grid (columns not defined in code, but by the cursor structure) - it would be difficult.

Instead, I suggest an form that includes edit controls for each column of the grid. As the user navigates to a row, the contents of a memo field are "dumped" to an edit box control.

There is an example of this method in download #16575.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform