Subject: | |
From: | |
Reply To: | |
Date: | Wed, 16 Dec 1998 06:33:31 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I just gave it a try. Not bad, for the Ada world, but not even close
to Delphi, VB, Visual Cafe, or any other Visual tool.
What we need is something like:
File | New Window
Window pops on screen
Palette of controls, etc.
Drop Button
Name the button MyButton in the Properties dialog.
Give it the Caption "OK"
Click on the event tab of properties dialog with Button selected
Type in name of procedure to MyClick (or optionaly package.procedure)
at the On_Click event.
It creates the spec and body for the procedures in the package with
the write signature to be assigned by access to the On_Click message.
You are then popped in to an editor where you can add the code you
would like to respond to the message.
At the same time code is added to the Package's On_Create method that
looks like
Create(MyButton, "OK", X => 10, Y => 10);
Set_On_Click(MyButton, MyClick'Access);
Show(MyButton);
It also created if the auto creation function is set for the window
and/or this is the top window in the Ada main procedure:
procedure MyApplication is
MainWindow : MyPackage.MyWindow;
body
MyPackage.Create(MainWindow);
MyPackage.Show(MainWindow);
GUI.MainLoop;
end MyApplication;
BTW, I crashed the builder in about 2 minutes with my first sample app.
David Botton
---Ian Goldberg <[log in to unmask]> wrote:
>
> >What Ada realy needs is a rapid prototyping tool like Delphi or VB.
> >(The "Toys")
> > ...
> >I noticed Aonix had a VB like builder, but it is not priced to hit
the
> >grass roots and the demo version is crippleware, so who knows its
real
> >value.
>
> The demo version of the Claw builder is free (along with the needed
binding),
> and available from the RR Software web site (www.rrsoftware.com).
>
> It works with any Ada 95 compiler for Windows.
>
> Ian
> R.R. Software, Inc.
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
|
|
|