DH
> So you want something like a TFont property? I believe the source for
> that comes with Delphi.
hat would be TFontProperty in the VCLEditors.pas file.
--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
So you want something like a TFont property? I believe the source for
that comes with Delphi.
--
>> I believe the source for that comes with Delphi.
I don't have the sources...
Is it possible to obtain them for free...?
>> hat would be TFontProperty in the VCLEditors.pas file.
I found by Google that there is a TClassProperty...and that fits to my
requirements...
DH
TForm1 is declared in Unit1.pas
TForm2 = class(TForm1) in Unit2.pas
TMyEditor = class(TClassProperty) in Unit3.pas with [paDialog,
paSubProperties] set, and Edit overriden...
procedure TMyEditor.Edit;
begin
with TForm2.Create(nil)
do begin
ShowModal;
Free;
end;
end;
[Error] D3Maths.pas(2221): Undeclared identifier: 'ShowModal'
???
DH
I used a base class named TWorkArea, already defined in ComCtrls.Pas...
DH
Ahem... I rather think that is the point of buying
a more expensive version of Delphi...!
ie, anything other than the Personal/Explorer version.
cheers,
Chris
DH