[lazarus] Where is Classe.pp (lazarus)
Shane Miller
SMiller1 at stvgb.org
Thu Apr 22 09:39:22 EDT 1999
The next thing to do is getting the File - New , File -Open , File - Quit and Project - New Project menus to work. I would like to see a TApplication and TScreens class too. The TApplication's main task is to go through and create all the forms with a procedure Application.CreateForm(Class, Formname), or something close to that.
The TApplication should also contain a TList that contains all the forms and other controls. It is used to run through it and create all the children, plus keep track of all the controls in the project.
I am going to try and get the Memo.Lines.Loadfromfile top work correctly today.
Shane
>>> Cliff Baeseman <Cliff.Baeseman at Greenheck.com> 04/21 4:02 PM >>>
Shane where do you see us going now. I believe that we have a library that
is complete enough to build the first pass IDE.
I relize we will have to mod some of the controls and add methods but other
than that I see us starting to work the actual IDE now. We can always add a
control here or there if the certain section requires it. I would really
like to start working on the compiler options form this evening.
Cliff
-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Wednesday, April 21, 1999 3:47 PM
To: lazarus at miraclec.com
Subject: Re: RE: RE: RE: [lazarus] Where is Classe.pp (lazarus)
CVS has been updated with my latest code with TRadioButtons in it.
Remember that if you create a component, and do an AddControl then it
changes, we will need to look and see if we need to do a RemoveControl from
the owner, then destroy it and rebuild it. The state of the control should
remain constant because we aren't destroying the class itself that is
holding it's properties.
Anyone understand that gibberish?
Shane
--Nope, still nothing cute to say--
>>> "Shane Miller" <SMiller1 at stvgb.org> 04/21 3:34 PM >>>
Problem: The RadioButton needs to access a "group" item so it knows what
group it's in when it's created. However, the "group" property doesn't
exist in TControl or TWinControl so either I have to create one (which is
kind of a waste because nothing else uses it) or I have to actually create
the component in the TRadioButton class.
If I create the component in the TRadioGroup class, then how do I know when
to destroy it and re-construct it when , for example, the caption changes?
See if the caption changes, the radiobutton has to be recreated because gtk
doesn't give you the ability to simply change the label for a radiobutton.
You have to set the label when you create it.
So, should I move "group" all the way down, or is there a way (?virtual
function?) to notify a child class of a change caused by the parent
.............Can TControl call something in TRadioButton....
Shane
-- If I had something cute to say I forgot what it was --
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
More information about the Lazarus
mailing list