Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / February 2005



Tip: Looking for answers? Try searching our database.

Carbon dialog focus?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pf - 25 Feb 2005 06:39 GMT
Hi,

I have a dilaog which has two edit text fields and an 'OK' button but none
of the controls has focus when it launches. I would like the first edit text
field to have focus but can't find any such option in Interface Builder.
Have I missed something?

How do I give it focus?

Thanks,

Paul
Chris Baum - 25 Feb 2005 07:37 GMT
In article
<421ec707$0$245$61c65585@uq-127creek-reader-03.brisbane.pipenetworks.com.

> Hi,
>
[quoted text clipped - 4 lines]
>
> How do I give it focus?

You need to do it programmatically with:

SetKeyboardFocus(windowRef, controlRef, thePart);
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.