Code center > Darwinbots Program Source Code
Sentence Split
Ulciscor:
Set the 'autoredraw' property for the picturebox to false.
Zelos:
it is false, but didnt you mean true? cause when I set it to true it vanished and another thing, in the condition I see things as condition(X as integer) what does that mean?
Ulciscor:
What condition?
Zelos:
any condition. like in db
--- Code: ---Form_MouseDown(button As Integer, Shift As Integer, x As Single, y As Single)
--- End code ---
and so on, btw that thing with the tool bar, ignore it. ive figured it out.
Ulciscor:
Those are the arguements passed to the function when it is triggered, if that's a good definition.
From your example, when a mouse button is pressed, the values in parenthesis are passed to the function for you to use. I.e. 'button' is the value corresponding to which button has been pressed, left or right. I'm not totally sure what 'shift' is, but 'x' and 'y' are the coordinates of the point the cursor was at when the button was pressed.
The 'As Integer' part means that the arguements are being passed to the function as integer-type variables.
Someone please correct me if any of this is wrong!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version