.NET Framework Class Library
Browser.SetTreePageSplitterPosition Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Browser Class > Browser Methods >

.NET Framework Class Library
Browser.SetTreePageSplitterPosition Method

Sets the splitters positions in the Tree Page.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub SetTreePageSplitterPosition ( _

 splitterId As String, _
 x As Double, _
 y As Double _
)

C#

public void SetTreePageSplitterPosition(

 string splitterId,
 double x,
 double y
)

Visual C++

public:

void SetTreePageSplitterPosition(
 StringsplitterId,
 double x,
 double y
)

JavaScript

function setTreePageSplitterPosition(splitterIdxy);

Parameters

splitterId

Type: System.String
It's the name of the splitter to be set. Valid values are:

o0 - for splitter between project and preview area

oG - for splitter between the preview window and the grids

oAPPLY - this is a special value for the parameter that performs the refresh of the browser window.

x

Type: System.Double
relative measure of the grid width in a 0-1 interval.

y

Type: System.Double
relative measure of the grid height in a 0-1 interval.

Remarks

When APPLY value is used for the splitterId param, x and y params are not considered.

It's advisable to use it once you've finished with splitters setting.

DBWorks browser must be open.

See Also

Browser Class

Browser Members

MwPDMApi Namespace