On Aug 31, 2004, at 2:15 PM, Brady Duga wrote:
[snick]
Now take the case of a Foo object:
You want to add a Timer to a class, 'Foo', so the object can do
something periodically. You grab a Timer, drop it on the class, select
it (UI undetermined) and set it's properties. You toggle open
'Children' in the class editor and see a Timer1. You toggle that open
and see an 'Action' event. Click it, and add type:
self.DoSomething
if Done then
me.mode = 0
end if
There is no language addition, though there would need to be extensive
UI changes. It just makes events consistent across classes. I suppose
we would have to wait until RS rewrote the IDE. If only they would do
it with Rb itself, these additions would be even easier.
I think that you'd want a UI similar to the one that exists already.
You drop, say, a Timer on the code editor of a Widget. It then appears
as part of a new subheading, "Objects". Expand that, you see Timer1;
expand that, and you see the Action event handler in all of its
splendor.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|