Skip to content

pbFocusable - cWebToolBar

Determines whether the control will take the focus

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

{ WebProperty=Client }
Property Boolean pbFocusable
Access Type Syntax
Read Access: WebGet pbFocusable to BooleanVariable
Write Access: WebSet pbFocusable to BooleanVariable/Value

Description

Determines whether the control will take the focus.

If False, then the control will actually still take the focus (so it can also be controlled by the keyboard), but it will not register itself as the focused object, and it will give the focus back to the previously focused control after the OnClick. This is needed for menu items that perform operations that rely on the focus (like find operatons).

By default, this property is set to True if the control is inside a view, False if outside a view.

About Web Properties

Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.

The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.