Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by himitsu,
16. Jul 2009
@Uwe:
also die Caption konnte ich ändern, ohne daß sie sich änderte
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by himitsu,
16. Jul 2009
Eigentlich dachte ich, daß dann jeder Frame für sich alleine steht und nur das Gleiche vorm Erstellen der Instanz auch gleich ist :gruebel:
Procedure CloneObject(O, O2: TObject; Const Ignore: Array of String);
Var List: PPropList;
i, i2: Integer;
Begin
i2 := GetPropList(O.ClassInfo, List);
If i2 > 0 Then
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by himitsu,
16. Jul 2009
Procedure Clone(C, C2: TObject);
Var List: PPropList;
i, i2: Integer;
Begin
i2 := GetPropList(C.ClassInfo, List);
If i2 > 0 Then
Try
For i := 0 to i2 - 1 do
If IsStoredProp(C, List.Name) and not MatchText(List.Name, ) Then
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by himitsu,
16. Jul 2009
was willst du denn nun damit erreichen und was kann sich alles an den Buttons ändern, welces übernommen werden soll?
im Notfall würde ja auch eine einfache Setter-Funktion ausreichen
z.B. statt
Button1.Caption := 'xyz';
Button2.Caption := 'xyz';
SetButtonCaption('xyz');
procedure SetButtonCaption(s: String);