VLButtonBar Reference

Read/Write Property LockRefresh

See AlsoSee Also Applies To Applies To

Enables or disables automatic refresh under certain conditions.

 

Syntax

object.LockRefresh[= boolean]

 

The LockRefresh property syntax has these parts:

Part Description
Object An object expression that evaluates to an object present in the Applies to List.
boolean A Boolean expression.

Setting

The settings for Value are:

Settings Description
ConstantFalse Disables the refresh.
ConstantTrue (Default)Enables the refresh.

 

Remarks

Before adding a large number of properties, you should set this property to True and then back to false when the property addition is complete. This can significantly reduce the time taken to add the buttons and will also avoid possible ugly flicker of the control.