Folder and SetFocus()

Post Reply
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Folder and SetFocus()

Post by Marco Turco »

Hi to all,
I have a problem with the focus control sequence on a Folder.

See this image sample at www.softwarexp.co.uk/beta/image1.png

I have set with WorkShop the focus sequence from the first control to the last control but when the last combobox (Detraibilità fiscale) lost the focus then the focus go to the "OK" button instead of the "Importo" GET control.

I also tried to put an oCbx:bLostFocus={||oGet:SetFocus()} but unsuccesfully.

Any ideas appreciates. Thanks.

Best Regards,

Marco
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Post by Marco Turco »

Hi,
I made a self-contained sample (with executable and source) that show the problem.

You can download it at:

www.softwarexp.co.uk/beta/sample.zip

to check the problem simply go to the "Detraibilità fiscale" combobox and then press the "Tab" key.
You will see that the focus will move on the "Ok" button instead the "Importo" get.

I would like the focus goes to the get control after pressing a "Tab" or "Enter" key on the "Detraibilità fiscale" combobox.

Any ideas ?

Thanks,

Marco
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Post by Marco Turco »

Yes. It runs fine now.
I didn't know that the code control sequence was so importance.

Thanks a lot.

Best Regards,

Marco
Best Regards,

Marco Turco
SOFTWARE XP LLP
Post Reply