Sliding Divider-Resizer Object

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Jan 8 10:49:50 EST 2009


Bonsoir Gregory,

Le 8 janv. 09 à 16:43, Gregory Lypny a écrit :

> I'd like to learn more about scripting interface objects and I was  
> wondering whether anyone has a script for one of those sliding  
> divider-resizing things like the one in Apple's Mail app that lets  
> you increase the size of the message list on top while decreasing  
> the size of the active message below.  I started dabbling with it,  
> and created a long, skinny button to be used as the divider.  The  
> first bit of my script was to change the cursor, but  
> embarrassingly, I ran into a wall because the following does  
> nothing except cause the default cursor to flicker rapidly.
>
> on mouseEnter
> 	set the cursor to hand
> end mouseEnter

Two thoughts:
1. If you don't lock the cursor after having set it, it returns  
instantly to the default cursor.
2. My tutorial 'How to Manage Stack Resizing' might help you: your  
exact case is in it :-)

You will access this tutorial through "Tutorials Picker" a free  
plugin that interfaces with the So Smart Software website in order to  
display all available tutorials stacks directly from the web.
You will find it by going to http://www.sosmartsoftware.com/
Revolution/Plugins or Tutorials section.


Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list