>Hello, everyone
>
>I have combo box as a current control of a column in a grid control of a form.
>The properties of the grid control are set as follows:
> RecordSourceType = 1&& Alias
> RecordSource = 'B' && Table B
> Columns = 2
> Columns(1).controlsource = 'B.f3' && the field type is "I"nteger.
> Columns(2).controlsource = 'B.f4' && the field type is "N"umeric.
>
>The combo box belongs to Columns(1).
>The properties of the combo box are set as follows:
> Rowsourcetype = 2 &&Alias
> Rowsource = "A.f1, f2" && Table A, field f1, field f2; f1 is type "C"haracter and f2 "I"nteger.
> BoundColumn = 2
> BoundTo = .t.
> Controlsource = "B.f3" && is set by it's parent
>
>When a user changes the value of combo box, it updates the value of "B.f3".
>The problem is that whenever the combo box GotFocus, the selection of the combo box disappears. When it looses focus, the selection reappears.
>
>Does anybody know why? Any help will be appreciated!
>
>Dawa
Hello Dawa,
Try to increase grid.RowHeight a bit.
Précédent
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