Code: Select all
repeat for each field of this card // this line is incorrect..?
if the short name of me is "label"
set the textsize of me to the textsize of me + 10
end repeat
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
repeat for each field of this card // this line is incorrect..?
if the short name of me is "label"
set the textsize of me to the textsize of me + 10
end repeat
Code: Select all
repeat with x=1 to the number of fields of this card
if the short name of field x is "label" then
set the textsize of field x to the textsize of field x + 10
end if
end repeat
Code: Select all
on openCard
put iphoneDeviceResolution() into tScreenResolution
put item 2 of tScreenResolution into tScreenheight
wait 10 ticks with messages // seems to only work with this waiting time
if tScreenheight is 1136 then
repeat with x=1 to the number of fields of this card
if the short name of field x is "label" then
set the textsize of field x to the textsize of field x + 10
set the height of field x to the height of field x + 10
end if
end repeat
end if
end openCard