home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8006 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!mcsun!sun4nl!oce.nl!fjh
  3. From: fjh@oce.nl (Erik Hommersom)
  4. Subject: InterfaceBuilder: No KeyAndOrderFront at app's startup??
  5. Message-ID: <1993Jan5.130920.29274@oce.nl>
  6. Originator: fjh@oce-rd2
  7. Keywords: ProjectBuilder; InterfaceBuilder; makeKeyAndOrderFront
  8. Sender: news@oce.nl (USENET News System)
  9. Organization: OCE Nederland B.V.
  10. Date: Tue, 5 Jan 93 13:09:20 GMT
  11. Lines: 26
  12.  
  13. Hi there,
  14.  
  15. When I start an application, made with InterfaceBuilder in a Terminal, 
  16. it is not activated, but the Terminal application remains the active
  17. application. 
  18.  
  19. Instead I would like to have MyApplication become active after it has been
  20. launched from a Terminal, without having to click on one of its windows. 
  21.  
  22. The problem I have is that I cannot figure out where to call the method
  23. "makeKeyAndOrderFront" if not in the main.m program generated by
  24. InterfaceBuilder?
  25.  
  26. Can someone tell me how to activate an application at startup under these
  27. conditions?
  28.  
  29. Thanks,
  30.  
  31. Erik Hommersom
  32. OCE Research & Development, Venlo, The Netherlands
  33.  
  34.       ###########################################################
  35.       #  This note does not necessarily represent the position  #
  36.       #     of Oce-Nederland B.V. Therefore no liability or     #
  37.       #      responsibility for whatever will be accepted.      #
  38.       ###########################################################
  39.