[DUG] What is the point of using TFrame in FMX code
Paul A. Norman
delphi at paulanorman.info
Wed Sep 22 19:39:40 NZST 2021
>"It seems to me that its made the code less maintainable in that if you change the Frame, you have to remember to add it to the Form again"
That's I testing, I had hoped that if I used TFrame, that changing the ancestor would cascade down through the instances in all projects?
Not so?
--
https://PaulANorman.info
On 13 September 2021 11:00:05 am NZST, Rohit Gupta <rohitguptanz at gmail.com> wrote:
>What is the point of using TFrame in the following example and in
>general ?
>
>I was just looking at “*App Settings Screens*” sample that I downloaded
>
>from GetIt. There is a unit with a TFrame with a bunch of components.
>It’s used only in one form in this case. But, in a real application,
>this could only be used in one for form anyway. So how is the TFrame
>helping here. It seems to me that its made the code less maintainable
>in
>that if you change the Frame, you have to remember to add it to the
>Form
>again. Its using more resources and is going to take fraction more time
>
>to launch.
>
>What am I missing ?
>
>Regards
>
>*Rohit Gupta*
>B.E. Elec., M.E., Mem IEEE, Member IET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20210922/4849224d/attachment.html
More information about the Delphi
mailing list