From: Jeremy A. <bc...@te...> - 2001-03-21 04:35:12
|
Is there a win32:gui builder availiable (eg. a visual aid in designing the gui) . Jeremy |
From: David H. <dh...@wh...> - 2001-03-21 14:11:02
|
> Is there a win32:gui builder availiable (eg. a visual aid in designing the > gui) . yes, well.. at least a basic one. Download: ftp://ftp.wh.whoi.edu/pub/gb109.zip Here is the README I sent out a little while back... This is my Win32::GUI Builder (gb) build 109. The previous version was 0.01 (decided to go to a build number). What's new since v0.01: - More Objects (Status Bar, RichEdit, ListView and TreeView). - Basic Image support (Can drag a BMP around and size it). - Added more options to Button property (they don't work yet). :) If this looks like a good way to go, I can do this to other objects and start adding the hooks. - Started adding options for what is saved when you write out the GUI design (this is found on the preferences screen). It doesn't work (don't use it), but it will give you an idea of what I'm trying to do. Any comments are welcome. Things that were fixed: The newer version of Win32::GUI fixed the display problem with text. The black draw problem (which was a memory problem) has been fixed - I might have sent out this patch in an earlier message (anyway, it is now fixed). Basic Setup and Use (same as before if you used v0.01): Install Win32::API (if you haven't already) You will also need Win32::API Unzip 'zip' file in an empty directory. Open a DOS Window and type: perl gb The "GUI Builder" window should come to life. Click File->New In the "Window Properties" Window change what you like then click "OK". The "Name:" field contain the variable associated with the window (ie. $Win). When you click "OK" a blank design window appears. Click on one of the objects from the toolbar and it's related property window will appear. Fill in the text when appropriate and click OK. Move the mouse over into the design area to place the object. Right Clicking the object will bring up a menu. Working with a group of objects: Left click and hold down in an open area to the top left of a group of objects. Drag the mouse down to the bottom right of the group of objects - a red box will appear around the objects. There are now several things you can do with the objects by right clicking in the red box. If you left click, hold down and drag in the red box, you can move the objects around on the screen. Clicking outside the red box cancels the select mode. Known Bugs: Click of Death - Occasionally clicking in the design area will cause gb do die completely (make sure the autosave feature is turned on). A started playing with a list of recently opened files to appear under the 'File' menu, but I haven't finished the code so it may not work remember all the files that it should. |