473,385 Members | 1,311 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,385 software developers and data experts.

newbe: create new event with designer

Hi all,

with dobleclick on a control, the forms designer create a new eventhandler
for the actual control.
When you need an eventhandler for specific events (for example 'validating')
then you have to do it manually?
Or exists a way to do it with the designer?

Thanks for help

Peter
Nov 20 '05 #1
3 876
Look at the drop downs on the top of your code windows. They show anything
declared WithEvents, and the events (that are visible) will be in the drop
down to the right.
"Peter Ramsebner" <p.*@pr.com> wrote in message
news:up****************@TK2MSFTNGP10.phx.gbl...
Hi all,

with dobleclick on a control, the forms designer create a new eventhandler
for the actual control.
When you need an eventhandler for specific events (for example 'validating') then you have to do it manually?
Or exists a way to do it with the designer?

Thanks for help

Peter

Nov 20 '05 #2
Thanks for your help!
"CJ Taylor" <no****@blowgoats.com> escribió en el mensaje
news:10************@corp.supernews.com...
Look at the drop downs on the top of your code windows. They show anything declared WithEvents, and the events (that are visible) will be in the drop
down to the right.
"Peter Ramsebner" <p.*@pr.com> wrote in message
news:up****************@TK2MSFTNGP10.phx.gbl...
Hi all,

with dobleclick on a control, the forms designer create a new eventhandler for the actual control.
When you need an eventhandler for specific events (for example

'validating')
then you have to do it manually?
Or exists a way to do it with the designer?

Thanks for help

Peter


Nov 20 '05 #3
Peter,

* "Peter Ramsebner" <p.*@pr.com> scripsit:
with dobleclick on a control, the forms designer create a new eventhandler
for the actual control.
When you need an eventhandler for specific events (for example 'validating')
then you have to do it manually?
Or exists a way to do it with the designer?


Select the control in the left combobox on top of the text editor
window, then select the event in the right combobox.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

9
by: Yaro | last post by:
Hello DB2/NT 8.1.3 Sorry for stupid questions. I am newbe in DB2. 1. How can I read *.sql script (with table and function definitions) into a database? Tool, command... 2. In Project Center...
1
by: oz | last post by:
private void Page_Load(object sender, System.EventArgs e) { if(!IsPostBack) { String FileName; FileInfo MyFileInfo; Long StartPos = 0, FileSize; FileName = "J:\\Summary.txt"; MyFileInfo = new...
12
by: Wes McCaslin | last post by:
I have a question about concrete and abstract classes. what are the differances? can you explain them to me. I have started an advance Visual Studio.Net class and I am having a hard time...
1
by: Jim | last post by:
I have created a windows form that contains several tab pages which contain a panels. On a tab page I am trying to dynamically create a series of buttons in that pages panel. I am failing because...
11
by: Özden Irmak | last post by:
Hello, In my VB.Net application I create a new instance of my form like : NewForm = new MyNewForm() But with this line, this new form is automatically shown. I want it to be hidden at the...
0
by: Matthew | last post by:
All, I have searched google and the newsgroups but can't find anything the same as what I am experiencing (though I may have missed something). I have controls (textboxes) within UserControls...
0
by: Gary Shell | last post by:
I am experiencing some strange behavior between a UserControl's validating event and a treeview control. Initially, I thought it was related to an issue in the Knowledgebase article 810852...
0
by: lupina | last post by:
Hi I'm making web user control in ASP .NET 2.0 (TextBox + Button). It works allright, but I need to add property and event to it, that would be visible in VS Designer. With property I havn't...
19
by: AMP | last post by:
I have a simple question. If i have a button on form1 that creates : Form2 newform = new Form2(); newform.Show(); As I click the button a new form shows,but acording to my code each one has...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.