SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to check that all fields are disabled

    Hi All,

    I have a screen that has all text fields disabled. Rather than using IsEnabled () per text field, is there a function that can check that all text fields on a screen are disabled.

    I started to use GetEverything (), but this gets more than just the status of text fields.

    Can someone help?

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Bloomington, IL
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to check that all fields are disabled

    I don't know of a function that will check all of the fields to tell you that they are inactive. I usually do the following:

    I capture all of the objects types I am looking for on the page and store them in a list of window and then set up a loop to go through the list and confirm that they are all inactive.

    This allows for more flexibility when confirming an atribute to a class of objects.


    MikeF

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

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

    Re: How to check that all fields are disabled

    It might work to do something along this line:

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


    [This message has been edited by DJGray (edited 10-16-2002).]

    [This message has been edited by DJGray (edited 10-17-2002).]

  4. #4
    KS
    KS is offline
    Senior Member
    Join Date
    May 2001
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to check that all fields are disabled

    Or you can use property set.
    i.e. goto record action and move your cursor to the top of that window (location of cursor is important)
    Then use CTRL-ALT to verify window's control.
    Select the property called 'Control State'. That should write all the code for you. This way the amount of code is going to be same but you'll have to do a lot less work.

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

 

 

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 11:07 AM.

Copyright BetaSoft Inc.