Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

RE: how to automatically select the content of a field when a form appears?

$
0
0
Thanks Andrew, I’m using the IC617isr15, And I have tried the function hiSetCurrentField(), but it seems doesn’t work well at all times . Below is my major script, could you please help me to find the problem, thanks! procedure(myDisplayForm() one = hiCreateIntField(?name ‘one ?prompt “test number” ?value 1) ;two = ... hiCreateAppForm(?name ‘myForm ?prompt “My Form” ?fields list(one) ?button ‘OKCancel) hiDisplayForm(myForm) hiSetCurrentField(myForm ‘one) ) Type in myDisplayForm() in CIW. Regards, Dave

Viewing all articles
Browse latest Browse all 33813