SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:59 AM.

Copyright BetaSoft Inc.