Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Wie Actions erstellen? (https://www.delphipraxis.net/123964-wie-actions-erstellen.html)

angos 12. Nov 2008 12:17

Re: Wie Actions erstellen?
 
Hi,

das ist keine Sache die grundsätzlich bei Actions auftreten müsste. Siehe nochmal meinen Post oben

Du musst die Funktion(Action) doch auch nur einmal programmieren. Du musst halt nur bei einem "Wechsel des Charts" (wann auch immer das bei dir passiert) irgendwie vermerken, dass das Chart aktiv ist

Delphi-Quellcode:
var
  myActualChart: TChart;


[...]
  // Hier ist ein Chartwechsel auf Chart1
  myActualChart := Chart1;

[...]
 
  // Hier ist ein Chartwechsel auf Chart2
  myActualChart := Chart2;

[...]
  // Hier ist die Action die die CHarts verarbeitet
  myActualChart.UndsoWeiter;
Ich hoffe, die Denkanstöße helfen


Gruß
angos


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:05 Uhr.
Seite 2 von 2     12   

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