Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying value other than controlsource in grid
Message
 
À
08/02/1999 15:11:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00185208
Message ID:
00185247
Vues:
18
>>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


Oops, It's a dropdownlist! Which displays fine and is bound to the surrogate key. The dropdownlist is working fine when focus is on column. But the surrogate key is displayed when focus is else where.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform