|
Prev: bSample - DataBrowser
Next: Belgium Eid
From: Rob on 28 Sep 2005 21:45 Hi, I want to disable the "restore down" control on a datawaindow that is instantiated using owin:show:"SHOWZOOMED". Tried using owin:enablerestbox(FALSE) but it tells me "Enablerestbox is not a method of class MAIN". Main is my datawindow. Anyone any ideas? -- Rob Grattan R&D Software, Australia robGETRIDOFTHIS(a)ANDTHISrndsoftware.com.au
From: Rob on 28 Sep 2005 22:04 OOOPs - (SHOWZOOMED) of course... "Rob" <robREMOVETHID(a)ANDTHISrndsoftware.com.au> wrote in message news:EGH_e.229$U51.100(a)news-server.bigpond.net.au...
From: Stephen Quinn on 28 Sep 2005 22:08 Rob Try these SELF:EnableSystemMenu(FALSE) SELF:EnableMinBox(FALSE) SELF:EnableMaxBox(FALSE) HTH Steve
From: Rob on 28 Sep 2005 22:37 Steve, Thanks for that. The trouble is, when you show(SHOWZOOMED), you get a Minimize, Restore Down, and a Close Control. So you don't get a MaxBox to disable. The "EnableSystemMenu(FALSE)" disables the Minimize and Close, but doesn't touch the "Restore Down". the "EnableMinBox(FALSE)" works as you would expect. It's that 'Restore down' control that I'd like to get at! Baffling.... "Stephen Quinn" <steveq(a)NOSPAMsherlock.com.au> wrote in message news:433b4c90$1(a)news.comindico.com.au... > Rob > > Try these > SELF:EnableSystemMenu(FALSE) > SELF:EnableMinBox(FALSE) > SELF:EnableMaxBox(FALSE) > > HTH > Steve > >
From: Stephen Quinn on 29 Sep 2005 02:47
Rob We only use SHOWNORMAL (and that only in 2 places) in the app - can't say I ever seen the 'Restore down' control We disable all those thingys on the window (other than the shellwindow) and use a 'Close' button on each window. HTH Steve |