You are not logged in.

Search results

Search results 1-3 of 3.

Sunday, March 29th 2009, 1:15pm

Author: Jon82

Event Handling

Thanks for giving time to help I can try to express myself better (not my strongest side): If you have a text-box, and you put some code in the key-down or key-press, like if you pressed a key that you would not allow to appear in the text-box, Can I abort the event, like that key dont get into the textbox? Like I am used to from Gambas in Linux you can type: Public Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyA Or KeyCode = vbKeyEnter Then Stop Event 'Stops the key-...

Saturday, March 28th 2009, 11:06am

Author: Jon82

Event Handling

Hello all! This is cool, I have allways wanted to learn java, just for making apps that will work both in linux and windows Now I dont need to I use VB in windows and Gambas in linux Now we got Jabaco! My Question: Is it possible to stop an event? Example: Public Sub rtfSend_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 10 Then cmdSend_Click() 'Some code to stop the event to go further on... End If End Sub Jon

WoltLab Burning Board