Kurt,
droplist didn't work with the mouse but it wasn't obvious why. I wonder if
invoking Dialog() via an instance should be outright forbidden in GUI.pm
or GUI.xs.
Unless there is a reason for Dialog to exists as a method - it probably
should be forbidden - thoughts anyone?
Cheers,
jez.
I'm having a problem with AxWindow throwing an error
when it quits. I'm embedding the Microsoft Office
Document Imaging program into my app. When my program
exits, i get a dialog box that reads:
--
The instruction at "xx" referenced memory at
"xx". The memory could not be "read".
Hi Ariel,
As a guess this could be a scoping issue. When your app is shutting down,
various Perl variables will be destroyed and where appropriate, they will
call the destructors "elsewhere" (in the xs code), i.e., your main window
might be getting destroyed before your control (or vice versa)
Jez,
Thanks for the reply. I tried undefing the window,
ax-control and ole-control in various orders. All of
them still generated the error. I tried stepping
through the script to see which undef was causing the
error, but it seems to be caused by something under
the hood that happens after all
I have a simple window I've created. Usually, I just do windows with
buttons, but I have a need for text with the window. I have not found
any examples of how to do this. Can someone provide an example within
my example of how to just add text to the main portion of the window?
Thank you in adva
To add plain text, you can use a label:
$W->AddLabel(
-name => "mylabel1",
-left => 10,
-top => 150,
-width=> 100,
-height => 22,
-text => "Some Text Here"
);
--- MJG <[EMAIL PROTECTED]> wrote:
> I have a sim
Ok, that's cool, but let's say I want to fill the entire window with
text. Do I use a label for each row, or is there something I can use to
just fill the window?
Thanks
-Original Message-
From: Ariel Serbin [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 07, 2005 1:07 PM
To: MJG; perl-w
i'm not positive about the best way to do this, but
labels can wrap text. if you just make a big label it
will work. try this:
use Win32::GUI;
$win = new Win32::GUI::Window(
-title => 'test',
-name => 'mywin',
-left => 100,
-top => 100,
-width => 400,
-height => 400,
);
$lbl = $win->AddL
8 matches
Mail list logo