Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo auto-scroll
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combo auto-scroll
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01337352
Message ID:
01337352
Views:
61
Sometimes I need a combo scrolls to a value byitself
(for example: when a value is default most often )

The code below works if a put it in a button.click as test:

thisform.combo1.ListIndex = TPRINTERS.SEQUENCIA
thisform.Refresh
thisform.combo1.Refresh

The combo moves by itself, that's OK

But it does not work in .init, .activate, or .getfocus method of my form

Can it be because the combo is ready only after form methods loads ?

Any hint would be welcome

Below there is some information about the combo

rowsource = alltrim(tprinters.name)
rowsource = fields
controusource = none


Moises
Next
Reply
Map
View

Click here to load this message in the networking platform