Working with Windows Control

I'm trying to work with some windows controls to set up a
grid of fields that users can enter information into. I was able to
use controls that limit the amount of characters that can be
entered into the fields, but the user would still have to use the
Tab key to get to the next control. Is there a way, either through
code or interaction icons, that would automatically jump to the
next control, once the user has entered the maximum amount of
characters?
Thanks for any help

"Rodimus_Prime" <[email protected]> wrote in
message
news:fk8cj5$le2$[email protected]..
>I think I'm starting off on the right track. I'm trying
to use the function
> wcGetFocusedControl() in a perpetual icon in order to
constantly check
> what
> control is in focus. With that, I can use if statements
to determine when
> to
> shift focus to the next control. I have an interaction
icon set as
> conditional
> (condition is "TRUE") to be perpetual. In that is a
calculation icon with
> a
> repeat statement. But I can't get the repeat statement
to update the
> variable
> assigned by wcGetFocusedControl().
OK, the easiest way to do this is to create a list variable.
I'll call it
wcList. Let's say you have a map that has all your controls
in it. I'll
call it "Control Map." Inside each KO, change the variable
name that you
used in each one to:
wcList[n]
Where n is the child number of each WinCtrl within "Control
Map."
Change your set control value to refer to
wcList[Listcount(wcList)]
Now, below all the WinCtrls, set up an interaction with a
Conditional
response, condition wcChange (assuming that is your winctrl
change
variable), Automatic set to False to True.
Inside that response, something like this:
numLoops := Listcount(wcList)
focusedControl := wcGetFocusedControl()
controlIndex := 0
repeat with x := 1 to numLoops
if focusedControl = wcList[x] then
controlIndex = x
exit repeat
end if
end repeat
newIndex = Test(controlIndex<numLoops, controlIndex +1, 1)
wcSetPropertyValue(wcList[controlIndex], "focus", false)
wcSetPropertyValue(wcList[newIndex], "focus", true)
HTH;
Amy

