Connecting the Controls

Add the following code to the form's FormShow event procedure:

procedure TForm1.FormShow(Sender : TObject);
begin
   TXTextControl1.ButtonBarHandle := TXButtonBar1.hWnd;
   TXTextControl1.RulerHandle := TXRuler1.hWnd;
   TXTextControl1.StatusBarHandle := TXStatusBar1.hWnd;
end;