Board index » delphi » sorry for OT

sorry for OT


2005-06-30 05:24:55 PM
delphi17
hi,
perhaps somebody know a good freeware software to convert DFM in pascal
source code, so to avoid publish DFM's in executable packageinfo RC DATA,
and build forms in runtime completely?
Thank you very much.
Roberto
 
 

Re:sorry for OT

Roby Della Pasqua writes:
Quote
perhaps somebody know a good freeware software to convert DFM in
pascal source code, so to avoid publish DFM's in executable
packageinfo RC DATA, and build forms in runtime completely?
GExperts has a "Components to Code" function which translates a selection of
visual controls in the form designer, into the equivalent code to generate
the same at runtime. it is perhaps not exactly what you want, but should
help...
--
Kristofer
 

Re:sorry for OT

THANKS
"Kristofer Skaug" <XXXX@XXXXX.COM>writes
Quote
Roby Della Pasqua writes:
>perhaps somebody know a good freeware software to convert DFM in
>pascal source code, so to avoid publish DFM's in executable
>packageinfo RC DATA, and build forms in runtime completely?

GExperts has a "Components to Code" function which translates a selection
of visual controls in the form designer, into the equivalent code to
generate the same at runtime. it is perhaps not exactly what you want, but
should help...

--
Kristofer


 

Re:sorry for OT

but I know here are the best GURU,
perhaps someone can help with D2006 variants bug?
in delphi5 this code permit to customize the print page footer and header
of iwebbrowser2(OLE):
var
vaIn :OleVariantl;
vaOut :OleVariant;
begin
Header := '&w';
Footer := '[Pag. &p - &P]';
vaIn := Null;
vaOut :=Null;
try
SafeArrayCopy(PSafeArray(TVarData(VarArrayOf([Header,
Footer])).VArray), psa);
VarData(vaIn).VType := varArray or varByRef;
SafeArrayCopy(Psa, PSafeArray(TVarData(vaIn).VArray));
PrintBrowser.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, VaIn,
VaOut);
....
in D2006 except: variant conv not supported
Any hint?
Thanks :'(