SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Checked List box

    I am having trouble in being able to tell if an item in a listbox is checked? i have supplied the list box that i am trying to check agaginst, does anyone have any suggestion, Thanks,


    1057585754.gif
    N+ CNA

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Checked List box

    What does Silk "see" when you point it at your control?

  3. #3
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Checked List box

    It see's it as a VBListBox, and Silk can see the items in the listbox but no indication of and checkbox for each item, using getcontents and getchildren methods...
    N+ CNA

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Checked List box

    Hmmmm, so since it knows there is a VBListBox, I'm going to assume you have your extensions enabled correctly. Does Silk see the VBCheckBoxes inside?

    Can you post the window declarations you get on this?

  5. #5
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Checked List box

    Yeah, the extension are enabled and here are the declarations for the list box....


    VBListBox ShowFieldName
    {
    multitag "Show Field Name"
    {
    "$lstChoices"
    }
    }

    And when i do a Print getChildren () it return nothing
    and when i do a getcontents it returns the list of items in the listbox, and so...

    Check Mark <-- THIS IS AN ITEM IN THE LIST
    Return Name
    Client#
    Type
    Completed
    SSN/EIN
    First Name
    Last Name
    Telephone
    Email
    Address
    City
    State
    Zip
    Created
    Modified
    Preparer
    Partner
    Status
    Due Date
    Date Billed
    Billing Address
    N+ CNA

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

    Re: Checked List box

    Random thoughts:

    Try changing that GetChildren() to GetChildren(TRUE) to expose hidden data is there is any.

    Can you check or uncheck the box?

    A discussion with the developers on this listbox would be useful. (Can they modify any of its attributes to expose the checkbox?)

    A GetClass() for an individual list item might be revealing.


    John

  7. #7
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Checked List box

    John,

    There was no hidden data, using the true parameter in the GetChildren method.......

    i Can toggle with the space bar to check and uncheck the item, but i need to find a way if it checked...

    Exactly how would the GetClass method work on revealing anything??? curious
    N+ CNA

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

    Re: Checked List box

    Originally posted by RCyr:
    Exactly how would the GetClass method work on revealing anything??? curious
    <font size="2" face="Verdana, Arial, Helvetica">My thought was that, when selected, an individual list entry might be identified as a checkbox object.

    John

  9. #9
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Checked List box

    Yes, it may , but how do i go about checking to see if a selected item is indeed a checked item???

    Syntax Help.........
    N+ CNA

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

    Re: Checked List box

    I'm on thin ice with this, but I was thinking that selecting a VBListBox item might expose the underlying class of the selected item just as Silk does when clicking a Java table cell that contains a graphically represented control.

    In the Java case, a 'select' operation results in the appearance of a solitary instance in which the item can be readily identified with a #1 tag.

    If this approach works in your case, the code after a Select would look something like:

    ShowFieldName.VBCheckBox("#1").IsChecked()


    John

 

 
Page 1 of 2 12 LastLast

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 01:29 PM.

Copyright BetaSoft Inc.