Saltar para o conteúdo principal
Versão: 20

On Mouse Move

CodePode ser chamado porDefinição
374D Write Pro area - Button - Button Grid - Check Box - Combo Box - Dropdown list - Form - Hierarchical List - Input - List Box - Picture Button - Picture Pop up menu - Plug-in Area - Progress Indicators - Radio Button - Ruler - Spinner - Splitter - Stepper - Tab controlThe mouse cursor moves at least one pixel OR a modifier key (Shift, Alt/Option, Shift Lock) was pressed


Este evento é gerado:

  • quando o cursor do rato se move pelo menos um píxel
  • OR when a modifier key (Shift, Alt/Option, Shift Lock) was pressed. Isso permite que você gerencie operações de arrastar e soltar, como copiar ou mover.

If the event is checked for an object only, it is generated only when the cursor is within the graphic area of the object.

The On Mouse Move event updates the MouseX and MouseY system variables.

Objects that are made invisible using the OBJECT SET VISIBLE command or the Visibility property do not generate this event.

Chamar a pilha

If the On Mouse Move event has been checked for the form, it is generated for each form object. Se for verificada para um objeto, é gerada apenas para esse objeto. When there are superimposed objects, the event is generated by the first object capable of managing it that is found going in order from top level to bottom.

Veja também