SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6

Thread: Button

  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Button

    Hi All,

    Can any help me is there any method to find the total number of button's are available in a screen.

    Thanks and Regards,
    Baya

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Location
    Wisconsin, USA
    Posts
    5,338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Button

    Look at the screen and count?

    First question - why?

    Second question - what value is added by doing this "test"?

    Answer - there is not a method. You will have to do some programming.

  3. #3
    Member
    Join Date
    Oct 2007
    Location
    uk
    Posts
    278
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Button

    Well dont you think you should look for some thing like... if particular button exists on current screen rather than count how many buttons are there.
    Never test the depth of the water with both feet.

    ASH

  4. #4
    Member
    Join Date
    Dec 2006
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Button

    Hi Baya,

    That should be possible, know the parent where the buttons were placed, usually it would be a panel. Then use the code below passing your panel name.

    DotNETPanel("panelButtonsContainer").Children.Coun t

    Regards,
    Stanley
    Stanley

    Enjoy with what you do!

  5. #5
    Senior Member
    Join Date
    Apr 2003
    Location
    Wisconsin, USA
    Posts
    5,338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Button

    What if it is not a dotNETPanel? My applications don't use them.

  6. #6
    Member
    Join Date
    Dec 2006
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Button

    Good feedback, I will fine tune my answer next time DSuared..
    Stanley

    Enjoy with what you do!

 

 

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.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 9.68%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 08:00 AM.

Copyright BetaSoft Inc.