Prev: VO2837 : Linear Owner Alignment
Next: XML
From: JD on 17 Feb 2010 09:07 Hi guys, Is it possible put only a toolbar in a shellwindow? Is there a way to use the code generated by the editor menu and show only the tollbar? I would appreciate a lot if somebody could give me an small example or aef. Thanks.
From: Willie Moore on 17 Feb 2010 09:17 JD, Here is how I do mine: // start up the shell oTopWindow := SQLTopWindow{SELF,TRUE} // the TRUE causes a leave program question when they exit oTopWindow:Caption := "Southern Foodservice Management, Inc." // Customize the window oTopWindow:Menu := TopMenu{ oTopWindow } // Add in the menu that we want SQLTopMenu is a class that I inherit from ShellWindow so I can include common code. TopMenu I created with the menu editor. Regards, Willie "JD" <jdhora(a)ig.com.br> wrote in message news:43bf424e-5181-4523-8cae-689aecbd3442(a)v25g2000yqk.googlegroups.com... > Hi guys, > > Is it possible put only a toolbar in a shellwindow? Is there a way to > use the code generated by the editor menu and show only the tollbar? > > I would appreciate a lot if somebody could give me an small example or > aef. > > Thanks. > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4874 (20100217) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4874 (20100217) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
From: JD on 17 Feb 2010 09:41 Sorry it is very simplified so I didn't get to understand. I usually write oSW as ShellWindo / oSW:Menu := MyMenu{}. I don't get to see where you removed the menu and just left the toolbar. Regards. JD.
From: Willie Moore on 17 Feb 2010 09:49 JD, I misread your original message. I thought you were talking about the menu. I have not done a shell window with just a toolbar. Regards, Willie "JD" <jdhora(a)ig.com.br> wrote in message news:7827aa06-b9b3-4af9-b17e-d387adbc0be4(a)c16g2000yqd.googlegroups.com... > Sorry it is very simplified so I didn't get to understand. I usually > write oSW as ShellWindo / oSW:Menu := MyMenu{}. I don't get to see > where you removed the menu and just left the toolbar. > > Regards. > > JD. > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4874 (20100217) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4874 (20100217) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
From: E®!k /!sser on 17 Feb 2010 09:57
Well this is rather easy. In the init (or postint if generated) of the sellwindow: LOCAL oMenu AS Menu oMenu := EmptyShellMenu{SELF} SELF:ToolBar := oMenu:ToolBar hth Erik "JD" <jdhora(a)ig.com.br> schreef in bericht news:43bf424e-5181-4523-8cae-689aecbd3442(a)v25g2000yqk.googlegroups.com... > Hi guys, > > Is it possible put only a toolbar in a shellwindow? Is there a way to > use the code generated by the editor menu and show only the tollbar? > > I would appreciate a lot if somebody could give me an small example or > aef. > > Thanks. |