Connecting the Controls

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

[Visual Basic 6]
Private Sub Form_Load()
   TXTextControl1.ButtonBarHandle = TXButtonBar1.hWnd
   TXTextControl1.RulerHandle = TXRuler1.hWnd
   TXTextControl1.VerticalRulerHandle = TXRuler2.hWnd
   TXTextControl1.StatusBarHandle = TXStatusBar1.hWnd
End Sub