A "return -1;" , actually closes all the windows and exits the
program which is not quite what I had in mind! It would be nice if it
was that simple though!
Thanks for all the replies so far.
Darin
Darin Cruickshanks
Labs Manager, Computing S
There is a PM called the Modalizer. It comes with the FRE "The Gui
Loft", aka, TGL.
Its an interactive design of windows, ie, like VB and VC++ have.
With it comes a host of other packages as well.
Do you hate to figure out Resizing? Johan (author of TGL) and I believe
some work of others as well
If you want use a grid now, you can use an ActiveX grid with
Win32::GUI::ActiveX.
see : http://perso.club-internet.fr/rocherl/Win32GUI.html#AxWindow
I found a free ActiveX Grid. see : http://www.scgrid.com/
Laurent.
- Original Message -
From: "Garside, Trevor" <[EMAIL PROTECTED]>
To:
Se
I've got you covered. Here is a better way to approach this.
First off, you don't want to keep a single global-variable results window.
That gets tricky when you want to have more than one of them. Instead, I would
keep a global array called maybe @ResultsWindow (to keep with your naming
sc
The way I dealt with multiple objects with the same name/functionality was
to dynamically eval the events into main.
Try the below code - it is a hacked job, and can be tidied up, but should
give you a few ideas.
Cheers,
jez.
use Win32::GUI;
use strict;
my $unique;
my %resultswindow;
for
Well basically the MainWindow has a button to create a results window
and by design I want it to be able to create more than one window with
results (for camparison etc).
The new results window is created like this -
$ResultsWindow = new GUI::Window(
-title=> "Results",
-left => 400
Can we get some sample code to see how you're handling the window creation /
closing?
Trevor S Garside
[EMAIL PROTECTED]
-Original Message-
From: Cruickshanks, Darin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 30, 2003 8:43 AM
To: Perl-Win32-Gui-Users
Subject: [perl-win32-gui-user
All,
I have a gui window that can spawn multiple child windows, each with its
own 'Close' button on it. The close button works fine if there is only
one child window but fails to work if there are more than one. I
understand why this is happening but cannot think of a good way around
it!
An
Hi,
From a selfish point of view, a grid control would be great:)
For the next release of win::gui could all 'third' party modules be included
in the builds - or, at least a link included to them in the docs? It took me
a while to release that there are some very useful modules out there, I
9 matches
Mail list logo