SPONSORS:






User Tag List

Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting Text from Listbox

    Hi,
    im trying to get all the texts of a listbox in one statement. unfortunatly, neither "GetContents" nor "GetItemText" nor "GetSelText" are giving back the texts, only the index!?
    other commands, for example "Select", are doing their job.

    am i missing something?

    (the gui-tool is "ISA Dialogmanager")

    thanks for any ideas!

    Duck

    ------------------

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Text from Listbox

    From an internet search "ISA Dialogmanager" appears to be a German GUI-tool unrelated to Segue/Silk in any direct way.

    Not receiving useful return values from a core method such as GetContents can possibly be a tool problem (not very likely, though) or a problem inadvertently introduced by your development engineers.

    Check with your engineering department first, then try calling ISA support.

    Good luck,

    John


    ------------------

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Text from Listbox

    Thank you, i think, im on to the problem.

    our development engineers have taken an "edittext" to simulate a "listbox". they have a strange way of filling this object. so, i have to take a closer look at this thing.

    Duck

    ------------------

  4. #4
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Text from Listbox

    soo,

    it is really a real listbox! ISA ist still researching. well, lets wait what they turn out...

    so long!

    Duck

    ------------------

  5. #5
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Text from Listbox

    Look at the SilkTest help file under "Owner-draw list boxes". This is probably what you are seeing.

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

  6. #6
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Text from Listbox

    I downloaded the tool and verified that the listbox they are using is an ownerdrawn listbox. Unless ISA can add the fix that Segue's recommends, you will only get the index number out of the listbox.

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

  7. #7
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Text from Listbox

    Thank you, james! you were right.

    i asked ISA about that and they confirmed, that theyre using a ownerdrawn listbox.
    so, ive got to work around, until they fix it, or we change the gui-tool (which is not likely to happen in the near future).

    in their new version of ISA Dialogmanager they think they have a solution to this listbox-problem. im looking forward to that version!

    and: they warned me, that some of the other objects are also not quiet what they seem, so im in for a few more surprises

    Duck

    ------------------

  8. #8
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Text from Listbox

    just for info:
    in the new version of ISA DM the listbox-problem is history. they included the "HasStrings" style and now i can use the listbox-functions!

    Duck

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:19 PM.

Copyright BetaSoft Inc.