Knowledge Base 
Setting the size of DialogBar 
 Monday, May 20, 2024

Setting the size of DialogBar

You can change the size of the dialog bar at run time by using the SetSize method of the DialogBar object.

Note: actually, this method sets the size of child form. Real size of the dialog bar is the size of child form plus borders (see SYSMETRIC() function for more information; nScreenElement = 3 || 4).

This sample code illustrates how to set the width of the child form of the dialog bar to 200 pixels:

ThisForm.dialogBar1.SetSize( 200, ThisForm.dialogBar1.Height)