[perl-win32-gui-users] window refresh issue

2004-11-03 Thread Mark Nettlingham
Hopefully a simple one..

I have a couple of radio buttons - depending on the selection, I want to
hide/show fields.

Click event handler:
sub userradio_Click {
$cs->Change(-visible=>0);
$cslabel->Change(-visible=>0);
$ws->Change(-visible=>0);
$wslabel->Change(-visible=>0);
$us->Change(-visible=>1);
$uslabel->Change(-visible=>1);
#Refresh the main window somehow...
}

I need to refresh the window somehow. I tried $main->SetRedraw(1), but
that had unexpected effects.

Any advice would be appreciated before I start drawing rectangles over my
window to hide things!!




[perl-win32-gui-users] Tutorial alpha

2004-11-03 Thread Johan Lindstrom

I've started writing a tutorial on Win32::GUI and The GUI Loft.
http://www.darserman.com/Perl/TglTutorial/

Feedback wanted. There is a lot to improve, and I want to know what it is 
:)  Feel free to download the Word file, edit it and send it back to me.



/J
 --  --- -- --  --  - - --  -
Johan LindströmSourcerer @ Boss Casinos   johanl AT DarSerMan.com

Latest bookmark: "TCP Connection Passing"
http://tcpcp.sourceforge.net/
dmoz: /Computers/Programming/Languages/JavaScript/ 12