Similar Messages

  • Brightness and volume control keys not working with windows 7?

    brightness, volume control and some other keys keys are not working with windows 7 with macbook pro retina. Can I fix it?

    Welcome to the Apple Support Communities
    Have you installed Boot Camp drivers? You need them to make your computer work properly on Windows, and to use your function keys as Play or Pause, volume and brightness keys.
    To install them, follow these steps:
    1. Press the X key while your Mac is starting to start into OS X.
    2. Open Boot Camp Assistant and tick only the option to download Windows support software.
    3. Windows support software will be downloaded and Boot Camp Assistant will ask you to burn it into a DVD or USB drive, so do it.
    4. Start into Windows, insert the DVD or USB drive and install Boot Camp drivers. Your Mac and your volume and brightness keys will be working after installing the drivers

  • ActiveX control is not working with windows NT

    I've have a stand alone application which uses an activeX control.  The application was compiled using Labview 7.1 on a Windows XP machine.  The application will run without any problems on Windows XP and Windows 2000, however the activeX control will not work with Windows NT 4.0.  The activeX control is registered, and I have also compiled the application on a Windows NT 4.0 machine.  I do not receive any error messages, the application will start but will not communicate with the activeX control.  Does anyone have any suggestions?  

    Hello,
    Have you tired running the VI by itself (not exe) on the NT machine? Make sure you are doing adequate error checking in your code. It could be possible that the application is generating an error which in not handled appropriately. Also which service pack do you have installed on the NT machine? Please look at the release notes for LabVIEW 7.1 here.  
    Regards,
    Chetan K
    Application Engineer

  • HT4759 Why does icloud Contacts not work with Windows XP?

    Does anybody know why iCloud  Web page does not work with  Windows XP? I  have tried IE, Firefox and Chrome 

    XP is not supported by iCloud, that's why.
    iCloud System Requirements. PC.
    Microsoft Windows 7 or 8
    iCloud Control Panel 2.1 or later
    iTunes 11 or later (for iTunes in the Cloud and iTunes Match)
    Outlook 2007 or 2010 or iCloud.com
    Safari 5.1.7 or later or Internet Explorer 9 or later (for iCloud.com and Bookmarks), Firefox 16 or later or Chrome 23 or later (for iCloud.com)

  • HP LaserJet 6L won't work with Windows 8

    Good afternoon all,
    Right I inherited this great little printer last year, it worked great with Windows 7 but now it wont work with Windows 8, it appears to be installed and the drivers are all up to date but when I use it to print a pile of random characters come out on the pages and doesn't stop. I've reinstalled it and installed it again and again every different way but it just doesn't work and HP says that it is compatible (there is a green tick beside it somewhere on your website). Could it be that I'm using a cable that is parallel at the printer end and USB at the computer end that is at fault?
    James.

    I had the same problem, and fixed it.
    Control Panel - Devices and Printers
    Click on "Add a Printer"
    Click on "The printer that I want isn't listed"
    For USB connection, choose "Add a local printer or network printer with manual settings"
    Pick an existing port.  I use a cable that has LPT port at one end, USB at the other end.  So my choice is USB001 (Virtual printer port for USB)
    Now you see the list of manufacturers and models.  Before doing anything, click on "Windows Update" and let it run (takes a few minutes)
    Once the update is complete and you're back to the list of manufacturers and models, select HP as the model, and select HP LaserJet 6L as the printer.  Without Windows Update, it will only show "HP LaserJet 6L PS Class Driver", which causes the problem.  Stick to "HP LaserJet 6L"
    The rest is straight forward.  Print a test page and check if it comes out right.  Good luck!!

  • My wifi driver is not working with windows 8.1 in my MBA2013?

    My wifi driver is not working with windows 8.1 in my MBA2013?
    i installed windows 8.1 with bootcamp, everythigs seems to be working fine except the wifi,
    please help me to solve this problem,,
    thanks

    neokenchi wrote:
    hi erabbath,
    Welcome to the Forums.
    If you have the Intel Centrino N2230 Wireless + Bluetooth adapter, can you try to:
    1. Navigate to the Control Panel (large icon view) > Devices and Printers and try to pair a bluetooth device (i.e. Bluetooth Headset) and observe if it gets detected under the device list.
    2. If the Bluetooth Headset is listed but it's not working try toright click on it > choose Properties. On the bluetooth properties Window, go to the Services Tab and check all the appropriate bluetooth services.
    Sample picture
    Let me know your findings.
    Regards
    Thank you very much for your answer,
    I went to Control Panel  > Devices and Printers and i tried to add a new device as the bluetooth doesn't appear this is what i got. By the way the bluetooth was on.
    Link to picture
    And this is what i have on the Bluettoth
    And it search endlessly whereas before the upgrade it was working properly,
    All the drivers are up to date as well as windows updates are all installed
    Thanks in advance for your help
    Regards
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

  • Working with Windows 2000 ?

    Hello, I'm new to Java but been programming 15 years, hell knows why I waited till now to use Java but it is great !
    I want to write some applications that control and work with Windows 2000. I realise they would not be platform independent but is this sort of thing possible ?
    or .... just as an example what if I wanted to control some feature of the linux os ?
    thanks
    C

    It is possible. All you need to know is how to use JNI. I think there are only two books out there about JNI, I would recommend the one from Sun.
    You can download it here: http://java.sun.com/docs/books/jni/index.html

  • ExpressCache not working with Windows 10

    I've searched the forum and have not found an answer to this. After upgrading to windows 10, ExpressCache has been removed and is no longer working. Where can I download the program (ExpressCache) for windows 10 so I can re-enable it? Everything else seems to be working fine. Thanks,Brian

    Dave, since Im a glutton for punishment, I went ahead and re-installed the windows 10 upgrade to give your solution a try. I want to first point out that the SSD drive was not showing up in explorer like that post suggested for that person, it was simply not working, but still hidden as it should be. Windows 10 removed the folder with all the files for ExpressCache from my C: Drive, yet it was still installed via the control panel. Also the file provided in the link did not work either. It stated that it was not compatible with my version of windows and did not update. So that only works with Windows 8. I tried something else that ultimately didn't work either. I copied the ExpressCache folder from Windows.old  to Windows 10 which at least allowed me to uninstall ExpressCache.  I found the ExpressCache install from the SWSETUP folder and Windows would not allow me to install it. I appreciate your help so far and hopefully we can get this resolved. Thanks,Brian

  • Will I cloud work with windows XP

    Will iCloud work with windows xp

    Here is an simple, old hack to get iCloud control panel to work on Windows XP to give you synced access to Contacts, Calenders, Reminders and Bookmarks. It also can be used to set up your me.com mail. Photostream doesn't work.
    I found a solution here, have written it up in clearer english and added details re IMAP support for me.com addresses here:
    http://42i.co/s/1ii
    In summary:
    You need:
    Unpacking program e.g. 7-Zip or WinRar
    Orca MSI editor
    The iCloud setup hack for Windows XP:
    Download iCloud Control Panel for Windows- NOTE: old versions and already modified ones that (often) work are still avaliable in my solution: http://42i.co/s/1ii
    Open iCloudSetup.exe file with WinRar or 7-Zip and extract.
    Navigate to and open the iCloud.msi or iCloud64.msi (for 64bit systems) with Orca.
    In the left table select LaunchCondition. Then change in the right table “VersionNT> = 600” to “VersionNT> = 200” and Save.
    Run modified iCloud.msi and install.
    Run iCloud Control Panel, located in the Windows Control Panel, and set up as you want.
    I've had reports that you need to keep the files extracted from the .exe file in the same directory during installaton of the .msi file.
    Have fun!

  • Does the Ipod Nano work with Windows XP SP1???

    I studied the system requirements for the ipod nano and there was written, that I need a WinXP with SP2 for it.
    Because I use Sound-Software that only works with Windows XP SP1 I have to keep this system, and I now would like to know if that works. Could anyone answer this question??

    Have you try putting your ipod into disk mode if you need help putting it in disk mode here's a page from apple
    of how to put your ipod nano into disk mode: http://support.apple.com/kb/ht1363

  • Driver to have HP Laserjet C4120A (HP Laserjet 4000n) work with Windows 7

    We just put in 28 new Dell OptiPlex 3030 AIO with Windows 7 Professional in a school computer lab - but the tech guy did not install a printer for it to print to because he says our current printer - an HP Laserjet 4000n (C4120A) - is too old and will not work with Windows 7.  This is an EXCELLENT printer and has been working for us for a long time and I hate to give it up.
    Would someone please direct me to where a driver for this printer that will work with Windows 7 - or will Windows 7 automatically determine what driver is needed and retrieve it from its set of drivers it has with the operating system?
    Thank you so much for helping!

    Hello,
       I've seen this same issue with my printers (other HP printers) whereby the default setting to support the Duplexing hardware was set to 'off'.
      A quick method to check this is look at what the setting is for Duplex hardware in the Device Settings tab, and if it's not set, correct it.
      Printer Properties:
      From the 'Start' orb -> [Devices & Printers] -> right click on your Printer icon -> select 'Printer Properties' -> click on 'Device Settings' tab.
     You should see a dialog similar to the mine (attached): look for the 'Duplex unit (for 2-sided printing)' and see if it's set to "Not Installed":
        --> in either case, click on 'Not installed' and from the dropdown box, select 'Installed'... Click 'OK' to accept the changes and close the dialog.
    Printing Preferences:
     again, right click on your Printer icon -> select 'Printing Preferences' -> click on 'Advanced' tab.
     -->Check to see if there is a 'Duplex Hardware' or '2-sided printing' option in here: mine doesn't show one but thougth I'd mention it nonetheless.
      Click on the 'Finishing' tab and select 'Print on both sides'...or simply test print a multi-page document and set those preferences on-the-fly.
     Let me know if this helps...
    HardCopyTed
    Regards,
    HardCopy (I am employed by HP) [If this was helpful, please mark this 'Solved' or 'Accept as Solution' so others can find this too]
    How to Give Kudos | How to mark as Solved
    Attachments:
    PCL6-DeviceSettingsScreenCap.JPG ‏81 KB

  • ITunes 12.1.1 does NOT work with Windows - Fix??

    Hi everyone,
    I had issue after issue with the latest iTunes update (12.1.1) not working on my windows 7. It simply would not lunch when clicking on the shortcut to open.
    After a fair bit of searching I found this alternative version which seemed to do the trick and now it works:
    iTunes 12.1.1.4 for Windows (64-bit - for older video cards) - iTunes64Setup.exe(2015-02-18)

    The "for older video cards" installer - which, like most prior "64 bit" versions of iTunes, is actually a 32 bit application with a 64 bit installer - may be a useful fallback if the full 64 bit version does not install or run correctly.  Although 12.1.1.4 is a major improvement over 12.1.0.71, there are clearly still some lurking incompatibilities with some 64 bit Windows systems/components.  It is, however, a little misleading to say that "iTunes 12.1.1 does NOT work with Windows" - in many cases it works fine without switching to the alternative version.  I have the full 64-bit version of 12.1.1.4 running on three systems - two Windows 7 and one Windows 8.1 - no issues with either installation or operation on any of them.

  • Secondary display does not work with Windows...

    Ive been using a samsung syncmaster 920nw as my secondary display for the past few months. It works fine while running OS but when I switch over to Windows XP the display goes blank after startup. I have installed the proper drive and updated it whenever possible, but with no effect. I have tried to follow the troubleshooting prompts and pretty much everything else I could think of. Im out of ideas. I didnt buy the monitor to sit on my desk and take up space... Any help would be greatly appreciated.

    Still no luck... Has anyone else experienced this problem while running Windows through bootcamp? Is it possible there's a compatibility issue with XP vs. Vista? The display is new and bears the mark "Works with Windows Vista". Could that mean it wont work with XP? I obviously don't use Windows that often, but seeing as I purchased the monitor as a secondary display, it would be nice to be able to put it to use in Windows too. Thanks anybody...

  • How can I get my Canon A620 to work with Windows 7

    Just signed up here, ot the brightest with tech stuff. I'm trying to get my Powershot A620 to work with Windows 7. I'm guessing there's drivers I need to down load ? Will they be on the Canon website or on this help site ? 
    I'll keep looking around. 
    Steve

    If you need photo software and don't have any you can download Canon software here.
    http://www.usa.canon.com/cusa/support/consumer/digital_cameras/powershot_a_series/powershot_a620#Dri...
    But if you already have software you use there is nothing special you need. Ether connect the camera using a USB cable or remove the SD card from the camera and use a card reader (either an external one or the computer may already have one built in.)
    If  you decide to connect the camera via USB you don't need a driver; its built into W7.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Will itunes 11 work with windows xp, I have ended up with this neqw version and it doesn't work , I can look at my library ,but not play and since synching my ipod it is now empty. Apple support is useless, they treat me like I'm on a Mac not a PC .

    will itunes 11 work with windows xp , I have ended up with this new version after accepting an update and now although I can view my library I can't play anything and since synching my ipod it is empty. Apple support can't seem to get it's head around the fact I'm on a PC keeps asking for an apple serial number, Help!!!

    Morning gedeye,
    Thanks for using Apple Support Communities.
    System Requirements
    Windows XP Service Pack 2 or later
    32-bit editions of Windows Vista or
    32-bit editions of Windows 7, and Windows 8
    For more information on this, take a look at this article:
    http://support.apple.com/kb/DL1614
    Best of luck,
    Mario

Maybe you are looking for

  • 5.0.1 update...

    I just updated my 4s to ios 5.0.1 and it won't list my contacts names/caller ids when they call or text it just shows their phone #'s how do I fix this?!

  • Sending ID file to Photoshop

    I have a finalized book jacket in InDesign (CS3, 5.0.4).  I need it in an image format that I can manipulate in Photoshop, and which will be beautiful on the web. Have tried exporting into the available formats.  Only some will then come into Photosh

  • Plz help me....i need it urgent.....

    Am doing my final year prj and i want to create main menu. i want to create it by using code n not by using any menu development tool can anyone say me how to create menus in jsp without using any development tool i came to knw tht we can create it b

  • Licensing on Mac laptop and PC desktop

    Hello, I have the CS6 Masters Collection for Mac and was wondering if it's possible to somehow use the same license in order to install it on my new PC desktop.

  • Inherit protected attribute from a Super class

    Hi All, I am inheriting a standard class which has many instance protected attributes. how do i access the super classes protected attributes from the sub class.  i.e i need the value present in the super class attribute to be used in a sub class met