![]() |
Delphi-Version: 2010
Update property of some type with other window
Continued old thred about frames...
So, on frame I have color selector. How can I assign choosed color in "real time" to any color property on main form (selecting color from image by mouse down and moving cursor)? When I want to modify object it's simple, because I can do it by pointer, but how about simple types? I added field FColor: PColor. When picking color C := SelectedColor and then FColor := @C. Don't working. |
AW: Update property of some type with other window
Use the Observer-Pattern. Oh, and try to find examples in Delphi before you continue to ask ;-)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:11 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz