Split Layout Item (PRIM_SPLI)

Defines the behavior of the control being laid out

Ancestors - Base Layout Item (PRIM_DLBX)Object (PRIM_OBJT)

Details

A spilt layout item defines the behavior of the managed control as part of a split layout.

The IDE will manage layout definition through the use of the designer. This code is provided for reference purposes.

Example

In this example...

     Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Clientwidth(660) Clientheight(338) Componentversion(2) Top(215) Left(237) Layoutmanager(#SplitLayout)

Define_Com Class(#PRIM_SPLM) Name(#SplitLayout) Orientation(Vertical)
Define_Com Class(#PRIM_SPLI) Name(#SplitLayoutItem1) Manage(#Panel1) Parent(#SplitLayout) Weight(1)
Define_Com Class(#PRIM_SPLI) Name(#SplitLayoutItem2) Manage(#Panel2) Parent(#SplitLayout)

Define_Com Class(#PRIM_PANL) Name(#Panel1) Displayposition(1) Height(338) Left(0) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(0) Width(330)
Define_Com Class(#PRIM_PANL) Name(#Panel2) Displayposition(2) Height(338) Left(338) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(0) Width(322)

End_Com

Properties

Name

Description

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

Manage

Defines the visual component to be managed

MaxHeight

Maximum height of the control when the container is resized

MaxWidth

Maximum width of the control when the container is resized

MinHeight

Minimum height of the control when the container is resized

MinWidth

Minimum width of the control when the container is resized

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

Reference to the layout manager of which this item is a part

Sizable

Allow the split item to resize

Weight

Proportion of the container allocated to the item

Events

Name

Description

CreateInstance

CreateInstance is signaled when an instance of a component is created [Inherited from Split Layout Item (PRIM_SPLI)

DestroyInstance

DestroyInstance is signaled when an instance of a component is about to be destroyed [Inherited from Split Layout Item (PRIM_SPLI)


See also

All Component Classes

Technical Reference

  • No labels