TheClickButton

Typeexpression
DictionaryLCB
LibraryLiveCode Builder
Syntax
the ( current ) click button
Associationscom.livecode.widget
Summary

Determines the mouse button which started the mouse click.

Example
    variable tButton as integer
    put the click button into tButton

    if tButton is 1 then
        // do primary button action
    else
        // do secondary button action
    end if
Values
NameTypeDescription
return

The index of the mouse button which started the mouse click.

Description

Determines the mouse button which started the mouse click.

Tagswidget