SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2000
    Location
    Dublin, Ireland
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    JFCComboBox.SetText and 5.0.3.2

    I have used the SetText(string) method on JFCComboBox successfully in 5.0.3 since I have upgraded to 5.0.3.2 it seems to be silently failing to Set the Text on the ComboBox.

    Anybody with similar problems or using this method successfully in 5.0.3.2

    Thanks!
    Rob

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: JFCComboBox.SetText and 5.0.3.2

    Rob:

    I usually use the Select() rather than SetText() with JavaJFCComboBoxes. Select is like using the mouse to look at all of the choices, and picking the one that matches.
    I am not positive, but I think that SetText() is like typing a few keystrokes in a combo box to bring up the choice you want. Jave JFC does not handle this well. (My developers tell me it is a Swing bug)
    This would explain the "silent" failure too.

    I also have problems with Combo boxes where SilkTest only sees garbled pointers to each choice, rather than the text of the choices.
    For these, I need to Select() by item number.
    Do a GetContents() on the box in question to see if this is the case.

    -Rob
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 06:12 AM.

Copyright BetaSoft Inc.