Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo field reverts to old value when focus returns to i
Message
From
04/08/1999 04:19:23
 
 
To
03/08/1999 22:41:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00249541
Message ID:
00249610
Views:
30
Hi David.

>> One other clue is that event tracking shows that mycombolist.text1.gotfocus is executing, and it appears to be that this event method is culpable for reverting the editbox's value back to 'x'. text1 is apparently the name of the editbox object contained by the combobox and is of course totally hidden from any kind of examination. (sigh!) <<

Then it woould seem to me that you have some code in the combo's GotFocus that is causing this behavior because what you describe is not the usual behavior for combo boxes. Just a shot in the dark here...is your combo's ControlSource from the same table as you are specifying for its RowSource? If this is the case, this may be related to your problem.

Generally speaking, when you use a combo, you want to bind it to one a table that you intend to update with a value drawn from its RowSource which is another (generally a look up) table.

If this is not the case, then please post the code in the GotFocus of your combo box and/or your settings for it's RowSource, ControlSource, etc.

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform