From: Rob on
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
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
Rob

Try these
SELF:EnableSystemMenu(FALSE)
SELF:EnableMinBox(FALSE)
SELF:EnableMaxBox(FALSE)

HTH
Steve


From: Rob on
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
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


 |  Next  |  Last
Pages: 1 2 3
Prev: bSample - DataBrowser
Next: Belgium Eid