On Mon, Feb 28, 2011 at 6:10 AM, Dave Dawson
<[email protected]> wrote:

> Lesson learned - read the documentation properly and look at the examples.
>
> I've found ConnectSizeMoveEnded. I hope you read this before you take any
> time over my last mail.

No problem, I was going to point you at that.  The documentation is
far from complete at this point.

As to enforcing a minimum size for the window, the way you do that,
conceptually, is monitor the sizing event which is sent before the
size is actually changed.  One of the arguments to that event is a
rectangle specifying the new size of the window.  If the rectangle
specifies a size smaller than you want, you change the rectangle to
specify your smallest allowable size and return the rectangle to the
operating system.

Prior to 4.2.0, that was not possible in ooDialog because there was no
way to reply back to event notifications.  But, in 4.2.0, replying is
now possible.  However, it currently still can't be done because there
needs to be a connectResizing() method and some backing code to send
the Rexx dialog object the rectangle.  That shouldn't be too hard to
add, and I probably will add it.

--
Mark Miesfeld

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to