Force Setfocus to go somewhere else
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Force Setfocus to go somewhere else

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
Dave Baranas
Guest





Posted: Thu May 12, 2005 10:55 pm    Post subject: Force Setfocus to go somewhere else Reply with quote

I have been trying to find a way to get the focus off of a control and
put it somewhere else. The reason for this is that when a procees is
finished the next time I click on another control on the form the last
selected control fires off again.

My form has several frames that group controls and there seems to be no
way to set the focus to some dummy control in another frame without
getting an error.

Even if you could take the focus away and pass it back to the form
would be good.

Has anybody found a way to overcome this VBA annoyance. I really would
hate to make more dummy controls in each frame just to overcome this.

Thanks for any help

Dave

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
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




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB