Programmatic Fit Content?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Programmatic Fit Content?
Is there a programmatic way to change a field size to the appropriate height and width for my dyanmic content? I don't want it to be any larger than it has to as it will have actions associated with it for a mobile screen size.
Re: Programmatic Fit Content?
Hi Steve,
Does:
set the width of fld 1 to the formattedWidth of fld 1
set the height of fld 1 to the formattedHeight of fld 1
Help you?
Maybe it's just:
set the rect of fld 1 to the formattedRect of fld 1
Simon
Does:
set the width of fld 1 to the formattedWidth of fld 1
set the height of fld 1 to the formattedHeight of fld 1
Help you?
Maybe it's just:
set the rect of fld 1 to the formattedRect of fld 1
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Programmatic Fit Content?
Perfect. Simon, you're awesome.