473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Different Events

One question as answered, - again thank you iwdu15.

I am still trying to find my way around vb.net properly...

Here is the question.

Lets say i add a textbox on a vb form.

If i double click on the textbox - i can write code for the "on change"
command.

How do I see / access the code that I can write ( but have not written yet )
for other events such as
"on right click" or "on something else" - where can i access those / or
where can i see a list of them.
( almost as if im looking for an "events" in the property of the text
box". )

When viewing code - the "on change" will show up in the top right drop down
box - but non of the other events show.

Similar to a "lost focus / on focus " and other events. Where do you access
all those for an object.

I hope i am explaining this right.

Thank you

Miro
May 8 '06 #1
2 1057
On the vb code window (Form1.vb for example), on the top left you have the
class name where you would select the name of the control, on the right you
have the events (click, gotfocus, etc)
"Miro" <mi******@golden.net> wrote in message
news:OY**************@TK2MSFTNGP05.phx.gbl...
One question as answered, - again thank you iwdu15.

I am still trying to find my way around vb.net properly...

Here is the question.

Lets say i add a textbox on a vb form.

If i double click on the textbox - i can write code for the "on change"
command.

How do I see / access the code that I can write ( but have not written
yet ) for other events such as
"on right click" or "on something else" - where can i access those / or
where can i see a list of them.
( almost as if im looking for an "events" in the property of the text
box". )

When viewing code - the "on change" will show up in the top right drop
down box - but non of the other events show.

Similar to a "lost focus / on focus " and other events. Where do you
access all those for an object.

I hope i am explaining this right.

Thank you

Miro

May 8 '06 #2
Thank you Jason,

I now have found it.
I dont know why i didnt see that before. I could have sworn that I tried
it.

Sorry iwdu15 - I didnt understand your answer properly.

Now i can start banging my head against vb.

Thank you for all your help everyone.
-Im sure there will be more questions... but ill hit them as they come.

Miro
"Jason" <js******@comcast.net> wrote in message
news:h8********************@comcast.com...
On the vb code window (Form1.vb for example), on the top left you have the
class name where you would select the name of the control, on the right
you have the events (click, gotfocus, etc)
"Miro" <mi******@golden.net> wrote in message
news:OY**************@TK2MSFTNGP05.phx.gbl...
One question as answered, - again thank you iwdu15.

I am still trying to find my way around vb.net properly...

Here is the question.

Lets say i add a textbox on a vb form.

If i double click on the textbox - i can write code for the "on change"
command.

How do I see / access the code that I can write ( but have not written
yet ) for other events such as
"on right click" or "on something else" - where can i access those / or
where can i see a list of them.
( almost as if im looking for an "events" in the property of the text
box". )

When viewing code - the "on change" will show up in the top right drop
down box - but non of the other events show.

Similar to a "lost focus / on focus " and other events. Where do you
access all those for an object.

I hope i am explaining this right.

Thank you

Miro


May 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Vince C. | last post by:
Hi. I'd like to trap ADO Recordset object events in my ASP script (either VBS or JS, no preference). I've tried (in VBS) writing a Sub rs_RecordChangeComplete( adReason, cRecords, pError,...
6
by: V | last post by:
I have found that when I have a composite control that uses the CreateChildControls method, on a regular page load, Page_Load executes before CreateChildControls, but on a postback it is the...
1
by: deko | last post by:
I have a popup "Tools" form with a tab control that has a different subform on each tab. The problem is that new tabs/subforms continue to be added as users request new features - so the code on...
3
by: Ramsin Savra | last post by:
Hi Group, How can I define one function but able to use it in different events? let's say I have a method which should be called in KeyPress and KeyDown and Click either ? thanks
7
by: sam.m.gardiner | last post by:
I'm working with VB.NET events and I want a way to disconnect all the handlers of an event. I want to do this in the object that is the source of the event. This is slightly tricky in VB.Net as the...
4
by: Joergen Bech | last post by:
Just out of curiosity: What is your favorite method of making sure that anything that happens on a form, only happens in response to a single, external event? Take the example below. I have made...
16
by: Stefano Sabatini | last post by:
Hi all, I'm facing this design problem. I have a table which defines the behaviour of an Object in a given state according to the type of event it is receiving. So for each couple...
1
rhitam30111985
by: rhitam30111985 | last post by:
Hi all , I was just going through the onneforeunload property here: http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo1.htm Now , consider a scenario such as this : my website is...
3
by: kristu | last post by:
i have this code: private void mouseclicks(object sender, EventArgs e) { int clicks = 0; clicks++; if (clicks % 2 == 0) ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.