For Delphi 10.2.3: Not sure how to ask this question, but how do I create a method similar to memo1.lines.add(); and memo1.Lines.Count.ToString; where lines contains many other methods, procedures, and properties??
This is how I think it maybe:
unit.someproperty.anotherproperty.mymethod(myvariable: variabletype): variabletype;
or
unit.someproperty.unit2.mymethod(myvariable: variabletype): variabletype;
Appearance would appear like:
function component.extract.tagA(attribute, source: string): string;
procedure component.insert.tagA(attribute, source, dest: string);
procedure component.modify.tagA(attribute, source, dest: string);
if you type component. it would give you help with extract, insert, and modify as options to use next.
So, how do i make a function or procedure where I can have .extract. or .extract. or .insert. ETC
I know this should probably be basic knowledge, but the project I'm working on is becoming big enough for me to make it easier to read and use. I know this can be done, but I don't know how to word it properly in order to find what I need to do this.
I want to have multiple units... then I create a component using them so they have nested methods and procedures that work like those DOTTED methods and procedures you see in Tmemo... like memo1.lines.add, memo1.lines.delete, memo1.lines.insert, etc.
Please help! Thanks in advance!