By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,930 Members | 1,487 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,930 IT Pros & Developers. It's quick & easy.

Form Set focus problems

P: 46
Hi All

I have a form with section and multiple pages(tab sections) in the section.Now i have added a button in the form which when clicked will open a form.Now my problem is that when i click the button the new form is getting opened but the control is still in the first form only.i have added control.setfocus in the form activate and form open method of second form but also control is not getting transfered to second form if i click through mouse also i am not able to get focus.why is it so,Can any one give me idea how to over come this

Thanks in advance
May 15 '08 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 634
Hi All

I have a form with section and multiple pages(tab sections) in the section.Now i have added a button in the form which when clicked will open a form.Now my problem is that when i click the button the new form is getting opened but the control is still in the first form only.i have added control.setfocus in the form activate and form open method of second form but also control is not getting transfered to second form if i click through mouse also i am not able to get focus.why is it so,Can any one give me idea how to over come this

Thanks in advance
Hi

The only think I know that can produce this behavour is when the launching for has its 'Pop Up' set to Yes.

This can be found on the form's 'Properties' dialoge 'Other' tab.

There could be other reason ??


HTH


MTB
May 15 '08 #2

P: 46
Hi

Thanks for the reply.Yes it has sorted out my problem.
May 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.