T Timothy Schablin Member Jan 16, 2016 #1 Get errors trying to work with mouseEvents using X, Y coodinates. Trying to get a component to position where the mouse is clicked. Kinda like this; Sub MainForm_MousePressed (EventData As MouseEvent, X As Double, Y As Double) .Left = X .Top = Y
Get errors trying to work with mouseEvents using X, Y coodinates. Trying to get a component to position where the mouse is clicked. Kinda like this; Sub MainForm_MousePressed (EventData As MouseEvent, X As Double, Y As Double) .Left = X .Top = Y
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2016 #2 Please use [code]code here...[/code] tags when posting code. It is not valid syntax in B4X. You must start with the variable (MainForm probably). Upvote 0
Please use [code]code here...[/code] tags when posting code. It is not valid syntax in B4X. You must start with the variable (MainForm probably).