acFocus control

acFocus control

Anonymous
Not applicable
577 Views
1 Reply
Message 1 of 2

acFocus control

Anonymous
Not applicable

Hello,

 

I need a userform in autocad to do my works.But userforms in autocad don't have focus. I read we can use 'acFocus' control, but I don't know how to use it.

 

Thanks a lot

0 Likes
578 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hello again,

 

I found the answer in:

 

http://forums.autodesk.com/t5/Visual-Basic-Customization/How-to-set-focus-on-vbModeless-form/m-p/238...

or search 'how to set focus on vbModeless form'

 

when you add 'acFocus' control, you can use 'Me.AcFocusCtrl1.SetFocus' in Click event of your form.

 

Mohsen

 

 

0 Likes