Double-clicking a control containing an OLE object starts the application used to create the object, allowing it to be edited. For example, double-clicking a word in a text box selects the entire word. įor controls, the result of double-clicking depends on the control. To run a macro or event procedure when this event occurs, set the OnDblClick property to the name of the macro or to. The normal events for the control occur, but not any events for the attached label. Double-clicking an attached label has the same effect as double-clicking the associated control. ![]() ![]() It applies only to "freestanding" labels. This event doesn't apply to a label attached to another control, such as the label for a text box. It applies only to the option group itself. This event doesn't apply to check boxes, option buttons, or toggle buttons in an option group. The DblClick event occurs when the user double-clicks the form or control but before the result of the double-click action occurs (for example, before Microsoft Access selects the word that the insertion point is on in a text box). For a control, it occurs when the user double-clicks a control or its label in Form view. On a form, the DblClick event occurs when the user double-clicks a blank area or record selector on the form. ![]() Setting the Cancel argument to True (1) cancels the DblClick event. The setting determines if the DblClick event occurs. SyntaxĮxpression A variable that represents a Form object. The DblClick event occurs when the user presses and releases the left mouse button twice over an object within the double-click time limit of the system.
0 Comments
Leave a Reply. |