🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2201

InterfaceBuilder: No KeyAndOrderFront at app's startup??

#2201
From: Erik Hommersom
Date: Tue, 05 Jan 1993 13:09
26 lines
1434 bytes
Hi there,

When I start an application, made with InterfaceBuilder in a Terminal, 
it is not activated, but the Terminal application remains the active
application. 

Instead I would like to have MyApplication become active after it has been
launched from a Terminal, without having to click on one of its windows. 

The problem I have is that I cannot figure out where to call the method
"makeKeyAndOrderFront" if not in the main.m program generated by
InterfaceBuilder?

Can someone tell me how to activate an application at startup under these
conditions?

Thanks,

Erik Hommersom
OCE Research & Development, Venlo, The Netherlands

      ###########################################################
      #  This note does not necessarily represent the position  #
      #     of Oce-Nederland B.V. Therefore no liability or     #
      #      responsibility for whatever will be accepted.      #
      ###########################################################
Technical Details
Message-ID: <1993Jan5.130920.29274@oce.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!oce.nl!fjh

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!oce.nl!fjh
From: fjh@oce.nl (Erik Hommersom)
Subject: InterfaceBuilder: No KeyAndOrderFront at app's startup??
Message-ID: <1993Jan5.130920.29274@oce.nl>
Originator: fjh@oce-rd2
Keywords: ProjectBuilder; InterfaceBuilder; makeKeyAndOrderFront
Sender: news@oce.nl (USENET News System)
Organization: OCE Nederland B.V.
Date: Tue, 5 Jan 93 13:09:20 GMT
Lines: 26