SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2000
    Location
    Ulm, DE
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Same Window with different parent

    Hey,

    When I record the window declarations of my app, there's a dialog window that has two different parents, like eg:

    DialogBox Info
    tag "Info"
    parent MainWin

    DialogBox Info
    tag "Info"
    parent LoginWin


    How Do I record this type of window in my inc--file?

    Thanks for your help...
    Silverter - A guru was once a beginner

  2. #2
    SQA Knight
    Join Date
    Jul 1999
    Location
    Grand Rapids, MI
    Posts
    3,727
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Same Window with different parent

    One method is to declare the dialog as a winclass without specifying the parent, as in:

    Then instantiate that winclass object in each window that can be the parent of that dialog, as in:

    Thereafter you can reference the dialog relative to its parent window, as in:

    As usual there are other techniques you can investigate as well.

    Hope this helps.

    -Terry Horwath




    [This message has been edited by Terry Horwath (edited 11-23-2000).]

 

 

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 12:41 AM.

Copyright BetaSoft Inc.