Note that there are some explanatory texts on larger screens.

plurals
  1. POFlex Text input focus
    primarykey
    data
    text
    <p>On my Air app , I have 2 problems with focus. Indeed, when I try to move inside my form with tab key, order is not good. Second point, focus border is not visible even if cursor is in the text input.</p> <p>Find below part of code </p> <p>For moving with tab key</p> <pre><code>this.focusManager.activate(); this.focusManager.setFocus(this.fdNom); </code></pre> <p>My TextInput CSS</p> <pre><code> s|TextInput { focusColor: #33CC00; color : #343434; font-weight : normal; font-family: Helvetica ; font-size : 12; } </code></pre> <p>My form</p> <pre><code>&lt;s:Form x="0" y="94" id="foPerso" width="100%" height="100%" includeInLayout="true" includeIn="tb1" backgroundColor="#FFFFF"&gt; &lt;s:layout&gt; &lt;s:FormLayout gap="3" paddingLeft="0"/&gt; &lt;/s:layout&gt; &lt;s:HGroup width="100%" gap="3" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline" &gt; &lt;s:DropDownList id="cbQualite" dataProvider="{DP_PAT_CIVIL}" selectedItem="{getSelectedItem(DP_PAT_CIVIL, objectPatient.paQualPatient)}" change="objectPatient.paQualPatient = event.currentTarget.selectedItem.label"/&gt; &lt;s:FormItem label="Nom" &gt; &lt;s:TextInput id="fdNom" width="200" text="@{objectPatient.paNomU}" /&gt; &lt;/s:FormItem&gt; &lt;s:FormItem label="Prénom" &gt; &lt;s:TextInput id="fdPrenom" width="200" text="@{objectPatient.paPrenom}"/&gt; &lt;/s:FormItem&gt; &lt;s:DropDownList id="cbDossier1" dataProvider="{DP_PAT_DOS1}" width="118" height="22" tabIndex="3" change="objectPatient.paQualPatient = event.currentTarget.selectedItem.label" /&gt; &lt;s:FormItem label="" &gt; &lt;s:TextInput id="fDossier1" width="90" paddingRight="5" text="@{objectPatient.paDossier1}"/&gt; &lt;/s:FormItem&gt; &lt;/s:HGroup&gt; </code></pre> <p>My form is on custom TitleWindow component.</p> <p>Thanks for helping</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload