May 23, 2019, 07:24:15 am

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


setfocus question

Started by Haim, April 14, 2009, 12:32:23 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Haim

Hello,
This is probably a stupid question but I am unable to resolve it  :-[

How can I display a modal dialog, with focus set to a specific edit control on it.

usiing Getcontrol(ID_EDIT1)->setfocus(); from the dialog's OnInitDialog() method does not work.
I guess focus is moved to the dialog itself

Any idea?

Haim

Issue resolved.
Just my stupid mistake
Sorry to have bothered you all.
Haim