BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to Move focus to another form?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
ivan
Guest





PostPosted: Tue Oct 14, 2003 9:32 am    Post subject: How to Move focus to another form? Reply with quote



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





PostPosted: Tue Oct 14, 2003 3:01 pm    Post subject: Re: How to Move focus to another form? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.