Einzelnen Beitrag anzeigen

Benutzerbild von KodeZwerg
KodeZwerg

Registriert seit: 1. Feb 2018
3.685 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: Bei Control.Hide verwaist die Scrollbar wenn VCL-Styles aktiv

  Alt 1. Apr 2018, 17:25
[Lernen] Wofür steht der Befehl "MyListBox.Parent := Self;", also was bewirkt das? [/Lernen]
[EDIT]
Zitat:
Use the Parent property to get or set the parent of this control. The parent of a control is the control that contains the control. For example, if an application includes three radio buttons in a group box, the group box is the parent of the three radio buttons, and the radio buttons are the child controls of the group box.
Deswegen frage ich, weil doch ein "MyListBox:= TListBox.Create(Self);" das bereits beinhaltet das der Control der Form zugewiesen ist.
[/EDIT]
Gruß vom KodeZwerg

Geändert von KodeZwerg ( 1. Apr 2018 um 20:26 Uhr)
  Mit Zitat antworten Zitat