ResizeControl

Peter Haworth pete at mollysrevenge.com
Fri Dec 31 16:53:09 EST 2010


Thanks Richard.  I just submitted a note to the resizeControl  
dictionary entry.  However, I didn't know until I read your email that  
the resizeControl message is sent even when the resize happens by  
script - that's the opposite of what the dictionary says.  I don't  
mind submitting another dictionary note for that but want to check  
that it only applies to group resizing not resizing of any controls?

Pete Haworth

On Dec 31, 2010, at 1:41 PM, Richard Gaskin wrote:

> DunbarX wrote:
>
>> Why the messages is not passed along to the card, or why they are  
>> sent
>> continuously, is a mystery.
>
> For most of LC/Rev/MC's life, the resizeControl message was  
> consistently sent only after the user stopped performing a resize  
> action with the pointer tool.
>
> But in v3.5 RunRev introduced behaviors and some new enhancements to  
> group objects to allow folks to make custom controls like the  
> DataGrid.
>
> In addition to being sent continuously as the control is resized (to  
> allow your custom control to adjust its contents), that message is  
> also sent to the control whenever it's resized by any means, such as  
> a script adjusting its rect, rather than strictly when the user is  
> interacting with it using the pointer tool.
>
> Useful as these enhancements are, it seems they're described only in  
> the engine change log and the Dictionary entry for the resizeControl  
> message hasn't been updated.
>
> Anyone here got time to either add a user comment to that entry and/ 
> or file a documentation bug report at the RQCC?
>
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list