Prod.: Engine, ver.: 6, ID: 60000277, HowTo : How to change PropertyGrid's width and CommandLine's Height

HowTo : How to change PropertyGrid's width and CommandLine's Height

Article60000277
TypeHowTo
ProductEngine
Version6
Date Added10/22/2007
Submitted byLevi De Azevedo
Keywords

Subject

How to change PropertyGrid's width and CommandLine's Height

Summary

How to change PropertyGrid's width and CommandLine's Height in the vdFramedControl

Solution

You can do it with code, like :

vdFramedC.SetLayoutStyle(vdControls.vdFramedControl.LayoutStyle.CommandLine, true); // Show the CommandLine
vdFramedC.SetLayoutStyle(vdControls.vdFramedControl.LayoutStyle.PropertyGrid, true); // Show the PropertyGrid
vdFramedC.HistoryLines = 4; // Change CommandLine's Height, changing the history lines that will be displayed
vdFramedC.PropertyGridWidth = vdFramedControl.PropertyGridWidth * 2;// Change PropertyGrid's Width