avPaneFocus Method

Visual LANSA Framework

avPaneFocus Method

Method: avPaneFocus

Parameters:
Name Usage Class Description

Caller

Input – Mandatory

PRIM_OBJT

Always specify this argument as Caller(#Com_Owner).

Pane

Input - Mandatory

Alpha – max length 32

Specify as one of FILTER, INSTANCE_LIST, NAVIGATE_PANE, COMMAND_HANDLER indicating the pane to be focused.

 

Examples:

 

 invoke #avFrameworkManager.avPaneFocus Caller(#Com_Owner) Pane(FILTER)

 

  

Refer to the View menu option in the shipped example Framework:

And to the shipped example hidden command handler DF_DET45 which implements these menu options.

Filters (class #VF_AC007), Command Handlers (class #VF_AC010) and Custom Instance List Browsers (class #VF_AC012) components may override ancestor method  uAcceptFocus to specifically control which visible control receives the focus when avPaneFocus is used.

See shipped example components DF_FILT1 (filter), DF_T0023 (command handler) and DF_INST1 (custom instance list browser) for examples of this.