SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: Close() method

  1. #1
    Junior Member
    Join Date
    Dec 2001
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Close() method

    In my TestcaseExit() function, I was trying
    to close certain windows. However, when some
    of these windows get closed, a confirmation
    dialog appears.

    I just noticed in the online help and library
    browser that there are 2 optional parms you
    can pass on the Close() method for the MoveableWin class, which is what our windows inherit from. The first parm looks like it will solve my problem. It says if you pass a value of true for the first parm, any confirmation dialog that may pop up when closing the window will be closed.

    But, when I pass a value of true for the first parm, I get an error saying too many
    arguments to function Close.

    Any advice?

  2. #2
    Junior Member
    Join Date
    Sep 2000
    Location
    ca
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Close() method

    Kathy,
    Have you try to declare a generic confirmation box? I have similar issues but what I did was to put a while loop statement in my appstate.
    Ie.
    while dlgConfirmation exists ()
    dlgConfirmation.Accept ()
    This should reslove a lot of your problem.

    Tony Lam (Not the big Intel Tony)

 

 

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 05:50 AM.

Copyright BetaSoft Inc.