in reply to Re: Win32:GUI check box to enable and disable features
in thread Win32:GUI check box to enable and disable features

Hi, Thanks for your response. here is what I added <code> sub cpLogsLocal_Click{ #$main->AddTextfield(-LocalCpPath->disabled(0)); $main->btnLocalCpPath->configure(-state=> ('disabled' || 'normal') ); } </code It doesn't seem to like the configure method. "Con't find 'configure' in package Win32::GUI."
  • Comment on Re^2: Win32:GUI check box to enable and disable features

Replies are listed 'Best First'.
Re^3: Win32:GUI check box to enable and disable features
by Karger78 (Beadle) on Sep 01, 2009 at 14:28 UTC
    I did do some further changes, I think I am on the right track at this time. So I am trying to change a property of textbox called LocalCpPath. Doesn't seem to work though.
    sub cpLogsLocal_Click{ $main->LocalCpPath(-disabled=>0,); }

      Try:

      sub cpLogsLocal_Click{ LocalCpPath->Enable(); }

      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.