resicon.pngResBuilder: Attaching Child Windows to Forms (Superseded)

ResBuilder has been superseded by the FormBuilder module in the BASIS IDE for BBj. ResBuilder is no longer included in the BBj download package as of version 12.0 but can be downloaded with Visual PRO/5.

Once you have created and defined a child window, do the following to attach it to a form during runtime:

  1. Make note of the ID of the child window you want to attach to a form. For example, the following child window has an ID of 101:

atchchw1.png

  1. Click the form to select it.

  2. On the Controls toolbar, click the Child Window button, then click the form.

  3. Position the child window button so that its upper left corner occupies the desired x,y location of the child window to be attached. A layout grid can be displayed within the form to make it easier to align and distribute child windows.) The following shows a child window placed on a form that is placed in an x,y position of 30,60:

atchchw2.png

  1. Enter the child window's control ID into the Child Window field. The above picture shows that a child window control ID of 101 has been entered.

  2. Child windows can be shared by more than one form. To insert the child window in another form, repeat steps 1-5.