 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
ivan Guest
|
Posted: Tue Oct 14, 2003 9:32 am Post subject: How to Move focus to another form? |
|
|
| Quote: |
hai, i create two form, one is form A and one is form B,
Form A got one button(caption is Save), Form B nothing,
Now if i press button at Form A, then i need to save everthing at Form B
how can i move focus to form B?
if i can't do in this way, can anyone suggest a better solution for me?
Thanks lot for all your help.
Regards
Ivan
|
|
|
| Back to top |
|
 |
Yu-Chen Hsueh Guest
|
Posted: Tue Oct 14, 2003 3:01 pm Post subject: Re: How to Move focus to another form? |
|
|
ivan,
You can call FormB->SetFocus() in the button's OnClick event.
-- YH --
--
Any e-mail sent to me from the newsgroups will be ignored. Please confine
your posts to the newsgroups and DO NOT reply to this e-mail account.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|