Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement