Re: [UOPL-Architect] how design uopl gui applications
Status: Planning
Brought to you by:
bsstmiller
|
From: Richard B W. <rb...@us...> - 2004-12-03 18:17:39
|
Although both the VCL and CLX versions of TForm descend from an object named TCustomForm, they actually diverge from one another at the level of TComponent. (The VCL and CLX versions of TControl are declared in different units.) VCL TForm -> TCustomForm -> TScrollingWinControl -> TWinControl -> TControl -> TComponent -> TPersistent -> TObject CLX TForm -> TCustomForm -> TScrollingWidgetControl -> TFrameControl -> TWidgetControl -> TControl -> TComponent -> TPersistent -> TObject I don't have access to the source code of Delphi so I don't know for sure whether the form designers for VCL and CLX are different but the VCL and CLX versions of TForm are very different beasts. Richard B. Winston rb...@us... http://water.usgs.gov/nrp/gwsoftware/ 703-648-5988 on Fridays: 301 474-2762 |---------+------------------------------------------> | | Thomas Miller | | | <tm...@bs...> | | | Sent by: | | | uop...@li...| | | ceforge.net | | | | | | | | | 12/03/2004 01:03 PM | | | Please respond to | | | uopl-architect | | | | |---------+------------------------------------------> >--------------------------------------------------------------------------------------------------------| | | | To: uop...@li... | | cc: | | Subject: Re: [UOPL-Architect] how design uopl gui applications | >--------------------------------------------------------------------------------------------------------| Richard B Winston wrote: <snip> >You might object that CLX works and its TForm is not the same as the VCL >TForm. I suspect that the only reason the form designer for CLX works is >because Borland created a new form designer to work with the CLX TForm. I >suspect that the two form designers (if that is really what is going on) >share a lot of code and act the same way but they are not identical. It >might be worth looking at the CLX community project to see what is in there >that might be relevant to this question. > > I am almost positive they are the same. As long as the form descends from TCustomForm, I would expect that it will work. |