Here is a table I drew up to distinguish between the "initialization"
sequences of three types of dialog. Any comments welcome - especially if any
mistakes or omissions seen.
Thx,
Oliver
UserDialog
RcDialog
ResDialog
Comment
dlg~new(.)
Yes
Yes
Yes
init
Yes
Yes
Create Menubar
.ScriptMenuBar~new
Yes
defineDialog
Yes
Create Controls in the template with
self~createXxx(.) where Xxx = control type.
Yes
Template defined by *.rc file
Can add controls and/or menu items.
No
(Template defined by *.dll file - cannot change it. So cannot add controls
or menu items.)
Called by superclass' init method (except for ResDialog)
Underlying dialog (Dialog Template) created?
Yes
Yes
Yes
dlg~execute(.)
initDialog
Menubar:
Controls
.BinaryMenuBar~new()
Create "proxy" controls with self~newXxx(.)
where Xxx = control type.
menuBar~attachTo(self)
Create "proxy" controls with self~newXxx(.)
where Xxx = control type.
.BinaryMenuBar~new
(plus optional create menu items)
Create "proxy" controls with self~newXxx(.)
where Xxx = control type.
Called by super via dlg~execute()
------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy
to use, easy to manage, easy to install, easy to extend.
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users