New topic: Minimize button
<http://forums.realsoftware.com/viewtopic.php?t=30708> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message dogs222 Post subject: Minimize buttonPosted: Tue Oct 27, 2009 6:45 pm Joined: Tue Oct 27, 2009 6:28 pm Posts: 2 Hello I am trying to create a button which sends the window to the doc I thought this would work: me.window.minimize as it worked for the maximize command. It also doesn't work with restore, if you can help please do Top serd83 Post subject: Re: Minimize buttonPosted: Tue Oct 27, 2009 8:07 pm Joined: Thu Feb 22, 2007 7:08 pm Posts: 737 Use Code:window1.minimize The same for restore Code:window1.restore Alternatively you can use self.minimize or self.restore. With Me you are wrong in this case. Unless you use it in the window events. But then use me.minimize or me.restore only. Look for "Me" and "Self" in the language reference. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 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]
