Jump to content

Right click to select a row on a gridlist


Grafu

Recommended Posts

OnClientClick

string button, string state, int absoluteX, int absoluteY 

button: This refers the button used to click on the mouse, can be left, right, or middle

state: This can be used to tell if the user released or pressed the mouse button, where up is passed if the button is released, and down is passed if the button is pushed

absoluteX: This refers to the 2D x coordinate the user clicked on his screen, and is an absolute position in pixels.

absoluteY: This refers to the 2D y coordinate the user clicked on his screen, and is an absolute position in pixels.

Link to comment

Btw I made a custom dx gridlist. Looks nice and it's better than gui + easy to edit. You have to hold the scroll thumb and move the cursor. If you're having problems with gui grdlist then I can pm you my code and use dx grid list instead of gui. :)

EDIT:

onClientGUIClick is triggered when you click an gui element.

onClientGUIClick returns 4 parameters.

  
string button, string state, int absoluteX, int absoluteY 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...