Hi,
I'm trying to set Focus on the textbox on the offline form.
It seems setting HasFocus(True) works fine for online form,but not for offline form.
For offline form in Javascript I wrote as follows:
this.q_setProperty("Form.Fields.TEXTBOXA.HasFocus",True);
For online form I wrote like this:
#COM_OWNER.Set Property(TEXTBOXA.HasFocus) To(True)
Isn't it possible to set Focus on the textbox on the offline form?
Does anyone tried to set Focus on offline form?
I appreciate your kind advice.
Best Regards,
Megumi Sawada
HasFocus property for TextBox on offline form
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
-
MarcusLancaster
- Posts: 48
- Joined: Wed Nov 06, 2013 1:28 am
Re: HasFocus property for TextBox on offline form
Hi Megumi
I think the TRUE needs to be in double quotes.
this.q_setProperty("Form.Fields.TEXTBOXA.HasFocus","True");
Try that.
Marcus.
I think the TRUE needs to be in double quotes.
this.q_setProperty("Form.Fields.TEXTBOXA.HasFocus","True");
Try that.
Marcus.
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: HasFocus property for TextBox on offline form
Hi Marcus,
Oh!! It works!
I thought I have tried it and it didn't work then...it might be other problem there...
Thank you!
Megumi
Oh!! It works!
I thought I have tried it and it didn't work then...it might be other problem there...
Thank you!
Megumi