New topic: Retrieve the Name of a Window by code
<http://forums.realsoftware.com/viewtopic.php?t=30496> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message jorisvervuurt Post subject: Retrieve the Name of a Window by codePosted: Thu Oct 15, 2009 12:19 pm Joined: Sun Oct 22, 2006 2:08 am Posts: 187 Hello, I couldn't find it on the RS Forums, so I thought it would be a good idea to create a new topic. I needed to retrieve the Name of a Window by code, and so I figured out how to do just that. The following code displays a MsgBox with the Name of Self: Code:Dim Introspection As Introspection.TypeInfo = Introspection.GetType(Self) MsgBox Introspection.Name Best regards, Joris Vervuurt _________________ Simple, useful and easy-to-use applications for Mac OS X More information: http://www.itubex.dse.nl/ Top rbasic20091005153 Post subject: Re: Retrieve the Name of a Window by codePosted: Thu Oct 15, 2009 1:40 pm Joined: Sat Apr 04, 2009 5:10 pm Posts: 346 Quote:I needed to retrieve the Name of a Window You mean, like Window1.Title? _________________ Mac OS X 10.5.6/REALBasic 2008 R5.1 I say 'no' to MBS plug-ins. I boycott them. Top jorisvervuurt Post subject: Re: Retrieve the Name of a Window by codePosted: Thu Oct 15, 2009 1:47 pm Joined: Sun Oct 22, 2006 2:08 am Posts: 187 rbasic20091005153 wrote:Quote:I needed to retrieve the Name of a Window You mean, like Window1.Title? No, not the Title, but the Name that you set in the Properties inside REALbasic (Window1 for example). _________________ Simple, useful and easy-to-use applications for Mac OS X More information: http://www.itubex.dse.nl/ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
