Skip to content

peMouseSelectOk - cMonthCalendarPrompt

Determines if an Ok selection should occur on a click, on a double click or not at all

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

Syntax

Property Integer peMouseSelectOk
Access Type Syntax
Read Access: Get peMouseSelectOk to IntegerVariable
Write Access: Set peMouseSelectOk to IntegerVariable/Value

Description

peMouseSelectOk determines if a mouse click/double-click is used to make a selection, where it sends the Ok message, which closes the prompt list and processes the selection. You can use a mouse single click to send Ok, a mouse double click to send Ok, or not send Ok at all.

Single click (msoClick) is nice for single select and is the default. No select (msoNone) is good for date-range select (pbMultiSelect=True).

Note that you can also select with an "Ok" button or by pressing Enter.

Valid values:

Constant Meaning
msoClick Select on Click
msoDblClick Select on Double Click
msoNone Don't Select Via Mouse