| Article | 60000277 |
| Type | HowTo |
| Product | Engine |
| Date Added | 10/22/2007 12:00:00 AM |
| Fixed | (10/22/2007 12:00:00 AM) |
| Submitted by | Levi De Azevedo |
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
