General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only