Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ABS grid question...
Message
De
24/09/2001 22:23:50
N. Lea
Nic Cross Enterprises
Valencia, Californie, États-Unis
 
 
À
24/09/2001 21:38:48
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00560305
Message ID:
00560351
Vues:
24
>>I currently have a grid and in one of the columns is the control source of ABS(report1.total). Now the file actually reflects a negative and since the grid is eyecandy, it does not change - as you know. Now. I have this other column with a checkbox. When the user clicks on the checkbox, I would like for the column showing the ABS to actually reflect the database value just for this line item. Is this possible?? So when clicked it would show a negative. If the database showed a postive, the column would go unchanged. Thanks in advance@@
>
>How about adding a second textbox to that column, which would have the raw controlsource - without the abs(). On checkbox just flip the .dynamiccontrol property of that column to use one textbox or the other one.

is this what you are suggesting? I am very new to using the grid dynamic properties. i assume I would still leave the controlsource of the column the same and set different control values to the actual textboxes, correct? Here is my dynamic code:

IIF(lSetControl=.T.,txtABSTotal.Visible=.T.,IIF(lSetControl=.F.,txtRawTotal.Visible=.T.,txtABSTotal.Visible=.T.)))
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform