David,
I just tried it. Works right out of the box. Not bad for a beta. It's
terrific. Will you consider integrating it with Aldo's Pride!!!
Thanks,
Phil Larson
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Hiltz
Sent: Tuesday, October 26, 1999 8:43 PM
To: [EMAIL PROTECTED]
Subject: [perl-win32-gui] A Very Basic, Experimental Win32::GUI Builder
(gb)
"Thomas, Timothy B" wrote:
>
> I would also be interested in seeing this code, maybe we could help get
the
> bugs worked out if we had the code.
What the heck. Here is what I have so far...
I call it 'gb' (GUI Guilder) - easy to type.
There is the main program (gb) and three supporting files:
but_prop.pl (Button Property Window)
lab_prop.pl (Label Property Window)
bor_prop.pl (Border Property Window)
...and an optional config file (gb.cf) which lets me load
previous GUI designs quickly from the File menu.
The Edit->Delete does nothing.
To start things off, I type "perl gb" in a DOS window (I
developed this on a w95 box).
When the config window comes up click on File->New
You should get a "Design Window". Click on the "Butt" button in the
config window. You'll get a property window. Enter some text and
click
ok. You should get a button in the design window which follows your
mouse around. Click where you want the button placed. Now... if you
look at the code I'm scanning for a mouse click every few whatevers so
it does not always pick up the mouse click - you may need to click a
few times.
The border button is suppose to create a border or whatever it is
called.
Click where you want the upper left corner, move the mouse to the
bottom
right corner and click again.
I was playing around with a "select" button to select an object for
manipulation but I didn't finish it. A single or double mouse click
over the object would be better, but once again the way I do mouse
events is not the best.
The latest build 4?? broke some of the calls found down in
"Build_GUI_File"
so the numbers associated with each widget don't come out right. If
you
go back to the previous build 3??, it should work correctly.
Once again - I wrote this as a means for building quick and simple
GUIs and
as a way to learn about the capabilities of Win32::GUI. I never
finished
the code and I haven't looked at it for a few weeks.
With all that said - enjoy. ;)
-David Hiltz