Re: Problem with resizeControl

2011-11-20 Thread René Micout
Thank you Richard ! I ignored this property... Bon souvenir de Paris René Le 19 nov. 2011 à 18:05, Richard Gaskin a écrit : > One thing I've found making custom controls from groups in LC is a bit > non-obvious but makes sense one you use it: > > on resizeControl > -- do stuff > > -- then: >

Re: Problem with resizeControl

2011-11-19 Thread Richard Gaskin
One thing I've found making custom controls from groups in LC is a bit non-obvious but makes sense one you use it: on resizeControl -- do stuff -- then: set the boundingRect of me to the rect of me end resizeControl The boundingRect property determines the working space of the group, in

Re: Problem with resizeControl

2011-11-19 Thread René Micout
Thank you Jacque, I think I will solve my problem with this remark! Simple, but sometimes we dont see what we have in front of our nose... Thank you again :-) René Le 17 nov. 2011 à 21:15, J. Landman Gay a écrit : > On 11/17/11 1:23 PM, René Micout wrote: >> I think it is not possible... >> I thi

Re: Problem with resizeControl

2011-11-17 Thread J. Landman Gay
On 11/17/11 1:23 PM, René Micout wrote: I think it is not possible... I think I do place other object in the group, place object at the edge of the group and resize the button in relation with this new object (the left of the button = the right of the new object)... Something like that... It is

Re: Problem with resizeControl

2011-11-17 Thread René Micout
I think it is not possible... I think I do place other object in the group, place object at the edge of the group and resize the button in relation with this new object (the left of the button = the right of the new object)... Something like that... It is to late this evening (yes it is night in

Re: Problem with resizeControl

2011-11-17 Thread René Micout
Sorry Scott, not better... :-( Le 17 nov. 2011 à 19:33, Scott Rossi a écrit : > You might try setting the margins of the group to 0. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, René Micout wrote: > >> Hello, >> I have a problem (simple but..

Re: Problem with resizeControl

2011-11-17 Thread Scott Rossi
You might try setting the margins of the group to 0. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, René Micout wrote: > Hello, > I have a problem (simple but...) : > 2 buttons (button 1 and button 2), with these 2 buttons I made a group. > The script of the group i

Problem with resizeControl

2011-11-17 Thread René Micout
Hello, I have a problem (simple but...) : 2 buttons (button 1 and button 2), with these 2 buttons I made a group. The script of the group is : on resizeControl set the width of btn "Button 1" to (the width of me)-30 end resizeControl When I resize the group it is OK but when I release the mouse