SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2002
    Location
    India
    Posts
    63
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help-In Silk , Can we pass Window or Object name thru variable?

    Hi! All

    I want to write one common function/Procedure which will accept window-name or Object name as it is in .inc file as an argument to it. like...
    procChkproperties(String Vobjectname)
    {
    //Where Vobjectname will contain -"Window.Textbox1"

    //and now i want to use

    objectname.SetText("")

    //etc.
    }

    is this possible


    -amit

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

  2. #2
    Member
    Join Date
    Mar 2002
    Location
    India
    Posts
    63
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help-In Silk , Can we pass Window or Object name thru variable?

    Hi! Rob
    Thanx
    I will chek it out and get back

    and what will be the argument type for textbox or other controls like
    "window1.textbox1" or will it work for all type of objects,

    -amit

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


    [This message has been edited by amitathawale (edited 05-02-2002).]

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help-In Silk , Can we pass Window or Object name thru variable?

    Yes, absolutely, I do this all of the time. Simply declare the argument to be of type "window" in your function/method declaration, for example:
    ------------------
    Rob Kapteyn
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  4. #4
    Member
    Join Date
    Mar 2002
    Location
    India
    Posts
    63
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help-In Silk , Can we pass Window or Object name thru variable?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by RobKapteyn:
    Yes, absolutely, I do this all of the time. Simply declare the argument to be of type "window" in your function/method declaration, for example:

    Hi!
    Ya!this is working fine, for any GUIobject

    Thanx
    -amit




    <HR></BLOCKQUOTE>



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

 

 

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 04:11 PM.

Copyright BetaSoft Inc.