SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the dimensions of the control given the dimensions of the required client area.
VB | object.GetControlSizePix(LeftPix As Long, TopPix As Long, WidthPix As Long, HeightPix As Long) |
object
LeftPix
The required left edge of the client area. On return it contains the required location of the left edge of the tab control described by object. The units used are pixels.
TopPix
The required top edge of the client area. On return it contains the required location of the top edge of the tab control described by object. The units used are pixels.
WidthPix
The required width of the client area. On return it contains the required width of the tab control described by object. The units used are pixels.
HeightPix
The required height of the client area. On return it contains the required height of the tab control described by object. The units used are pixels.
The GetControlSizePix method returns the dimensions of the control given the dimensions of the required client area.
The GetControlSize and GetControlSizePix properties are synonyms, but use different coordinate systems.
This method can be used to calculate the tab control size if a minimum or specific client area size is required. By calling GetControlSizePix with the dimensions of the required client area in pixels (LeftPix, TopPix, WidthPix, HeightPix), SftTabs/OCX calculates the overall tab control size based on the current tab control property settings and returns the dimensions in the parameters LeftPix, TopPix, WidthPix, HeightPix.
See Also SftTabs Object | Object Hierarchy