This should be the most important container in the IW, and its half and Tiwtabcontrol.
tiwregionUnit and succession chain:
Iwregion.tiwregion < Tiwcustomregion < Tiwhtml40container < Tiwhtmlcontainer < Tiwcontainer < Tiwbasecontainer < Tscrollingwincontrol < Twincontrol < Tcontrol < Tcomponent < Tpersistent < TObject
Main members:
Property Align:talignproperty Anchors:tanchorsproperty borderoptions:tiwcontainerborderoptions//Set the border width, color, Style Property Color:tiwcolorproperty Clipregion:boolean//CSS clip, if the control is larger than the area, whether cut; Default Trueproperty layoutmgr:tiwcontainerlayout//To apply the Layout Manager property Splitter:boolean//whether to provide split line; The location where it appears is related to the Align property Stylerenderoptions:tiwstylerenderoptionsproperty Visible:booleanproperty Dorefreshcontrol:booleanproperty Internaltaborder:ttaborderproperty Containercontext:tiwcontainercontext Property Iwcomponentscount:integerproperty Renderinvisiblecontrols:boolean//whether to render hidden controls; Default Falseproperty horzscrollbar:tcontrolscrollbarproperty vertscrollbar:tcontrolscrollbarproperty OnCreate: Tnotifyeventproperty onrender:tnotifyeventprocedure setbounds (Aleft:integer; Atop:integer; Awidth:integer; Aheight:integer) Procedure Invalidatefunction ownerform:tiwbaseformfunction Ownerframe:tiwhtmlcontainerprocedure Freeing (Aobject:tobject) procedure Forcealignprocedure DIsableautorangeprocedure enableautorangeprocedure Scrollinview (Acontrol:tcontrol)
Renderinvisiblecontrols Property Test:
Procedure Tiwform1.iwappformcreate (sender:tobject); begin Iwrectangle1.visible: = False; If IWRectangle1 is inside the IWRegion1 and has hidden the iwregion1.renderinvisiblecontrols: = True;//If you do not specify Renderinvisiblecontrols : = True Then Set iwrectangle1.visible from the asynchronous event: = True will not be valid end; {onasyncclick}procedure Tiwform1.iwbutton1asyncclick (sender:tobject; eventparams:tstringlist); begin Iwrectangle1.visible: = Not iwrectangle1.visible;end;
Splitter Property Test:
{Three tiwregion}procedure tiwform1.iwappformcreate (sender:tobject) with no nesting first; begin Iwregion1.color: = $ff 0000; Iwregion2.color: = $0000ff; Iwregion3.color: = $00ff00; Iwregion1.align: = altop; Iwregion2.align: = Alleft; Iwregion3.align: = alclient; Iwregion1.splitter: = True; Iwregion2.splitter: = True;end;
: