Search
FlowChart.KeyboardFlags Property
See Also
 



Allows customizing where keyboard related notifications are handled.

 Syntax

VB6  Copy Code

Public Property Get KeyboardFlags( _
    ByVal flag As EKeyboardFlag _
) As Boolean
Public Property Let KeyboardFlags( _
    ByVal flag As EKeyboardFlag, _
    ByVal Value As Boolean _
)

C++  Copy Code

public:
bool get_KeyboardFlags (
    EKeyboardFlag flag
)
void put_KeyboardFlags (
    EKeyboardFlag flag,
    bool value
)

 Parameters

flag
A member of the EKeyboardFlag specifying the flag to get or set.

 Property Value

A boolean value.

 Remarks

Usually FlowChartX processes keystrokes by handling the WM_KEYDOWN Windows message. However, in order to implement form navigation, some containers filter various key combinations and the respective messages don't reach the FlowChartX keyboard processing code. For example this happens when the control is placed inside a VB user control or in a VB MDI child window. For such situations, FlowChartX allows processing the keyboard events in its implementation of the COM IOleInPlaceActiveObjectImpl::TranslateAccelerator method. If you notice that the control does not process key presses as expected or does not fire the KeyDown event, consider enabling the following flags:

Flag

Default value

Description

fHandleDelInTranslAcc

false

If enabled, the DEL key is processed in the implementation of TranslateAccelerator.

fHandleArrowsInTranslAcc

false

If enabled, the arrow keys are processed in the implementation of TranslateAccelerator.

fHandleKeyDownInTranslAcc

false

If enabled, all keys are processed in the implementation of TranslateAccelerator.

 See Also