my problem is,and i have attach the photos for more accurate solution

i use this code for my screen rect..
Code: Select all
local inputID
on openCard
if environment() = "mobile" then
/* create the UITextField control and place its unique ID
into a local variable that I have called inputID */
iphoneControlCreate "input"
put the result into inputID
/* the bounds of the UITextField are determind by the bounds the rect of grc 2 */
iphoneControlSet inputID, "rect", the rect of grc 2
set the loc of group "myscroll" to 512,561
end if
end openCard
on keyboardActivated
set the visible of grp mygrp2 to false
move group "myscroll" to 512,200 in 100 millisecs
iphoneControlSet inputID, "rect", the rect of grc 2
end keyboardActivated
on keyboardDeactivated
move group "myscroll" to 512,561 in 200 millisecs
set the visible of grp mygrp2 to true
iphoneControlSet inputID, "rect", the rect of grc 2
end keyboardDeactivated
now the problem..
when i click in the green screen is flickering..

what i am do wrong?
i have try to group all the fields in the screen ,but the result was,when i click a every fld the screen move to the loc of group-1