GetCaption - if there is a child control, returns the caption for that control; else returns the Index of the control as a string value.
Source position: ldocktree.pas line 50
public function TLazDockZone.GetCaption: string;