WinBatch Technical Support Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Current release
:
2023C (6.23CWC)
Home
Help
Search
Tech Database
Documentation
Downloads
Hints
Login
Register
WinBatch® Technical Support Forum
»
Archived Boards
»
WinBatch Dynamic Dialogs
»
DialogControlState or Set to give focus to a control?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: DialogControlState or Set to give focus to a control? (Read 3435 times)
stevengraff
Sr. Member
Posts: 271
DialogControlState or Set to give focus to a control?
«
on:
January 21, 2014, 04:59:50 pm »
How can I give the focus to a multiline box in a dialog? I see how I can hover the mouse over it using dialogControlState request-code 6, but I want the cursor
in
the box, as if I had actually clicked it.
Logged
George Vagenas
Full Member
Posts: 102
Re: DialogControlState or Set to give focus to a control?
«
Reply #1 on:
January 21, 2014, 05:33:23 pm »
I have a text box on a form, this sets the focus to it when the dialog displays
DialogControlState(Handle, edtMaxSize, 1, 0)
as per the help file 1 = give control focus
Logged
Thanks
George
stevengraff
Sr. Member
Posts: 271
Re: DialogControlState or Set to give focus to a control?
«
Reply #2 on:
January 22, 2014, 09:44:15 am »
Thank you George!
I was going too fast for my own good... probably read that 3 times before posting, just didn't sink in.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
WinBatch® Technical Support Forum
»
Archived Boards
»
WinBatch Dynamic Dialogs
»
DialogControlState or Set to give focus to a control?