separator separator

MaxButton (Property)

Returns or sets a value indicating whether in the title bar will be visible the 'Maximize' button.


object.MaxButton [= value]

The MaxButton property syntax has these parts:

Part Description
object An object expression referencing to a vbSkinner object.
value A long setting specifying whether in the title bar will appear the 'Maximize' button, as described in Settings.


The settings for value are:

Value Description
skNo  (0) The button will not be visible.
skYes (1) The button will be visible.
skAutomatic (2) (Default) The button will or wont be visible according with the form property setting.

Remarks: The button to which this property refers is identified in the sample figure with number '2'.

Note: If the setting is skAutomatic (2) what specifies whether the button will appear are the form properties BorderStyle and ControlBox.


See also: Property page 'Buttons'
vbSkinner control constants


ActiveX controls for Visual Basic 6 - homevbSkinner help main page Beginning   Go back Back