Graeme Geldenhuys schreef:
On 1/16/07, Bogusław Brandys <[EMAIL PROTECTED]> wrote:
Strange.It is now used in tiOPF function tiGetUniqueComponentName(const
ANameStub: string): string;
When it was added ? I had no problems compiling tiOPF 2 under fpc lately.
It was added yesterday by Paul to the tiGUIUtils.pas unit.
Anyway,blind guess : it could be implemented using recursive scan on
TComponent.Name for all children starting from TApplication.
Any other method ?
Well, it's defined in the RTL and not Delphi's VCL, which is weird -
judging purely by it's name. I haven't had time to investigate more,
but it's internals executes a TIsUniqueGlobalComponentName procedure
type. When and where it gets assigned is still a mystery to me. :-)
Screen knows all forms and datamodule, so that is the component to implement a
TTIsUniqueGlobalComponentName function, I think.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives