Skip to content

SetSize Method

Description

Sets the size of the popup control.

Syntax

Public Sub SetSize( _
    ByVal cx As Long, _
    ByVal cy As Long _
)

Parameters

  • cx: Width of the popup control.
  • cy: Height of the popup control.

Remarks

This method only sets the size of the Popup window. You will need to set the Bottom and Right properties to specify where the PopupControl is displayed on the screen.

Example

This sample illustrates how to set the size of the popup window.

' Specifies that the Popup window will be 170x130 pixels
' This will provide an area of 170x130 pixels to add items
' with the AddItem method.
PopupControl.SetSize 170, 130

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.