Allowing user to change size and location of a field

Glen Bojsza gbojsza at gmail.com
Wed Mar 7 17:58:24 EST 2012


For now I can check the height with the formattedHeight after the user has
resized the field and take action appropriately.

thanks,

Glen

On Wed, Mar 7, 2012 at 3:39 PM, <dunbarx at aol.com> wrote:

>
> What Jacque is saying is to load the formatted height, maybe into a custom
> property, right after you resize. Then, as the user types, check the
> current formattedheight, at each keystroke, and if it exceeds the initial
> value, disallow that text entry.
>
>
> I played around with this too, etting a custom property to the
> formattedHeight upon resizing, but ran up against a wall if the field is
> made smaller. Then the text already is too full for it.
>
>
> Jacque will find a way, though.
>
>
> Craig Newman
>
>
>



More information about the use-livecode mailing list