focus on TextBox desired

mircome

Member
Licensed User
Longtime User
opening a form with several textboxes I am not able ti fix the focus in the desired textbox:sign0085:
 

Ricky D

Well-Known Member
Licensed User
Longtime User
focussing a textbox

I do this in a form's show method:

textbox1.Focus

I have forms with imagebuttons and textboxes and in the click event of the imagebutton I use the same line

regards, Ricky

p.s I also have the textbox's text to be selected by using

txtEndKm.SelectionStart=0
txtEndKm.SelectionLength=StrLength(txtEndKm.Text)

in txtEndKm's gotfocus event
 
Last edited:

ceaser

Active Member
Licensed User
Hi

I have found the same problem. But once you have compilied the program it works fine on the mobile device.

Regards
Michael
 
Top