AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Object-Pascal / Delphi-Language Delphi Update property of some type with other window
Thema durchsuchen
Ansicht
Themen-Optionen

Update property of some type with other window

Ein Thema von WojTec · begonnen am 30. Dez 2011 · letzter Beitrag vom 30. Dez 2011
Antwort Antwort
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

Update property of some type with other window

  Alt 30. Dez 2011, 13:10
Delphi-Version: 2010
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.
  Mit Zitat antworten Zitat
Furtbichler
(Gast)

n/a Beiträge
 
#2

AW: Update property of some type with other window

  Alt 30. Dez 2011, 13:17
Use the Observer-Pattern. Oh, and try to find examples in Delphi before you continue to ask
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:47 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