Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Call property editor of component (https://www.delphipraxis.net/80855-call-property-editor-component.html)

ijcro 16. Nov 2006 12:53


Call property editor of component
 
Hello, can anybody help me, please?
I wrote property editor (for property type of TPersistent, very complex), it is form. I need use other property of the same component.

My editor is called from procedure
Delphi-Quellcode:
TMyProperty.Edit;
and value get from

Delphi-Quellcode:
AccessToProperty := TPersistent(GetOrdValue);
After them form is created and fields of edit form filled by data.

Please, how create the bridge (like with GetOrdValue or similar way) to other property the same component OR how touch to another components, placed in the same form from this?

Thank you for your answer and sorry for my English, but it is better than write by German and bad....

mkinzler 16. Nov 2006 13:18

Re: Call property editor of component
 
Try to cast to the corresponding Class instead to TPersistent.


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:09 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz