On 26 Feb 2006, at 13:07, Paul Young wrote:

In a new project, drag into Window1 a listbox and a pushbutton.

In PushButton1/Action put:

        ListBox1.Width = ListBox1.Width + 20

Each time you press the button, the listbox will widen by 20 pixels.

Doh!, sorry it's Sunday (brains day off), I'm doing that in my Preference window, with a PagePanel and
Toolbaritems, I just didn't think properly.

So I suppose if I want to reproduce the layout I mentioned, I would need to simply, add a new control object, say a canvas, with a dot image in the center, then do the resizing in the MouseDrag Event, so if it's to the left, then minimise, and if the mouse is moving to the right, then increase the size.

Thanks

Mark
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to