tab button problem

Started by s.barszczewski, October 16, 2009, 02:16:12 AM

Previous topic - Next topic

s.barszczewski

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.

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]