2010-12-30 14:08 UTC
Hi all,
I'm doing a simple form with few textboxes and few buttons. By pressing Tab on my keyboard focus is set from one form item to another. The problem is that it doesn't go in order, from top to bottom. Is there a way to accomplish this (in AutoLISP or OpenDCL)?
I managed to set initial focus on the first form item:
(defun c:project1_frmForm1_OnInitialize (/)
;; sets initial focus on the first form item
(dcl_Control_ZOrder project1_frmForm1_txtTextBox1 1)
)
I'm doing a simple form with few textboxes and few buttons. By pressing Tab on my keyboard focus is set from one form item to another. The problem is that it doesn't go in order, from top to bottom. Is there a way to accomplish this (in AutoLISP or OpenDCL)?
I managed to set initial focus on the first form item:
(defun c:project1_frmForm1_OnInitialize (/)
;; sets initial focus on the first form item
(dcl_Control_ZOrder project1_frmForm1_txtTextBox1 1)
)