Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Misbehavior of a Combo Box in a Grid control
Message
From
05/07/2000 19:15:19
Dragan Jankovic
Delegate Technology GmbH
Vienna, Austria
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00388459
Message ID:
00388607
Views:
12
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform