tab button problem

Started by s.barszczewski · 2009-10-16 09:16 UTC · 1 replies · SMF topic #970

Hello I would like to point that i'm new with opendcl, and I would really appreciate your help.

I have  6 textboxes in modal dialog, The position looks like below :

1    2    3
4    5    6

My problem is that when i type the value in textbox 1 and hit the tab button ( from keyboard ) the cursor goes to textbox6 and then
3 > 5 > 2  > 4 > 1 .

I would like to make opendcl to force such order after hiting tab button (from keybord) : 1 > 2 > 3 > 4 > 5 >  6

Do yoy have any suggestion how to do that ?
Regards
Sebastian

Thakns in advance for your help.
Hi, s.barszczewski and welcome to OpenDCL. The answer of your question is easy:


  • Open your odcl-project in OpenDCL studio and open your form.

  • Have a look the the Z/TAB-order list

  • Arrange the controls in the desired order (1 > 2 > 3 > 4 > 5 >  6) in the list.

  • Save the project and reload it in AutoCAD (note the additional argument in (dcl_project_load ...)).



Make sure that all of your textboxes have set the property ReturnAsTab to True .

That should work now.

Fred