Page 1 of 1

Editfield resizible from User

Posted: Tue Jul 03, 2007 11:04 pm
by haribo
Hi,
is there any way to make the fields from user resizible??????

another question, small field in another field, okay no problem, but the small field dont appears in printer, any ideas.
Ralle

Posted: Wed Jul 04, 2007 6:08 pm
by kpeters
Ralle ~

there are quite few ways to achieve that:

The one I prefer is to define a hotkey toggle to put the field into 'resize mode' (use functionKey or one of the related functions in a script for the field in question) . You then detect the cursor-left/cursor-right keys (using the arrowKey function) and widen or shrink the field in small steps (by changing the field's width property). When done, the user presses the hotkey again to turn off the 'resize mode'.

Of course, it can also be done with the mouse but size control that way tends to be inaccurate and tougher for the user.

HTH,
Kai