![]() |
|
How to reach TIWForm’s or TIWFrame’s components from another TIWForm or TIWFrame in c - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: How to reach TIWForm’s or TIWFrame’s components from another TIWForm or TIWFrame in c (/thread-3093.html) |
How to reach TIWForm’s or TIWFrame’s components from another TIWForm or TIWFrame in c - Ibouka - 03-24-2023 I am working with a single IWForm in which I display alternatively IWFrames though it may have two IWFrame at the same time. Under VCL and FMX environment TForm class is redefined as extern package that can be used to reach its properties everywhere within the project. Code: extern PACKAGE TForm1 *Form1;The workaround I found is to manually redefine IWForm and IWFrame like below: Code: //.hFurthermore, this doesn’t work every time. If two IWFrame are displayed in the IWForm, the tip doesn’t work for the first one. I am afraid I am missing something trivial allowing to reach TIWForm’s or TIWFrame’s components from another TIWForm or TIWFrame in C++Builder. Any idea? Thank you for your help & Kind regards. |