gui.setComponentBorderStyle

Adds borders to a component.

Prototype

  1. bOk = gui.setComponentBorderStyle ( hComponent, kBorderStyle, bTop, bLeft, bBottom, bRight )

Description

Check predefined border style constants for more information.


Parameters

hComponent - valid GUI component handle
kBorderStyle - predefined border style constant
bTop - use top border if true
bLeft - use left border if true
bBottom - use botom border if true
bRight - use right border if true


Return values

bOk - true if successful


Sample

  1. gui.setComponentBackgroundColor ( hPlatformButton, 44, 44, 44 )
  2. gui.setComponentBorderStyle ( hPlatformButton, 0x0400, false, false, false, true )

Available since ShiVa 2.0