FormColorBorderThreshold method

[method icon] FormColorBorderThreshold(Threshold)

>FormColorBorderThreshold

FormColorBorderThreshold

In KCML style it may be the case that a control is colored similarly to the background of its parent. If so the control will be drawn with an outline border. The FormColorBorderThreshold(threshold) method sets the threshold at which contrast is considered poor enough to require a border. If the contrast is below the threshold value a border will be drawn. The threshold value can be a maximum of 255 where borders will always be drawn and a minimum of 0 where borders will never be drawn.

REM Draw borders around controls with poor contrast
Forms.FormColorBorderThreshold(20)
See also:

AddTool, AddToolAlert, AddToolFile, AddToolMenu, BlankDesktop, EnableAltCurrencyMode, FormColor, FormColorEnableGridBorder, HonorFormVisibleProperty, PersistFormSize, SetAltCurrencyMode, SetDBeditSearchTimeout, SetFormColors, SetGridCopyTimeout, SetToolAlertItemText, SetToolBarSize, SetToolItemText, SetToolMenuText, ShowToolbarOnly, SmallScreenLargeToolBar, SpoofGraph, TabEnterKey, TabReturnKey, UserColor