Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Header caption - displayes wrong info
Message
 
 
To
17/07/2009 15:35:26
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01412560
Message ID:
01413072
Views:
43
>>Hi everybody,
>>
>>I set up a grid using a grid wizard. For all of the columns the Headers came from the database where I have them defined. However, for one of the headers I wanted a different caption, so I set it in design-time.
>>
>>I just noticed that in run-time the Header's caption is wrong (it's the original caption from the table). How can I make it to use the Caption set in design-time?
>
>VPM will insert its own grid column headers from the data dictionary unless you tell it otherwise. Set the Grid's lgridoverwritecaption -property to .T. to keep your design time column headers. Note that this is all-or-one -type of property -- it affects ALL column headers.

Thanks, will do.

See my more pressing problem with GetFldState()

Do you think I can set BindControls to .f. and to .T. in activate after default() to avoid this behavior?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform