Virtual keyboard in wrong place

My keyboard keeps popping up in the top middle of the screen no matter which orientation I use, I have rebooted several times this does not help, close out all my apps and does not help, all apps experience this problem so lastly I just did a full restore and the sync from backup and it STILL does it, this must be a setting but I cannot find it. I have uploaded a picture to show the issue. Thank you so much for your help guys.

If you press and hold the hide keyboard button in the bottom right of the virtual keyboard you will get a pop up that says Dock or Split, press the dock option and the virtual keyboard will return to the bottom of the screen.

Similar Messages

  • How do I implement a virtual keyboard?  I will compensate for assistance.

    I have created a simple Adobe Air Windowed Application.  The application uses the mx:HTML controls to load a web page inside my application.  I have tried other means to load the web page but due to formatting issue, all other methods fail to load the page correctly.  Any solution will need to use the mx HTML controls.
    I have added a virtual keyboard to my project.  However, when I enter a text field and then select a key on the virtual keyboard, I lose focus on the text field.
    I understand the concept of event listeners and using a variable to store the text field id and using a focus event to gain the id of the text field.  However, I am not a programmer by no means and this is way above my head.  I am looking for someone to spend 30 or 60 minutes adding the needed code to my project so I can use the virtual keyboard.  I would be willing to send someone a gift card to their favorite restaurant as compensation.
    I have included the 4 files that make up my project (File names are in read text).
    Your help will be greatly appreciated.
    Best regards,
    Joe
    Main.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                                 xmlns:s="library://ns.adobe.com/flex/spark"
                                                 xmlns:mx="library://ns.adobe.com/flex/mx"
                                                 xmlns:components="com.uibuzz.components.*"
                                                 xmlns:local="*"
                                                 xmlns:keyboard=".*"
                                                 xmlns:panel=".*"
                                                 showStatusBar="false"
                                                 alwaysInFront="true"
                                                 creationComplete="RunFunction(event)">
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  protected function RunFunction(event:FlexEvent):void
                                            nativeWindow.x = (Capabilities.screenResolutionX - nativeWindow.width) / 2;
                                            nativeWindow.y = (Capabilities.screenResolutionY - nativeWindow.height) / 2;
                                            // Mouse.hide();
                                            html.location = 'https://google.com';
                        ]]>
              </fx:Script>
              <fx:Script>
                        <![CDATA[
                                  // Virtual Keyboard
                                  import com.uibuzz.events.VirtualKeyboardEvent;
                                  protected function HandleKeyEvent(event:VirtualKeyboardEvent):void
                                            trace("Key pressed: " + event.keyLabel);
                        ]]>
              </fx:Script>
              <mx:HTML id="html"
                        paintsDefaultBackground="false"
                        width="100%"
                        height="100%" x="0" y="0"/>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
    <components:VirtualKeyboard x="325" y="770" KeyClicked="HandleKeyEvent(event)"/>
    </s:WindowedApplication>
    Main-app.aml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    <!-- Adobe AIR Application Descriptor File Template.
              Specifies parameters for identifying, installing, and launching AIR applications.
              xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
                                  The last segment of the namespace specifies the version
                                  of the AIR runtime required for this application to run.
              minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                                  the application. Optional.
    -->
              <!-- A universally unique application identifier. Must be unique across all AIR applications.
              Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
              <id>Main</id>
              <!-- Used as the filename for the application. Required. -->
              <filename>Virtual Keyboard</filename>
              <!-- The name that is displayed in the AIR application installer.
              May have multiple values for each language. See samples or xsd schema file. Optional. -->
              <name></name>
              <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
              Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
              An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
              <versionNumber>1.0.0</versionNumber>
              <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
              <!-- <versionLabel></versionLabel> -->
              <!-- Description, displayed in the AIR application installer.
              May have multiple values for each language. See samples or xsd schema file. Optional. -->
              <!-- <description></description> -->
              <!-- Copyright information. Optional -->
              <!-- <copyright></copyright> -->
              <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
              <!-- <publisherID></publisherID> -->
              <!-- Settings for the application's initial window. Required. -->
              <initialWindow>
                        <!-- The main SWF or HTML file of the application. Required. -->
                        <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
                        <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
                        <!-- The title of the main window. Optional. -->
                        <!-- <title></title> -->
                        <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
              <systemChrome>none</systemChrome>
                        <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
              <transparent>false</transparent>
                        <!-- Whether the window is initially visible. Optional. Default false. -->
              <visible>false</visible>
                        <!-- Whether the user can minimize the window. Optional. Default true. -->
              <minimizable>false</minimizable>
                        <!-- Whether the user can maximize the window. Optional. Default true. -->
              <maximizable>false</maximizable>
                        <!-- Whether the user can resize the window. Optional. Default true. -->
              <resizable>false</resizable>
                        <!-- The window's initial width in pixels. Optional. -->
              <width>1280</width>
                        <!-- The window's initial height in pixels. Optional. -->
              <height>1024</height>
                        <!-- The window's initial x position. Optional. -->
                        <!-- <x></x> -->
                        <!-- The window's initial y position. Optional. -->
                        <!-- <y></y> -->
                        <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
              <minSize>1280 1024</minSize>
              <!-- <minSize>1024 768</minSize> -->
                        <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
              <maxSize>1280 1024</maxSize>
              <!-- <maxSize>1024 768</maxSize> -->
              </initialWindow>
              <!-- We recommend omitting the supportedProfiles element, -->
              <!-- which in turn permits your application to be deployed to all -->
              <!-- devices supported by AIR. If you wish to restrict deployment -->
              <!-- (i.e., to only mobile devices) then add this element and list -->
              <!-- only the profiles which your application does support. -->
              <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
              <!-- The subpath of the standard default installation location to use. Optional. -->
              <!-- <installFolder></installFolder> -->
              <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
              <!-- <programMenuFolder></programMenuFolder> -->
              <!-- The icon the system uses for the application. For at least one resolution,
              specify the path to a PNG file included in the AIR package. Optional. -->
              <!-- <icon>
                        <image16x16></image16x16>
                        <image32x32></image32x32>
                        <image36x36></image36x36>
                        <image48x48></image48x48>
                        <image72x72></image72x72>
                        <image128x128></image128x128>
              </icon> -->
              <!-- Whether the application handles the update when a user double-clicks an update version
              of the AIR file (true), or the default AIR application installer handles the update (false).
              Optional. Default false. -->
              <!-- <customUpdateUI></customUpdateUI> -->
              <!-- Whether the application can be launched when the user clicks a link in a web browser.
              Optional. Default false. -->
              <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
              <!-- Listing of file types for which the application can register. Optional. -->
              <!-- <fileTypes> -->
                        <!-- Defines one file type. Optional. -->
                        <!-- <fileType> -->
                                  <!-- The name that the system displays for the registered file type. Required. -->
                                  <!-- <name></name> -->
                                  <!-- The extension to register. Required. -->
                                  <!-- <extension></extension> -->
                                  <!-- The description of the file type. Optional. -->
                                  <!-- <description></description> -->
                                  <!-- The MIME content type. -->
                                  <!-- <contentType></contentType> -->
                                  <!-- The icon to display for the file type. Optional. -->
                                  <!-- <icon>
                                            <image16x16></image16x16>
                                            <image32x32></image32x32>
                                            <image48x48></image48x48>
                                            <image128x128></image128x128>
                                  </icon> -->
                        <!-- </fileType> -->
              <!-- </fileTypes> -->
              <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
              <!--<android>
                        <manifestAdditions>
                        <![CDATA[
                                  <manifest android:installLocation="auto">
                                            <uses-permission android:name="android.permission.INTERNET"/>
                                            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
                                            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
                                            <uses-configuration android:reqFiveWayNav="true"/>
                                            <supports-screens android:normalScreens="true"/>
                                            <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                                            <application android:enabled="true">
                                                      <activity android:excludeFromRecents="false">
                                                                <intent-filter>
                                                                          <action android:name="android.intent.action.MAIN"/>
                                                                          <category android:name="android.intent.category.LAUNCHER"/>
                                                                </intent-filter>
                                                      </activity>
                                            </application>
                                  </manifest>
                        ]]>
                        </manifestAdditions>
              </android> -->
              <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
    </application>
    VirtualKeyboardEvent.as
    package com.uibuzz.events
        import flash.events.Event;
        public class VirtualKeyboardEvent extends Event
            public var keyLabel:String;
            public function VirtualKeyboardEvent(type:String)
                super(type);
            override public function clone():Event
                var eventObj:VirtualKeyboardEvent = new VirtualKeyboardEvent(type);
                eventObj.keyLabel = this.keyLabel;
                return eventObj;
    VirtualKeyboard.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/mx"
             width="610" height="215" currentState="Lowercase">
              <s:layout>
                        <s:BasicLayout/>
              </s:layout>
        <fx:Metadata>
            [Event(name="KeyClicked", type="com.uibuzz.events.VirtualKeyboardEvent")]
        </fx:Metadata>
        <fx:Script>
            <![CDATA[
                import com.uibuzz.events.VirtualKeyboardEvent;
                protected function handleShiftButton(event:MouseEvent):void
                    if (this.currentState == "Lowercase")
                        this.currentState = "Uppercase";
                    else
                        this.currentState = "Lowercase";
                protected function handleButtonClick(event:MouseEvent):void
                    var e:VirtualKeyboardEvent = new VirtualKeyboardEvent("KeyClicked");
                    e.keyLabel = event.currentTarget.label;
                    dispatchEvent(e);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="Lowercase"/>
            <s:State name="Uppercase"/>
        </s:states>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
        <s:Button id="btn1" x="50" y="10" width="32" height="32" label="1"
                  click="handleButtonClick(event)"
                  label.Uppercase="!"/>
        <s:Button id="btnTilde" x="10" y="10" width="32" height="32" label="`"
                  click="handleButtonClick(event)"
                  label.Uppercase="~"/>
        <s:Button id="btn2" x="90" y="10" width="32" height="32" label="2"
                  click="handleButtonClick(event)"
                  label.Uppercase="@" fontSize.Uppercase="11"/>
        <s:Button id="btn3" x="130" y="10" width="32" height="32" label="3"
                  click="handleButtonClick(event)"
                  label.Uppercase="#"/>
        <s:Button id="btn4" x="170" y="10" width="32" height="32" label="4"
                  click="handleButtonClick(event)"
                  label.Uppercase="$"/>
        <s:Button id="btn5" x="210" y="10" width="32" height="32" label="5"
                  click="handleButtonClick(event)"
                  label.Uppercase="%"/>
        <s:Button id="btn6" x="250" y="10" width="32" height="32" label="6"
                  click="handleButtonClick(event)"
                  label.Uppercase="^"/>
        <s:Button id="btn7" x="290" y="10" width="32" height="32" label="7"
                  click="handleButtonClick(event)"
                  label.Uppercase="&amp;"/>
        <s:Button id="btn8" x="330" y="10" width="32" height="32" label="8"
                  click="handleButtonClick(event)"
                  label.Uppercase="*"/>
        <s:Button id="btn9" x="370" y="10" width="32" height="32" label="9"
                  click="handleButtonClick(event)"
                  label.Uppercase="("/>
        <s:Button id="btn0" x="410" y="10" width="32" height="32" label="0"
                  click="handleButtonClick(event)"
                  label.Uppercase=")"/>
        <s:Button id="btnMinus" x="450" y="10" width="32" height="32" label="-"
                  click="handleButtonClick(event)"
                  label.Uppercase="_"/>
        <s:Button id="btnEquals" x="490" y="10" width="32" height="32" label="="
                  click="handleButtonClick(event)"
                  label.Uppercase="+"/>
        <s:Button id="btnDelete" x="530" y="10" width="70" height="32" label="Delete" click="handleButtonClick(event)"/>
        <s:Button id="btnEnter" x="530" y="90" width="70" height="32" label="Enter" click="handleButtonClick(event)"/>
        <s:Button id="btnRightShift" x="510" y="130" width="70" height="32" label="Shift"
                  click="handleShiftButton(event)"/>
        <s:Button id="btnLeftShift" x="30" y="130" width="70" height="32" label="Shift"
                  click="handleShiftButton(event)"/>
        <s:Button id="btnTab" x="10" y="50" width="50" height="32" label="Tab" click="handleButtonClick(event)"/>
        <s:Button id="btnQ" x="70" y="50" width="32" height="32" label="q"
                  click="handleButtonClick(event)"
                  label.Uppercase="Q"/>
        <s:Button id="btnW" x="110" y="50" width="32" height="32" label="w"
                  click="handleButtonClick(event)"
                  label.Uppercase="W"/>
        <s:Button id="btnE" x="150" y="50" width="32" height="32" label="e"
                  click="handleButtonClick(event)"
                  label.Uppercase="E"/>
        <s:Button id="btnR" x="190" y="50" width="32" height="32" label="r"
                  click="handleButtonClick(event)"
                  label.Uppercase="R"/>
        <s:Button id="btnT" x="230" y="50" width="32" height="32" label="t"
                  click="handleButtonClick(event)"
                  label.Uppercase="T"/>
        <s:Button id="btnY" x="270" y="50" width="32" height="32" label="y"
                  click="handleButtonClick(event)"
                  label.Uppercase="Y"/>
        <s:Button id="btnU" x="310" y="50" width="32" height="32" label="u"
                  click="handleButtonClick(event)"
                  label.Uppercase="U"/>
        <s:Button id="btnI" x="350" y="50" width="32" height="32" label="i"
                  click="handleButtonClick(event)"
                  label.Uppercase="I"/>
        <s:Button id="btnO" x="390" y="50" width="32" height="32" label="o"
                  click="handleButtonClick(event)"
                  label.Uppercase="O"/>
        <s:Button id="btnP" x="430" y="50" width="32" height="32" label="p"
                  click="handleButtonClick(event)"
                  label.Uppercase="P"/>
        <s:Button id="btnLeftBracket" x="470" y="50" width="32" height="32" label="["
                  click="handleButtonClick(event)"
                  label.Uppercase="{"/>
        <s:Button id="btnRightBracket" x="510" y="50" width="32" height="32" label="]"
                  click="handleButtonClick(event)"
                  label.Uppercase="}"/>
        <s:Button id="btnBackSlash" x="550" y="50" width="32" height="32" label="\"
                  click="handleButtonClick(event)"
                  label.Uppercase="|"/>
        <s:Button id="btnA" x="90" y="90" width="32" height="32" label="a"
                  click="handleButtonClick(event)"
                  label.Uppercase="A"/>
        <s:Button id="btnS" x="130" y="90" width="32" height="32" label="s"
                  click="handleButtonClick(event)"
                  label.Uppercase="S"/>
        <s:Button id="btnD" x="170" y="90" width="32" height="32" label="d"
                  click="handleButtonClick(event)"
                  label.Uppercase="D"/>
        <s:Button id="btnF" x="210" y="90" width="32" height="32" label="f"
                  click="handleButtonClick(event)"
                  label.Uppercase="F"/>
        <s:Button id="btnG" x="250" y="90" width="32" height="32" label="g"
                  click="handleButtonClick(event)"
                  label.Uppercase="G"/>
        <s:Button id="btnH" x="290" y="90" width="32" height="32" label="h"
                  click="handleButtonClick(event)"
                  label.Uppercase="H"/>
        <s:Button id="btnJ" x="330" y="90" width="32" height="32" label="j"
                  click="handleButtonClick(event)"
                  label.Uppercase="J"/>
        <s:Button id="btnK" x="370" y="90" width="32" height="32" label="k"
                  click="handleButtonClick(event)"
                  label.Uppercase="K"/>
        <s:Button id="btnL" x="410" y="90" width="32" height="32" label="l"
                  click="handleButtonClick(event)"
                  label.Uppercase="L"/>
        <s:Button id="btnSemiColon" x="450" y="90" width="32" height="32" label=";"
                  click="handleButtonClick(event)"
                  label.Uppercase=":"/>
        <s:Button id="btnQuote" x="490" y="90" width="32" height="32" label="'"
                  click="handleButtonClick(event)"
                  label.Uppercase="&quot;"/>
        <s:Button id="btnZ" x="110" y="130" width="32" height="32" label="z"
                  click="handleButtonClick(event)"
                  label.Uppercase="Z"/>
        <s:Button id="btnX" x="150" y="130" width="32" height="32" label="x"
                  click="handleButtonClick(event)"
                  label.Uppercase="X"/>
        <s:Button id="btnC" x="190" y="130" width="32" height="32" label="c"
                  click="handleButtonClick(event)"
                  label.Uppercase="C"/>
        <s:Button id="btnV" x="230" y="130" width="32" height="32" label="v"
                  click="handleButtonClick(event)"
                  label.Uppercase="V"/>
        <s:Button id="btnB" x="270" y="130" width="32" height="32" label="b"
                  click="handleButtonClick(event)"
                  label.Uppercase="B"/>
        <s:Button id="btnSpace" x="150" y="170" width="272" height="32" label="Space" click="handleButtonClick(event)"/>
        <s:Button id="btnN" x="310" y="130" width="32" height="32" label="n"
                  click="handleButtonClick(event)"
                  label.Uppercase="N"/>
        <s:Button id="btnM" x="350" y="130" width="32" height="32" label="m"
                  click="handleButtonClick(event)"
                  label.Uppercase="M"/>
        <s:Button id="btnComma" x="390" y="130" width="32" height="32" label=","
                  click="handleButtonClick(event)"
                  label.Uppercase="&lt;"/>
        <s:Button id="btnStop" x="430" y="130" width="32" height="32" label="."
                  click="handleButtonClick(event)"
                  label.Uppercase="&gt;"/>
        <s:Button id="btnForwardSlash" x="470" y="130" width="32" height="32" label="/"
                  click="handleButtonClick(event)"
                  label.Uppercase="?"/>
    </s:Group>

    I have created a simple Adobe Air Windowed Application.  The application uses the mx:HTML controls to load a web page inside my application.  I have tried other means to load the web page but due to formatting issue, all other methods fail to load the page correctly.  Any solution will need to use the mx HTML controls.
    I have added a virtual keyboard to my project.  However, when I enter a text field and then select a key on the virtual keyboard, I lose focus on the text field.
    I understand the concept of event listeners and using a variable to store the text field id and using a focus event to gain the id of the text field.  However, I am not a programmer by no means and this is way above my head.  I am looking for someone to spend 30 or 60 minutes adding the needed code to my project so I can use the virtual keyboard.  I would be willing to send someone a gift card to their favorite restaurant as compensation.
    I have included the 4 files that make up my project (File names are in read text).
    Your help will be greatly appreciated.
    Best regards,
    Joe
    Main.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                                 xmlns:s="library://ns.adobe.com/flex/spark"
                                                 xmlns:mx="library://ns.adobe.com/flex/mx"
                                                 xmlns:components="com.uibuzz.components.*"
                                                 xmlns:local="*"
                                                 xmlns:keyboard=".*"
                                                 xmlns:panel=".*"
                                                 showStatusBar="false"
                                                 alwaysInFront="true"
                                                 creationComplete="RunFunction(event)">
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  protected function RunFunction(event:FlexEvent):void
                                            nativeWindow.x = (Capabilities.screenResolutionX - nativeWindow.width) / 2;
                                            nativeWindow.y = (Capabilities.screenResolutionY - nativeWindow.height) / 2;
                                            // Mouse.hide();
                                            html.location = 'https://google.com';
                        ]]>
              </fx:Script>
              <fx:Script>
                        <![CDATA[
                                  // Virtual Keyboard
                                  import com.uibuzz.events.VirtualKeyboardEvent;
                                  protected function HandleKeyEvent(event:VirtualKeyboardEvent):void
                                            trace("Key pressed: " + event.keyLabel);
                        ]]>
              </fx:Script>
              <mx:HTML id="html"
                        paintsDefaultBackground="false"
                        width="100%"
                        height="100%" x="0" y="0"/>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
    <components:VirtualKeyboard x="325" y="770" KeyClicked="HandleKeyEvent(event)"/>
    </s:WindowedApplication>
    Main-app.aml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    <!-- Adobe AIR Application Descriptor File Template.
              Specifies parameters for identifying, installing, and launching AIR applications.
              xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
                                  The last segment of the namespace specifies the version
                                  of the AIR runtime required for this application to run.
              minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                                  the application. Optional.
    -->
              <!-- A universally unique application identifier. Must be unique across all AIR applications.
              Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
              <id>Main</id>
              <!-- Used as the filename for the application. Required. -->
              <filename>Virtual Keyboard</filename>
              <!-- The name that is displayed in the AIR application installer.
              May have multiple values for each language. See samples or xsd schema file. Optional. -->
              <name></name>
              <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
              Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
              An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
              <versionNumber>1.0.0</versionNumber>
              <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
              <!-- <versionLabel></versionLabel> -->
              <!-- Description, displayed in the AIR application installer.
              May have multiple values for each language. See samples or xsd schema file. Optional. -->
              <!-- <description></description> -->
              <!-- Copyright information. Optional -->
              <!-- <copyright></copyright> -->
              <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
              <!-- <publisherID></publisherID> -->
              <!-- Settings for the application's initial window. Required. -->
              <initialWindow>
                        <!-- The main SWF or HTML file of the application. Required. -->
                        <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
                        <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
                        <!-- The title of the main window. Optional. -->
                        <!-- <title></title> -->
                        <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
              <systemChrome>none</systemChrome>
                        <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
              <transparent>false</transparent>
                        <!-- Whether the window is initially visible. Optional. Default false. -->
              <visible>false</visible>
                        <!-- Whether the user can minimize the window. Optional. Default true. -->
              <minimizable>false</minimizable>
                        <!-- Whether the user can maximize the window. Optional. Default true. -->
              <maximizable>false</maximizable>
                        <!-- Whether the user can resize the window. Optional. Default true. -->
              <resizable>false</resizable>
                        <!-- The window's initial width in pixels. Optional. -->
              <width>1280</width>
                        <!-- The window's initial height in pixels. Optional. -->
              <height>1024</height>
                        <!-- The window's initial x position. Optional. -->
                        <!-- <x></x> -->
                        <!-- The window's initial y position. Optional. -->
                        <!-- <y></y> -->
                        <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
              <minSize>1280 1024</minSize>
              <!-- <minSize>1024 768</minSize> -->
                        <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
              <maxSize>1280 1024</maxSize>
              <!-- <maxSize>1024 768</maxSize> -->
              </initialWindow>
              <!-- We recommend omitting the supportedProfiles element, -->
              <!-- which in turn permits your application to be deployed to all -->
              <!-- devices supported by AIR. If you wish to restrict deployment -->
              <!-- (i.e., to only mobile devices) then add this element and list -->
              <!-- only the profiles which your application does support. -->
              <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
              <!-- The subpath of the standard default installation location to use. Optional. -->
              <!-- <installFolder></installFolder> -->
              <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
              <!-- <programMenuFolder></programMenuFolder> -->
              <!-- The icon the system uses for the application. For at least one resolution,
              specify the path to a PNG file included in the AIR package. Optional. -->
              <!-- <icon>
                        <image16x16></image16x16>
                        <image32x32></image32x32>
                        <image36x36></image36x36>
                        <image48x48></image48x48>
                        <image72x72></image72x72>
                        <image128x128></image128x128>
              </icon> -->
              <!-- Whether the application handles the update when a user double-clicks an update version
              of the AIR file (true), or the default AIR application installer handles the update (false).
              Optional. Default false. -->
              <!-- <customUpdateUI></customUpdateUI> -->
              <!-- Whether the application can be launched when the user clicks a link in a web browser.
              Optional. Default false. -->
              <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
              <!-- Listing of file types for which the application can register. Optional. -->
              <!-- <fileTypes> -->
                        <!-- Defines one file type. Optional. -->
                        <!-- <fileType> -->
                                  <!-- The name that the system displays for the registered file type. Required. -->
                                  <!-- <name></name> -->
                                  <!-- The extension to register. Required. -->
                                  <!-- <extension></extension> -->
                                  <!-- The description of the file type. Optional. -->
                                  <!-- <description></description> -->
                                  <!-- The MIME content type. -->
                                  <!-- <contentType></contentType> -->
                                  <!-- The icon to display for the file type. Optional. -->
                                  <!-- <icon>
                                            <image16x16></image16x16>
                                            <image32x32></image32x32>
                                            <image48x48></image48x48>
                                            <image128x128></image128x128>
                                  </icon> -->
                        <!-- </fileType> -->
              <!-- </fileTypes> -->
              <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
              <!--<android>
                        <manifestAdditions>
                        <![CDATA[
                                  <manifest android:installLocation="auto">
                                            <uses-permission android:name="android.permission.INTERNET"/>
                                            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
                                            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
                                            <uses-configuration android:reqFiveWayNav="true"/>
                                            <supports-screens android:normalScreens="true"/>
                                            <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                                            <application android:enabled="true">
                                                      <activity android:excludeFromRecents="false">
                                                                <intent-filter>
                                                                          <action android:name="android.intent.action.MAIN"/>
                                                                          <category android:name="android.intent.category.LAUNCHER"/>
                                                                </intent-filter>
                                                      </activity>
                                            </application>
                                  </manifest>
                        ]]>
                        </manifestAdditions>
              </android> -->
              <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
    </application>
    VirtualKeyboardEvent.as
    package com.uibuzz.events
        import flash.events.Event;
        public class VirtualKeyboardEvent extends Event
            public var keyLabel:String;
            public function VirtualKeyboardEvent(type:String)
                super(type);
            override public function clone():Event
                var eventObj:VirtualKeyboardEvent = new VirtualKeyboardEvent(type);
                eventObj.keyLabel = this.keyLabel;
                return eventObj;
    VirtualKeyboard.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/mx"
             width="610" height="215" currentState="Lowercase">
              <s:layout>
                        <s:BasicLayout/>
              </s:layout>
        <fx:Metadata>
            [Event(name="KeyClicked", type="com.uibuzz.events.VirtualKeyboardEvent")]
        </fx:Metadata>
        <fx:Script>
            <![CDATA[
                import com.uibuzz.events.VirtualKeyboardEvent;
                protected function handleShiftButton(event:MouseEvent):void
                    if (this.currentState == "Lowercase")
                        this.currentState = "Uppercase";
                    else
                        this.currentState = "Lowercase";
                protected function handleButtonClick(event:MouseEvent):void
                    var e:VirtualKeyboardEvent = new VirtualKeyboardEvent("KeyClicked");
                    e.keyLabel = event.currentTarget.label;
                    dispatchEvent(e);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="Lowercase"/>
            <s:State name="Uppercase"/>
        </s:states>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
        <s:Button id="btn1" x="50" y="10" width="32" height="32" label="1"
                  click="handleButtonClick(event)"
                  label.Uppercase="!"/>
        <s:Button id="btnTilde" x="10" y="10" width="32" height="32" label="`"
                  click="handleButtonClick(event)"
                  label.Uppercase="~"/>
        <s:Button id="btn2" x="90" y="10" width="32" height="32" label="2"
                  click="handleButtonClick(event)"
                  label.Uppercase="@" fontSize.Uppercase="11"/>
        <s:Button id="btn3" x="130" y="10" width="32" height="32" label="3"
                  click="handleButtonClick(event)"
                  label.Uppercase="#"/>
        <s:Button id="btn4" x="170" y="10" width="32" height="32" label="4"
                  click="handleButtonClick(event)"
                  label.Uppercase="$"/>
        <s:Button id="btn5" x="210" y="10" width="32" height="32" label="5"
                  click="handleButtonClick(event)"
                  label.Uppercase="%"/>
        <s:Button id="btn6" x="250" y="10" width="32" height="32" label="6"
                  click="handleButtonClick(event)"
                  label.Uppercase="^"/>
        <s:Button id="btn7" x="290" y="10" width="32" height="32" label="7"
                  click="handleButtonClick(event)"
                  label.Uppercase="&amp;"/>
        <s:Button id="btn8" x="330" y="10" width="32" height="32" label="8"
                  click="handleButtonClick(event)"
                  label.Uppercase="*"/>
        <s:Button id="btn9" x="370" y="10" width="32" height="32" label="9"
                  click="handleButtonClick(event)"
                  label.Uppercase="("/>
        <s:Button id="btn0" x="410" y="10" width="32" height="32" label="0"
                  click="handleButtonClick(event)"
                  label.Uppercase=")"/>
        <s:Button id="btnMinus" x="450" y="10" width="32" height="32" label="-"
                  click="handleButtonClick(event)"
                  label.Uppercase="_"/>
        <s:Button id="btnEquals" x="490" y="10" width="32" height="32" label="="
                  click="handleButtonClick(event)"
                  label.Uppercase="+"/>
        <s:Button id="btnDelete" x="530" y="10" width="70" height="32" label="Delete" click="handleButtonClick(event)"/>
        <s:Button id="btnEnter" x="530" y="90" width="70" height="32" label="Enter" click="handleButtonClick(event)"/>
        <s:Button id="btnRightShift" x="510" y="130" width="70" height="32" label="Shift"
                  click="handleShiftButton(event)"/>
        <s:Button id="btnLeftShift" x="30" y="130" width="70" height="32" label="Shift"
                  click="handleShiftButton(event)"/>
        <s:Button id="btnTab" x="10" y="50" width="50" height="32" label="Tab" click="handleButtonClick(event)"/>
        <s:Button id="btnQ" x="70" y="50" width="32" height="32" label="q"
                  click="handleButtonClick(event)"
                  label.Uppercase="Q"/>
        <s:Button id="btnW" x="110" y="50" width="32" height="32" label="w"
                  click="handleButtonClick(event)"
                  label.Uppercase="W"/>
        <s:Button id="btnE" x="150" y="50" width="32" height="32" label="e"
                  click="handleButtonClick(event)"
                  label.Uppercase="E"/>
        <s:Button id="btnR" x="190" y="50" width="32" height="32" label="r"
                  click="handleButtonClick(event)"
                  label.Uppercase="R"/>
        <s:Button id="btnT" x="230" y="50" width="32" height="32" label="t"
                  click="handleButtonClick(event)"
                  label.Uppercase="T"/>
        <s:Button id="btnY" x="270" y="50" width="32" height="32" label="y"
                  click="handleButtonClick(event)"
                  label.Uppercase="Y"/>
        <s:Button id="btnU" x="310" y="50" width="32" height="32" label="u"
                  click="handleButtonClick(event)"
                  label.Uppercase="U"/>
        <s:Button id="btnI" x="350" y="50" width="32" height="32" label="i"
                  click="handleButtonClick(event)"
                  label.Uppercase="I"/>
        <s:Button id="btnO" x="390" y="50" width="32" height="32" label="o"
                  click="handleButtonClick(event)"
                  label.Uppercase="O"/>
        <s:Button id="btnP" x="430" y="50" width="32" height="32" label="p"
                  click="handleButtonClick(event)"
                  label.Uppercase="P"/>
        <s:Button id="btnLeftBracket" x="470" y="50" width="32" height="32" label="["
                  click="handleButtonClick(event)"
                  label.Uppercase="{"/>
        <s:Button id="btnRightBracket" x="510" y="50" width="32" height="32" label="]"
                  click="handleButtonClick(event)"
                  label.Uppercase="}"/>
        <s:Button id="btnBackSlash" x="550" y="50" width="32" height="32" label="\"
                  click="handleButtonClick(event)"
                  label.Uppercase="|"/>
        <s:Button id="btnA" x="90" y="90" width="32" height="32" label="a"
                  click="handleButtonClick(event)"
                  label.Uppercase="A"/>
        <s:Button id="btnS" x="130" y="90" width="32" height="32" label="s"
                  click="handleButtonClick(event)"
                  label.Uppercase="S"/>
        <s:Button id="btnD" x="170" y="90" width="32" height="32" label="d"
                  click="handleButtonClick(event)"
                  label.Uppercase="D"/>
        <s:Button id="btnF" x="210" y="90" width="32" height="32" label="f"
                  click="handleButtonClick(event)"
                  label.Uppercase="F"/>
        <s:Button id="btnG" x="250" y="90" width="32" height="32" label="g"
                  click="handleButtonClick(event)"
                  label.Uppercase="G"/>
        <s:Button id="btnH" x="290" y="90" width="32" height="32" label="h"
                  click="handleButtonClick(event)"
                  label.Uppercase="H"/>
        <s:Button id="btnJ" x="330" y="90" width="32" height="32" label="j"
                  click="handleButtonClick(event)"
                  label.Uppercase="J"/>
        <s:Button id="btnK" x="370" y="90" width="32" height="32" label="k"
                  click="handleButtonClick(event)"
                  label.Uppercase="K"/>
        <s:Button id="btnL" x="410" y="90" width="32" height="32" label="l"
                  click="handleButtonClick(event)"
                  label.Uppercase="L"/>
        <s:Button id="btnSemiColon" x="450" y="90" width="32" height="32" label=";"
                  click="handleButtonClick(event)"
                  label.Uppercase=":"/>
        <s:Button id="btnQuote" x="490" y="90" width="32" height="32" label="'"
                  click="handleButtonClick(event)"
                  label.Uppercase="&quot;"/>
        <s:Button id="btnZ" x="110" y="130" width="32" height="32" label="z"
                  click="handleButtonClick(event)"
                  label.Uppercase="Z"/>
        <s:Button id="btnX" x="150" y="130" width="32" height="32" label="x"
                  click="handleButtonClick(event)"
                  label.Uppercase="X"/>
        <s:Button id="btnC" x="190" y="130" width="32" height="32" label="c"
                  click="handleButtonClick(event)"
                  label.Uppercase="C"/>
        <s:Button id="btnV" x="230" y="130" width="32" height="32" label="v"
                  click="handleButtonClick(event)"
                  label.Uppercase="V"/>
        <s:Button id="btnB" x="270" y="130" width="32" height="32" label="b"
                  click="handleButtonClick(event)"
                  label.Uppercase="B"/>
        <s:Button id="btnSpace" x="150" y="170" width="272" height="32" label="Space" click="handleButtonClick(event)"/>
        <s:Button id="btnN" x="310" y="130" width="32" height="32" label="n"
                  click="handleButtonClick(event)"
                  label.Uppercase="N"/>
        <s:Button id="btnM" x="350" y="130" width="32" height="32" label="m"
                  click="handleButtonClick(event)"
                  label.Uppercase="M"/>
        <s:Button id="btnComma" x="390" y="130" width="32" height="32" label=","
                  click="handleButtonClick(event)"
                  label.Uppercase="&lt;"/>
        <s:Button id="btnStop" x="430" y="130" width="32" height="32" label="."
                  click="handleButtonClick(event)"
                  label.Uppercase="&gt;"/>
        <s:Button id="btnForwardSlash" x="470" y="130" width="32" height="32" label="/"
                  click="handleButtonClick(event)"
                  label.Uppercase="?"/>
    </s:Group>

  • How to enter text in text input box using virtual keyboard in flex application

    Re: how to enter text in text input box using virtual keyboard in flex application
    hi,
    im using flash builder 4,
    i  designed virtual keyboard, i have to update the text in text input box  continously by using virtual keyboard.
    i used button events.i did  some mistake there.
    can some one help me out of tat.
    thanks  in advance.
    i have included my mxml program with this.
    virtualkeyboard.mxml
    <?xml  version="1.0" encoding="utf-8"?>
    <s:Application  xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"  minHeight="600" creationComplete="initfunc()">
         <fx:Script>
            <![CDATA[
                import  mx.controls.Alert;
                private function initfunc():void
                    b1.addEventListener(MouseEvent.CLICK,handleEvent);
                     b2.addEventListener(MouseEvent.CLICK,handleEvent);
                     b3.addEventListener(MouseEvent.CLICK,handleEvent);
                     b4.addEventListener(MouseEvent.CLICK,handleEvent);
                     b5.addEventListener(MouseEvent.CLICK,handleEvent);
                     b6.addEventListener(MouseEvent.CLICK,handleEvent);
                     b7.addEventListener(MouseEvent.CLICK,handleEvent);
                     b8.addEventListener(MouseEvent.CLICK,handleEvent);
                     b9.addEventListener(MouseEvent.CLICK,handleEvent);
                     b10.addEventListener(MouseEvent.CLICK,handleEvent);
                     b11.addEventListener(MouseEvent.CLICK,handleEvent);
                     b12.addEventListener(MouseEvent.CLICK,handleEvent);
                     b13.addEventListener(MouseEvent.CLICK,handleEvent);
                     b14.addEventListener(MouseEvent.CLICK,handleEvent);
                     b15.addEventListener(MouseEvent.CLICK,handleEvent);
                     b16.addEventListener(MouseEvent.CLICK,handleEvent);
                     b17.addEventListener(MouseEvent.CLICK,handleEvent);
                     b18.addEventListener(MouseEvent.CLICK,handleEvent);
                     b19.addEventListener(MouseEvent.CLICK,handleEvent);
                     b20.addEventListener(MouseEvent.CLICK,handleEvent);
                     b21.addEventListener(MouseEvent.CLICK,handleEvent);
                     b22.addEventListener(MouseEvent.CLICK,handleEvent);
                     b23.addEventListener(MouseEvent.CLICK,handleEvent);
                     b24.addEventListener(MouseEvent.CLICK,handleEvent);
                     b25.addEventListener(MouseEvent.CLICK,handleEvent);
                     b26.addEventListener(MouseEvent.CLICK,handleEvent);
                     b27.addEventListener(MouseEvent.CLICK,handleEvent);
                     b28.addEventListener(MouseEvent.CLICK,handleEvent);
                     b29.addEventListener(MouseEvent.CLICK,handleEvent);
                     b30.addEventListener(MouseEvent.CLICK,handleEvent);
                     b31.addEventListener(MouseEvent.CLICK,handleEvent);
                     b32.addEventListener(MouseEvent.CLICK,handleEvent);
                     b33.addEventListener(MouseEvent.CLICK,handleEvent);
                     b34.addEventListener(MouseEvent.CLICK,handleEvent);
                     b35.addEventListener(MouseEvent.CLICK,handleEvent);
                     b36.addEventListener(MouseEvent.CLICK,handleEvent);
                     b37.addEventListener(MouseEvent.CLICK,handleEvent);
                     b38.addEventListener(MouseEvent.CLICK,handleEvent);
                     b39.addEventListener(MouseEvent.CLICK,handleEvent);
                     b40.addEventListener(MouseEvent.CLICK,handleEvent);
                     b41.addEventListener(MouseEvent.CLICK,handleEvent);
                     b42.addEventListener(MouseEvent.CLICK,handleEvent);
                     b43.addEventListener(MouseEvent.CLICK,handleEvent);
                     b44.addEventListener(MouseEvent.CLICK,handleEvent);
                     b45.addEventListener(MouseEvent.CLICK,handleEvent);
                     b46.addEventListener(MouseEvent.CLICK,handleEvent);
                     b47.addEventListener(MouseEvent.CLICK,handleEvent);
                     b48.addEventListener(MouseEvent.CLICK,handleEvent);
                     b49.addEventListener(MouseEvent.CLICK,handleEvent);
                     b50.addEventListener(MouseEvent.CLICK,handleEvent);
                     b51.addEventListener(MouseEvent.CLICK,handleEvent);
                     b52.addEventListener(MouseEvent.CLICK,handleEvent);
                     b53.addEventListener(MouseEvent.CLICK,handleEvent);               
                public function handleEvent ( e :  MouseEvent ) : void
                    var a:String=  e.target.name ;
                    Alert.show(e.target.name);
                   var b:String=null;
                    switch(a)
                        case "Button20":
                           b=textbox.text;
                            //textbox.text="a";
                             textbox.text=b+"a";
                            break;
                       case "Button21":
                            //textbox.text="b";
                           textbox.text=b+"b";
                           break;
                       default:
                           //textbox.text="s";
                            textbox.text=b+"s";
            ]]>
        </fx:Script>
        <s:Panel  x="43" y="82" width="527" height="213">
          <mx:Button  x="71" y="86" id="b1" label="1" width="30" height="24"/>
             <s:Button x="180" y="86"  id="b2" label="5" width="30"  height="24"/>
            <s:Button x="127" y="86"  id="b3"  label="3" width="30" height="24"/>
            <s:Button x="99"  y="86"  id="b4" label="2" width="30" height="24"/>
             <s:Button x="323" y="86"  id="b5" label="0" width="30"  height="24"/>
            <s:Button x="294" y="86"  id="b6"  label="9" width="30" height="24"/>
            <s:Button x="265"  y="86"   id="b7" label="8" width="30" height="24"/>
             <s:Button x="237" y="86"  id="b8" label="7" width="30"  height="24"/>
            <s:Button x="209" y="86"  id="b9"  label="6" width="30" height="24"/>
            <s:Button x="42"  y="86"  id="b10" label="`" width="30" height="24"/>
             <s:Button x="382" y="86" id="b11" label="=" width="30"  height="24"/>
            <s:Button x="353" y="86"  id="b12"  label="-" width="30" height="24"/>
            <s:Button x="410"  y="86"  id="b13" label="back" width="76" height="24"/>
             <s:Button x="157" y="86"  id="b14" label="4" width="30"  height="24"/>
            <s:Button x="43" y="109" id="b15"  label="tab" width="66" height="24"/>
            <s:Button x="105"  y="109"  id="b16" label="q" width="31" height="24"/>
             <s:Button x="247" y="109"  id="b17" label="y" width="30"  height="24"/>
            <s:Button x="303" y="109"  id="b18"  label="i" width="31" height="24"/>
            <s:Button x="361"  y="110"  id="b19" label="p" width="34" height="23"/>
             <s:Button x="394" y="109"  id="b20" label="[" width="31"  height="24"/>
            <s:Button x="191" y="109"  id="b21"  label="r" width="34" height="24"/>
            <s:Button x="424"  y="109"  id="b22" label="]" width="31" height="24"/>
             <s:Button x="222" y="109"  id="b23" label="t" width="31"  height="24"/>
            <s:Button x="161" y="109"  id="b24"  label="e" width="31" height="24"/>
            <s:Button x="133"  y="109"  id="b25" label="w" width="31" height="24"/>
             <s:Button x="332" y="109"  id="b26" label="o" width="31"  height="24"/>
            <s:Button x="275" y="109"  id="b27"  label="u" width="31" height="24"/>
            <s:Button x="220"  y="133"  id="b28" label="g" width="31" height="24"/>
             <s:Button x="424" y="132"  id="b29" label="enter" width="62"  height="24"/>
            <s:Button x="43" y="132"  id="b30"  label="caps" width="66" height="24"/>
            <s:Button x="275"  y="133"  id="b31" label="j" width="42" height="23"/>
             <s:Button x="314" y="132"  id="b32" label="k" width="31"  height="24"/>
            <s:Button x="133" y="133"  id="b33"  label="s" width="31" height="23"/>
            <s:Button x="161"  y="133"  id="b34" label="d" width="31" height="23"/>
             <s:Button x="250" y="133"  id="b35" label="h" width="31"  height="23"/>
            <s:Button x="105" y="133"  id="b36"  label="a" width="31" height="23"/>
            <s:Button x="191"  y="133"  id="b37" label="f" width="31" height="23"/>
             <s:Button x="342" y="132"  id="b38" label="l" width="31"  height="24"/>
            <s:Button x="152" y="154"  id="b39"  label="x" width="31" height="24"/>
            <s:Button x="353"  y="154"  id="b40" label="." width="31" height="24"/>
             <s:Button x="325" y="154"  id="b41" label="," width="31"  height="24"/>
            <s:Button x="294" y="154"  id="b42"  label="m" width="31" height="24"/>
            <s:Button x="259"  y="154"  id="b43" label="n" width="37" height="24"/>
             <s:Button x="236" y="154"  id="b44" label="b" width="31"  height="24"/>
            <s:Button x="211" y="154"  id="b45"  label="v" width="31" height="24"/>
            <s:Button x="181"  y="154"  id="b46" label="c" width="31" height="24"/>
             <s:Button x="122" y="154"  id="b47" label="z" width="31"  height="24"/>
            <s:Button x="380" y="154"  id="b48"  label="/" width="31" height="24"/>
            <s:Button x="368"  y="132"  id="b49" label=";" width="31" height="24"/>
             <s:Button x="396" y="132"  id="b50" label="'" width="31"  height="24"/>
            <s:Button x="43" y="154"  id="b51"  label="shift" width="82" height="24"/>
            <s:Button  x="407" y="154" id="b52" label="shift" width="79" height="24"/>
             <s:Button x="455" y="109"  id="b53" label="\" width="31"  height="24"/>
        </s:Panel>
        <s:TextInput  x="161" y="27" id="textbox" width="253"/>
    </s:Application>
    regards,
    saran r

    hi,
    how to code for these buttons "control,alt,delete,insert and spacebar".
    can u help me how to program?
    i have attached the mxml code with this,
    virtualkeypad1.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">
        <fx:Script>
            <![CDATA[
                import flash.utils.getQualifiedSuperclassName;
                import mx.events.FlexEvent;
                private var inpText:String = 'inp1';
                private var shiftState:Boolean = false;
                private var capsState:Boolean = false;
                protected function keyboard_clickHandler(event:MouseEvent):void
                    this[inpText].text = this[inpText].text+(event.currentTarget as Button).label;
                    if (shiftState == true) shift_clickHandler(null);
                protected function caps_clickHandler(event:MouseEvent):void
                    capsState = !capsState;
                    if (capsState == true)
                        currentState = "SHIFTED" else currentState = "PRIMARY";
                protected function tab_clickHandler(event:MouseEvent):void
                    this[inpText].text = this[inpText].text+"    ";
                protected function shift_clickHandler(event:MouseEvent):void
                    shiftState = !shiftState;
                    if (shiftState == true)
                        currentState = "SHIFTED" else currentState = "PRIMARY";
                protected function enter_clickHandler(event:MouseEvent):void
                    this[inpText].text = this[inpText].text+"\n";
                protected function backspace_clickHandler(event:MouseEvent):void
                    var tmpStr:String = this[inpText].text;
                    this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
                protected function application1_creationCompleteHandler(event:FlexEvent):void
                    inp1.setFocus();               
                protected function focus_enterHandler(event:MouseEvent):void
                    inpText = event.currentTarget.id;
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="PRIMARY"/>
            <s:State name="SHIFTED"/>
        </s:states>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:TextInput id="inp1" y="36" width="151" horizontalCenter="0" click="focus_enterHandler(event)" y.PRIMARY="239" horizontalCenter.PRIMARY="42" width.PRIMARY="199" height.PRIMARY="31"/>
        <s:Group id="keyboard" width="661" height="184" horizontalCenter="0" y="300" focusEnabled="false">
            <s:Button x="5" y="5" label="~" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="`"/>
            <s:Button x="49" y="5" label="!" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="1"/>
            <s:Button x="93" y="5" label="@" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="2"/>
            <s:Button x="137" y="5" label="#" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="3"/>
            <s:Button x="181" y="5" label="$" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="4"/>
            <s:Button x="225" y="5" label="%" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="5"/>
            <s:Button x="269" y="5" label="^" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="6"/>
            <s:Button x="313" y="5" label="&amp;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
            <s:Button x="357" y="5" label="*" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="8"/>
            <s:Button x="401" y="5" label="(" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="9"/>
            <s:Button x="445" y="5" label=")" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="0"/>
            <s:Button x="489" y="5" label="_" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="-"/>
            <s:Button x="533" y="5" label="+" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="="/>
            <s:Button x="577" y="5" label="Backspace" height="43" width="80" fontSize="11" fontWeight="bold" click="backspace_clickHandler(event)"/>
            <s:Button x="5" y="48" label="Tab" height="43" width="67" fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
            <s:Button x="72" y="48" label="Q" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="q"/>
            <s:Button x="116" y="48" label="W" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="w"/>
            <s:Button x="160" y="48" label="E" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="e"/>
            <s:Button x="204" y="48" label="R" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="r"/>
            <s:Button x="248" y="48" label="T" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="t"/>
            <s:Button x="292" y="48" label="Y" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="y"/>
            <s:Button x="336" y="48" label="U" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="u"/>
            <s:Button x="380" y="48" label="I" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="i"/>
            <s:Button x="424" y="48" label="O" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="o"/>
            <s:Button x="468" y="48" label="P" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="p"/>
            <s:Button x="512" y="48" label="{" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="["/>
            <s:Button x="556" y="48" label="}" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="]"/>
            <s:Button x="600" y="48" label="|" height="43" width="57" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="\"/>
            <s:Button x="5" y="91" label="CapsLock" height="43" width="80" fontSize="12" fontWeight="bold" click="caps_clickHandler(event)"/>
            <s:Button x="85" y="91" label="A" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="a"/>
            <s:Button x="129" y="91" label="S" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="s"/>
            <s:Button x="173" y="91" label="D" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="d"/>
            <s:Button x="217" y="91" label="F" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="f"/>
            <s:Button x="261" y="91" label="G" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="g"/>
            <s:Button x="305" y="91" label="H" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="h"/>
            <s:Button x="349" y="91" label="J" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="j"/>
            <s:Button x="393" y="91" label="K" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="k"/>
            <s:Button x="437" y="91" label="L" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="l"/>
            <s:Button x="481" y="91" label=":" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=";"/>
            <s:Button x="525" y="91" label="&quot;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
            <s:Button x="569" y="91" label="Enter" height="43" width="88" fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
            <s:Button x="5" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
            <s:Button x="111" y="134" label="Z" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="z"/>
            <s:Button x="155" y="134" label="X" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="x"/>
            <s:Button x="199" y="134" label="C" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="c"/>
            <s:Button x="243" y="134" label="V" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="v"/>
            <s:Button x="287" y="134" label="B" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="b"/>
            <s:Button x="331" y="134" label="N" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="n"/>
            <s:Button x="375" y="134" label="M" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="m"/>
            <s:Button x="419" y="134" label="&lt;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=","/>
            <s:Button x="463" y="134" label="&gt;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="."/>
            <s:Button x="507" y="134" label="?" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="/"/>
            <s:Button x="551" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
        </s:Group>
    </s:Application>
    thanks in advance,
    saran r

  • How to use virtual keyboard in flex application

    hi..
    i am using flash builder 4,
    how to use virtual keyboard in flex?
    if any one aware of this pls reply me.......
    saran r

    hi,
    how to code for these buttons  "control,alt,delete,insert and spacebar".
    can u help me  how to program?
    i have attached the mxml code with this,
    virtualkeypad1.mxml
    <?xml  version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"  minHeight="600"
                     creationComplete="application1_creationCompleteHandler(event)"  viewSourceURL="srcview/index.html">
         <fx:Script>
             <![CDATA[
                 import flash.utils.getQualifiedSuperclassName;
                 import mx.events.FlexEvent;
                 private var inpText:String = 'inp1';
                 private var shiftState:Boolean = false;
                 private var capsState:Boolean = false;
                 protected function  keyboard_clickHandler(event:MouseEvent):void
                     this[inpText].text =  this[inpText].text+(event.currentTarget as Button).label;
                     if (shiftState == true) shift_clickHandler(null);
                 protected function caps_clickHandler(event:MouseEvent):void
                     capsState = !capsState;
                     if (capsState == true)
                         currentState = "SHIFTED" else currentState =  "PRIMARY";
                 protected function tab_clickHandler(event:MouseEvent):void
                     this[inpText].text = this[inpText].text+"    ";
                 protected function shift_clickHandler(event:MouseEvent):void
                     shiftState = !shiftState;
                     if (shiftState == true)
                         currentState = "SHIFTED" else currentState =  "PRIMARY";
                 protected function enter_clickHandler(event:MouseEvent):void
                     this[inpText].text = this[inpText].text+"\n";
                 protected function  backspace_clickHandler(event:MouseEvent):void
                     var tmpStr:String = this[inpText].text;
                     this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
                 protected function  application1_creationCompleteHandler(event:FlexEvent):void
                     inp1.setFocus();               
                 protected function focus_enterHandler(event:MouseEvent):void
                     inpText = event.currentTarget.id;
             ]]>
         </fx:Script>
         <s:states>
             <s:State name="PRIMARY"/>
             <s:State name="SHIFTED"/>
         </s:states>
         <fx:Declarations>
             <!-- Place non-visual elements (e.g., services, value  objects) here -->
         </fx:Declarations>
         <s:TextInput id="inp1" y="36" width="151" horizontalCenter="0"  click="focus_enterHandler(event)" y.PRIMARY="239"  horizontalCenter.PRIMARY="42" width.PRIMARY="199"  height.PRIMARY="31"/>
         <s:Group id="keyboard" width="661" height="184"  horizontalCenter="0" y="300" focusEnabled="false">
             <s:Button x="5" y="5" label="~" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="`"/>
             <s:Button x="49" y="5" label="!" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="1"/>
             <s:Button x="93" y="5" label="@" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="2"/>
             <s:Button x="137" y="5" label="#" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="3"/>
             <s:Button x="181" y="5" label="$" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="4"/>
             <s:Button x="225" y="5" label="%" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="5"/>
             <s:Button x="269" y="5" label="^" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="6"/>
             <s:Button x="313" y="5" label="&amp;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
             <s:Button x="357" y="5" label="*" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="8"/>
             <s:Button x="401" y="5" label="(" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="9"/>
             <s:Button x="445" y="5" label=")" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="0"/>
             <s:Button x="489" y="5" label="_" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="-"/>
             <s:Button x="533" y="5" label="+" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="="/>
             <s:Button x="577" y="5" label="Backspace" height="43"  width="80" fontSize="11" fontWeight="bold"  click="backspace_clickHandler(event)"/>
             <s:Button x="5" y="48" label="Tab" height="43" width="67"  fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
             <s:Button x="72" y="48" label="Q" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="q"/>
             <s:Button x="116" y="48" label="W" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="w"/>
             <s:Button x="160" y="48" label="E" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="e"/>
             <s:Button x="204" y="48" label="R" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="r"/>
             <s:Button x="248" y="48" label="T" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="t"/>
             <s:Button x="292" y="48" label="Y" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="y"/>
             <s:Button x="336" y="48" label="U" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="u"/>
             <s:Button x="380" y="48" label="I" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="i"/>
             <s:Button x="424" y="48" label="O" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="o"/>
             <s:Button x="468" y="48" label="P" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="p"/>
             <s:Button x="512" y="48" label="{" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="["/>
             <s:Button x="556" y="48" label="}" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="]"/>
             <s:Button x="600" y="48" label="|" height="43" width="57"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="\"/>
             <s:Button x="5" y="91" label="CapsLock" height="43"  width="80" fontSize="12" fontWeight="bold"  click="caps_clickHandler(event)"/>
             <s:Button x="85" y="91" label="A" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="a"/>
             <s:Button x="129" y="91" label="S" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="s"/>
             <s:Button x="173" y="91" label="D" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="d"/>
             <s:Button x="217" y="91" label="F" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="f"/>
             <s:Button x="261" y="91" label="G" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="g"/>
             <s:Button x="305" y="91" label="H" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="h"/>
             <s:Button x="349" y="91" label="J" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="j"/>
             <s:Button x="393" y="91" label="K" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="k"/>
             <s:Button x="437" y="91" label="L" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="l"/>
             <s:Button x="481" y="91" label=":" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY=";"/>
             <s:Button x="525" y="91" label="&quot;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
             <s:Button x="569" y="91" label="Enter" height="43" width="88"  fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
             <s:Button x="5" y="134" label="Shift" height="43" width="106"  fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
             <s:Button x="111" y="134" label="Z" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="z"/>
             <s:Button x="155" y="134" label="X" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="x"/>
             <s:Button x="199" y="134" label="C" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="c"/>
             <s:Button x="243" y="134" label="V" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="v"/>
             <s:Button x="287" y="134" label="B" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="b"/>
             <s:Button x="331" y="134" label="N" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="n"/>
             <s:Button x="375" y="134" label="M" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="m"/>
             <s:Button x="419" y="134" label="&lt;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY=","/>
             <s:Button x="463" y="134" label="&gt;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY="."/>
             <s:Button x="507" y="134" label="?" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="/"/>
             <s:Button x="551" y="134" label="Shift" height="43"  width="106" fontSize="24" fontWeight="bold"  click="shift_clickHandler(event)"/>
         </s:Group>
    </s:Application>
    thanks in  advance,
    saran r

  • Built-in virtual keyboard

    At times, when I reply to the article in discussion forum, the built-in virtual keyboard did not pop up as usual. Can I manually call for it? Otherwise, I cannot type my reply at all.

    Firstly, there is no reply box.
    Then why do you want/need the keyboard?
    If there is no place to type, you will not get the keyboard to appear.
    Actually, when I tap the Quote button, it will go to reply mode with the original article above my reply to be typed in
    So there is a Reply box.

  • Virtual Keyboard help

    Hi everyone
    I have a problem with my VI. My VI reproduces an interface with a
    keyboard that the user has to use to fill the various boxes at the
    interface. At the moment, I can write all the information on a single
    string, the "Value in" and save it. This solution is ok but honestly I
    want to improve it for two reasons:
    1) my output is a single string with all the data typed. I want to
    save these data in a file but because it is a string, I need to to split
    it and this operation requires that the various voices are separated by
    a particular character like a comma (not a good solution)
    2) I have to add another string close to the "Value in" to indicate the required data to the user.
    My idea, maybe I am sking the moon, is that the user can introduce
    the data moving freely between the boxes. When all the data have been
    introduced, click the Ok button, close the VI and save these data in a
    file as combination of strings.
    Another possible solution should be to use my VI and modify it in
    order that the user digits the first raw of data, clicks Enter and can
    visualize this data in a separate string.  Digits the second raw, clicks
    Enter, visualizes this data in another separate string and so on. After
    the last raw, clicks Enter, visualizes the data and closes the VI
    pushing the OK button. In this way, all the data visulaized in the
    separated strings  can be saved easily in a file.
    Any suggestions and/or help?
    matomato
    Attachments:
    Virtual keyboard.vi ‏47 KB

    Kudos for the cool looking vi!
    I have to think about your question a little bit but I do have a couple comments. This would be a perfect XControl. I have never created an XControl but maybe this would be a good one to practice with.
    In the meantime I did have a comment on how you are detecting the keypress. There are a million ways to do it and there is nothing wrong with your technique. But your technique is just a lot of development work. See the attached modification that uses search array instead of a case structure with 50 frames.
    This part of your program would be perfect for a subvi and your keyboard cluster should be a strict typedef.
    I hope you don't mind my unsolicited comments that have nothing to do with your question
    =====================
    LabVIEW 2012
    Attachments:
    Virtual keyboard2.vi ‏21 KB

  • VIRTUAL KEYBOARD SpaceKey not autosizing

    Hello, So my space button wont autosize on the virtual keyboard. It creates the blank space but doesnt autosize to it, after inputing any other key it autosizes correctly. Could use an extra set of eyes to see what im doing wrong
    Ill post any relevant code down here
    //spaces;
    key_space.addEventListener(MouseEvent.CLICK, spaceClickListener);
    function spaceClickListener(e:MouseEvent):void
              if (control == "on" && menu.visible == false )
                        strehrows3();
                        textSelect.appendText(" ");
                        shift = false;
                        //border control;
                        if (textSelect.width <= 134.05)
                                  // textSelect.autoSize = TextFieldAutoSize.RIGHT;
                                  textSelect.x = 1.2;
                        if (textSelect.width >= 134.05)
                                  ///textSelect.autoSize = TextFieldAutoSize.RIGHT;
                                  textSelect.x =  1.2-(textSelect.width-134.05);
                        //inputTxt.autoSize = TextFieldAutoSize.NONE;
                        textSelect.setSelection(textSelect.length,textSelect.length);
                        focuser();
                        strehrows3();
                        _fontSize();
    function _keys(event:MouseEvent):void
              strehrows3();
              textSelect.setSelection(textSelect.length,textSelect.length);
              if (electoff.currentFrame == 2)
                        ajWidth(event);
              if (terminalinput.currentFrame == 2)
                        TrWidth(null);
              if (control == "on" && menu.visible == false )
                        if (! shift)
                                  textSelect.appendText(letterButtonSmall[event.target.name]);
                        else
                                  textSelect.appendText(letterButtonCaps[event.target.name]);
                                  shift = false;
                        savedTxt = textSelect.text;
                        textSelect.setSelection(textSelect.length,textSelect.length);
                        if (textSelect.width <= 134.05 && textSelect == inputClips.inputTxt )
                                  textSelect.autoSize = TextFieldAutoSize.RIGHT;
                                  textSelect.x = 1.2;
                        if (textSelect.width >= 134.05 && textSelect == inputClips.inputTxt)
                                  textSelect.autoSize = TextFieldAutoSize.RIGHT;
                                  textSelect.x =  1.2-(textSelect.width-134.05);
              textSelect.setSelection(textSelect.length,textSelect.length);
              if (electoff.currentFrame == 2)
                        ajWidth(event);
              if (terminalinput.currentFrame == 2)
                        TrWidth(null);
                        focuser();
                        strehrows3();
                        _fontSize();

    Been struggling with this, I now made the space function nearly identical to my keyboard function.
    Pressing the space key doesnt autoformat the text for some reason Im having trouble understanding, it adds the space but wont show up until I enter an actual letter or number.
    function _keys(event:MouseEvent):void
              strehrows3();
              textSelect.setSelection(textSelect.length,textSelect.length);
              if (electoff.currentFrame == 2)
                        ajWidth(event);
              if (terminalinput.currentFrame == 2)
                        TrWidth(null);
              if (control == "on" && menu.visible == false )
                        if (! shift)
                                  textSelect.appendText(letterButtonSmall[event.target.name]);
                        else
                                  textSelect.appendText(letterButtonCaps[event.target.name]);
                                  shift = false;
                        savedTxt = textSelect.text;
                        textSelect.setSelection(textSelect.length,textSelect.length);
                        if (textSelect.width <= 134.05 && textSelect == inputClips.inputTxt )
                                  textSelect.autoSize = TextFieldAutoSize.LEFT;
                                  textSelect.x = 1.2;
                        if (textSelect.width >= 134.05 && textSelect == inputClips.inputTxt)
                                  textSelect.autoSize = TextFieldAutoSize.LEFT;
                                  textSelect.x =  1.2-(textSelect.width-134.05);
              textSelect.setSelection(textSelect.length,textSelect.length);
              if (electoff.currentFrame == 2)
                        ajWidth(event);
              if (terminalinput.currentFrame == 2)
                        TrWidth(null);
                        focuser();
                        strehrows3();
                        _fontSize();
    //spaces;
    key_space.addEventListener(MouseEvent.CLICK, spaceClickListener);
    function spaceClickListener(e:MouseEvent):void
              strehrows3();
              textSelect.setSelection(textSelect.length,textSelect.length);
              if (electoff.currentFrame == 2)
                        ajWidth(null);
              if (terminalinput.currentFrame == 2)
                        TrWidth(null);
              if (control == "on" && menu.visible == false )
                        if (! shift)
                                  textSelect.appendText(" ");
                        else
                                  textSelect.appendText(" ");
                                  shift = false;
                        savedTxt = textSelect.text;
                        textSelect.setSelection(textSelect.length,textSelect.length);
                        if (textSelect.width <= 134.05 && textSelect == inputClips.inputTxt )
                                  textSelect.autoSize = TextFieldAutoSize.LEFT;
                                  textSelect.x = 1.2;
                        if (textSelect.width >= 134.05 && textSelect == inputClips.inputTxt)
                                  textSelect.autoSize = TextFieldAutoSize.LEFT;
                                  textSelect.x =  1.2-(textSelect.width-134.05);
              textSelect.setSelection(textSelect.length,textSelect.length);
              if (electoff.currentFrame == 2)
                        ajWidth(null);
              if (terminalinput.currentFrame == 2)
                        TrWidth(null);
                        focuser();
                        strehrows3();
                        _fontSize();

  • Virtual keyboards and landscape view

    Recently I had to reinstall the software on my Torch because something went wrong after I downlaoded an app and my phone kept continuously rebooting in a loop. Since reinstalling the software, though, I have noticed some things that are different and one is that the virtual keyboard never appears anymore. Not only that but the phone does not seem to be able to change to landscape view anymore, except when viewing a YouTube video. And lately, the YouTube videos stop part way through and never start back up again, as they do when just buffering temporarily.
    Is there something missing from the software I downloaded? Is there a special version of the OS6 that is just for the Torch?

    Hello Bluerosequeen, 
    Sorry to hear about your issue. 
    In this case we can try to reload the software on the BlackBerry® smartphone to make sure it is running the latest version and there are no issues with the OS.
    Here is how to backup your BlackBerry smartphone http://bbry.lv/oPVWXc
    Once you have backed up your BlackBerry smartphone please follow the link below to complete a clean reload of the BlackBerry smartphone software.
    Link: http://www.blackberry.com/btsc/KB03621
    Once completed test it and proceed with a selective restore, here is how to restore http://bbry.lv/qgQxLo
    Thank you
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Cannot hide virtual keyboard

    Since yesterday I haven't been able to hide the virtual keyboard by quickly sliding the finger down across the virtual keyboard.  I can only hide it by pressing on the BB key and then choosing Hide Keyboard.
    I am worried that something wrong could be happening to the phone and would like to know if there is some way to fix this before returning it to the store.
    Thank you.
    Solved!
    Go to Solution.

    you have the latest OS and I dont see that issue on mine.
    have you done a battery pull? With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot. see if issue persists after.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Can´t access letters on virtual keyboard (anymore)!

    Hello to all.
    I am new to the iPodTouch (16GB), i just got it today.
    And i experience the first problem:
    -i can´t access the letters S E Z from the virtual keyboard (anymore).
    -at first it was working, later, after some hours it happened.
    Has anyone some ideas what goes wrong?
    Also i get sometimes poor response from the screen, things are really slow.
    iPodTouch came with FW 1.01
    I upgraded to FW 1.1.1.

    Benno,
    I seem to be in the same boat as you.
    I'm new to the whole Apple thing, but decided to give the iPod touch a go.
    Unfortunately the system worked great for about 30 minutes then the screen quit responding. Same issues as others have reported - slider bar works but takes 10-15 tries to get anything else to respond. Resets work for 30 seconds or so then back to square one.
    Gonna return it tomorrow and stick with what has worked for the last several years. I'll keep my cheap mp3 player that actually works and my $400.

  • Why doesn't the virtual keyboard work with firefox on my dell venue 8 pro windows 8.1 tablet?

    When I try to enter text in any text-entry box, i.e, in the url , search, or on a website, the virtual keyboard doesn't activate. I have to manually activate and deactivate it. It works for Google Chrome, but sadly not for firefox, my preferred browser. The tablet is up-to-date with the latest drivers and updates.

    Thanks for the reply. No, it's the virtual keyboard that is integrated into window 8.1. I haven't installed any 3rd party keyboards

  • Yoga 2 Pro No Virtual Keyboard in Tablet Mode?

    I can't find a way to get a virtual keyboard to come up when Yoga 2 Pro is in tablet mode...even when I click on a search box in my browser or any other text box nothing comes up. Is there a way to make a touch keyboard come up so you can still type?
    Many thanks!

    Hi. Here it is. I tried to record the off/on process of this problem. On the seond part i typing in notepad and you can see interuption of letters. 
    https://yadi.sk/i/3GBZepRabSEpf
    Problem is still not solved

  • Yoga 2 11. Virtual keyboard in Tablet mode

    Hi.
    Yoga 2 11 and Windows 8.1 is entirley new to me, so please excuse my lack of knowledge.
    When PC is asleep in tablet mode, I cannot get the virtual keyboard in order to log in. When I try to type, it pops up for a second or so (varies in time), but then shrinks back down.
    Has anyone see this and is there any way I can sort it out without refreshing Windows? The amount of work to do in reloading programmes and apps is just too painful. If anyone can help I'd be very grateful.
    Thanks
    Rob

    Hi Alaa
    Many thanks.
    No actually - I haven't set a restore point, or even thought of doing that. It was Lenovo support that suggested a Windows refresh but when I saw that I would have to re-load apps etc., I backed out. I've done too much for that.
    Are you suggesting that if I set a restore point, then I would keep everything already installed?
    I now notice that under some circumstances the virtual keyboard pops up. For example it came up when I experimented by trying to answer this in tablet mode. It didn't do it the first time but when I was folding back, it suddenly and randomly came up. Also I was able to search on Maps with a virtual keyboard. But no way will it let me log on.To begin with, (first time I try in a session), it seems to wait until it detects my hand over it,  and then disappears into its shell!
    Thanks
    Rob

  • How can I create a virtual keyboard shortcut in my dock?

    So I started using my MacBook Pro as a device I connect to my TV. I have an HDMI adapter, and, after setting up the display and sound, it is awesome! I even purchased a Trackpad so I can sit on my couch and navigate. The cost of the adapter and Trackpad are more than paid for with my canceling of cable.
    Anyway, my question is about the virtual keyboard in OS X. It doesn't happen often, but I sometimes have to type in a user name or password for sites. I know how to go through "System Preferences", "Universal Access", and then "Keyboard Preferences" to turn it on, but is there a faster way?
    What I really want to know is if I can create a shortcut in my dock for the virtual keyboard?
    If not, does anyone know of any third party, virtual keyboard applications that would work this way?
    Thanks!

    @ KA-BOOM!!
    Okay, try this:
    1. Copy KeyboardViewer.app to your Applications folder (or wherever you want it).
    2. Edit this copied KeyboardViewer.app bundle with TextWrangler or a comparable text editor or a property list editor, changing a single character in KeyboardViewer.app/Contents/Info.plist so that the value for NSUIElement is 0 instead of 1.
    3. Drag the new KeyboardViewer.app to the Dock.
    When you want to quit the application, do so from the Dock icon.  (If you click the red button--the usual way to quit KeyboardViewer when it has been invoked from the menu extra--the application will keep running facelessly in the background and you won't be able to get the KeyboardViewer GUI back again unless you kill its process or restart.  All in all, quitting from the Dock icon is the quickest solution.)

  • Not able to use online banking virtual keyboard with ios 4.3 neither 4.3.2. Used to use with ios 4.2

    I used to transfer money via ebanking with my ipad 1 ios 4.2. But since i updated to ios 4.3, i'm not able to do so. Then i bought an ipad 2 and still not able. I updated ios to 4.3.2 yesterday and the problem continue. I can open the bank page without any problem. But when i try to transfer money, it ask for a confirmation key and pops-up an virtual keyboard. Well with ios 4.2 i was able go see the virtual keyboard and enter the key, but with ios 4.3 and 4.3.2, not able to see the keyboard. Safari is set to allow popup windows, but still not able to do so. I installed another webrowser, which allow me to see the virtual keyboard, but when i type the key it doesn't do nothing. Does anyone have an idea how can i solvr this issue? Thanks

    it's a bit old but you have this information :
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB04009&sliceId=SAL_Pub...
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

Maybe you are looking for

  • Junit test runner error in jDeveloper 11.1.1.6.0

    Hi, I am having problem with the running of test project in jdeveloper. I created the test project using Application Test Framework from the Model project. Model project has the AM and PVOs used for BI VOs. The test project is created with all the se

  • Analog sound out of SPDIF

    Analog sound out of SPDIF' I have connected a digital coax cable from the digital out to a Harman Kardon stereo receiver. The cable has been run to another room in order to watch downloaded shows/movies in my living room. I receive DTS and DD sound j

  • ALE Settings for IDOC

    Hi, For configuration of IDOC adapter 1) we need to create RFC Desination  both XI System and R3 System.For port creation if v given same port name  in both XI system and R3 system it will work or not ? 2) On Receiver SAP system, we need to configure

  • MySQL error 2002: No Such File or Directory in DW CS6

    OK, I've obviously configured something wrong in MYSQL or Dreamweaver, but despite exhaustive research, I can't connect to my database and I can't find a solution online. I'm running a Windows 7 Pro system. I installed PHP/MySQL/Apache all at once wi

  • [SOLVED] Cannot install KDE with python-numpy pre-installed?

    Hi, all I am with xfce currently and though of tring KDE. However when I  tried to install KDE it turns that there are confilicts between 'kde' and 'python-numpy': :: Proceed with installation? [Y/n] (318/318) checking keys in keyring [##############