Run when a mouse button is pressed while the cursor is over the frame. For further details, see the example under OnClick. Signature: Code OnMouseDown(self, "button")
Arguments: - self - Reference to the widget for which the script was run (frame)
- button - Name of the mouse button responsible for the click action (string)
- Button5
- LeftButton
- MiddleButton
- RightButton
Доступна для: Frame, ArchaeologyDigSiteFrame, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, Model, MovieFrame, QuestPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, PlayerModel, DressUpModel, TabardModel
Также смотрите: Событий API Виджетов
Ссылки: http://wowprogramming.com/docs/scripts/OnMouseDown
|