Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox class properties don't make sense?
Message
From
19/04/1998 01:55:21
Raul Davila
Davila Programming Services
Toa Alta, Puerto Rico
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00093227
Message ID:
00093233
Views:
22
>>Hi:
>>
>> I just can't figure this out.
>> I've spent a couple of hours reading the help explanation of all the ComboBox properties and some just don't make sense.
>>
>>Given the following:
>>
>>ITEMS.DBF (ID N(3), DESC C(20))
>>165 A
>>798 B
>>194 C
>>768 D
>>
>Raul,
>If you are using VFP 3.0 you are out of luck as that is what happens when the item is numeric. If you are using VFP 5.0 you ned to set the BoundTo property correctly to allow binding to numeric items.

I'm using VFP5. I did try the BoundTo = .T. but as I said above nothing shows in the combo.
When I set BoundTo to .T. the following happens:

If the combo is closed, the textbox part of the combo appears empty.
If I use the arrow keys to navigate, nothing happens.
If I open the combo with the mouse I can see all the values and if I choose one I'll get the correct value in MyCombo.VALUE, but once the combo closes it shows nothing.

BoundTo seems to be the answer, if I could just find out why the above behavior is taking place.
Any idea what's causing that?

Thanks!
R. Davila
DBA / Network Administrator
Administracion de Fomento Comercial
Gobierno de Puerto Rico

Still waiting for FoxPro for LINUX
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform