in reply to How do I change main window color Win32::GUI
use Win32::GUI; $Mainwin = new Win32::GUI::Window( -background => "red", -left => 612, -top => 15, -width => 400, -height => 450, -name => "Mainwin", -text => "Window Title" ); $Mainwin->Show(); $Maintab = $Mainwin->AddTabStrip( -left => 0, -top => 0, -width => $Mainwin->ScaleWidth, -height => $Mainwin->ScaleHeight, -name => "Maintab" ); $Maintab->InsertItem(-text => "Tab1"); $Maintab->InsertItem(-text => "Tab2"); $Maintab->InsertItem(-text => "Tab3"); $Maintab->InsertItem(-text => "Tab4"); $Maintab->InsertItem(-text => "Tab5"); Win32::GUI::Dialog(); sub Mainwin_Terminate { return -1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I change main window color Win32::GUI
by boat73 (Scribe) on Sep 10, 2004 at 14:56 UTC | |
|
Re^2: How do I change main window color Win32::GUI
by Anonymous Monk on Mar 02, 2005 at 15:30 UTC |