AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Propertys auf Klasse variabel ansprechen

Ein Thema von Eppos · begonnen am 19. Jul 2016 · letzter Beitrag vom 19. Jul 2016
 
Benutzerbild von himitsu
himitsu
Online

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.398 Beiträge
 
Delphi 12 Athens
 
#7

AW: Propertys auf Klasse variabel ansprechen

  Alt 19. Jul 2016, 14:42

Delphi-Quellcode:
fTabelle : Array[1..3] of String;

Property A1 : String index 1 read GetTabelle write SetTabelle;
Property A2 : String index 2 read GetTabelle write SetTabelle;
Property A3 : String index 3 read GetTabelle write SetTabelle;
Property A[Index: Integer] : String read GetTabelle write SetTabelle;
Die Signaturen der Getter und Setter sind hier identisch, also kann man Beides oder nur je eine Variante verwenden.
Ein Therapeut entspricht 1024 Gigapeut.

Geändert von himitsu (19. Jul 2016 um 14:45 Uhr)
  Mit Zitat antworten Zitat
 


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 20:43 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