Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column substitution
Message
From
08/11/2006 10:52:07
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
08/11/2006 10:39:29
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01168026
Message ID:
01168034
Views:
12
>Hi. Is it possible to substitute grid fields "on the fly". Note that the fields both exist when the screen is loaded.
>
>What I am trying to do: allow my end-user toggle between Retail and Rental pricing.

I did that somewhere... basically, just set the column's .controlsource in code, and refresh the grid. Note that it affects all rows. Changing the column header caption would also be a good idea, so the user would know.

update: my grid was read-only, i.e. the columns to show were decided upon in .arcc of another grid. Didn't try that with a data entry grid. I figure it would work the same.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform