Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


accessing a label from the "command" attribut

  • Dear vTcl users,

    I just discovered this IDE today and I'm very excited about its utilities for GUI design.
    I have a rather simple question and hope to get an answer soon:

    I want to call a label from the  [Attr]:command(...) field of a "button widget". This is the definition of the label inside vTclWindow.top48 proc:

    proc vTclWindow.top48 {base} {
    label $site_3_0.lab62 \         -text {no file selected}

    The variable $site_3_0 is set to .top48.frag49  . I tried the following but none worked:



    Please help me, I'm running out of ideas.