Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying value other than controlsource in grid
Message
From
08/02/1999 15:11:18
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00185208
Message ID:
00185245
Views:
23
>I have a grid based on a view that contains a listbox that displays a value other than the controlsource. The listbox is BoundTo a surogate key that is not displayed in the listbox (columnwidth = 0). Using Sparse = .f. the screen update is too slow and looks horrible. With sparse = .t., the grid displays the surrogate key.
>
>How can I diplay the same value in the listboox.displayvalue when the column does not have focus?
>
>Thanx in advance.

I don't think that listbox will look good inside the grid. Basically, if you want to display some value in listbox differed from its controlsource, then you use e.g. 2-column cursor as listbox rowsource with surrogate key (controlsource) in second column and use Listbox.Boundcolumn=2
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform