Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Button in a grid from a view?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00229218
Message ID:
00229267
Vues:
20
Steve, if I've understood what you need, you should be able to do it with a combination of the 'currentcontrol' property and the 'sparse' property. Sparse makes the grid show the currentcontrol ONLY when the cell is active.

HTH
Barbara

>I want to place a button in a grid as a replacement for a text object on a single line of a multi transaction data source.
>
>I have a grid for a manager that needs to verify secondary data to support a total for one "type" of daily function on an end of shift report.
>
>Each line has a separate total for daily production. One of them demands further work so the column for "Type" on that one transaction I want a push button that has the tansactions data for type as the label for the button and all other rows will just be the actual data with no buttons.
>
>Data is view based:
>
>Sele lookup.ctype, sum(ctr.pamount) as totals ;
>FROM ctr RIGHT OUTER JOIN lookup ;
>ON Ctr.ctype = lookup.lucode ;
>WHERE Ctr.eod <> .T. ;
>GROUP BY Ctr.ctype ;
>ORDER BY Ctr.ctype
>
>I cannot determine if the end user will change the lookup table thus changing the postion of the button in place of the the ctype I am tracking.
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform