SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2000
    Location
    Campbell, CA
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Controls class change

    I work with developers who have a tendancy to write an application with VB controls and then, for some reason, work on it and recompile using different controls, such as Sheridan.
    I know I can use the 'pipe' character in the tag to add new identity strings but am wondering if there is any way to make the class declaration for a window 'variable' so that I can use the same frame file for either iteration of the application.
    Anyone have any ideas?

    Thanks

  2. #2
    Junior Member
    Join Date
    Sep 1999
    Location
    Chicago, IL USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Controls class change

    I assume that there are two different ways that the developers compile their code. If the object hierarchy is the same both ways, you should use "multitags" -- where each definition has two tags -- one for each compile option. If this doesn't work, you can dynamically change your tags while running. Check which GUI you have at the beginning of your script by trying to select an object with one GUI's definition. If it fails, then use an except clause which changes all of your definitions to the other GUI. - Rob

 

 

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 10:45 PM.

Copyright BetaSoft Inc.