473,513 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Display Setup Question

Hello. I have just enrolled in a Visual Basic class, so please
forgive this very basic question about the display environment of the
VB Editor....

The illustrations in my textbook indicate that they can choose the
form that they have created in the Class View and, to the right of
that, they can choose one or more **specifically-named** event
procedure(s) that they have written for various objects (ie.,
btnPush_Click).

When I view my screen, however, I can choose the specific form that I
created in the class name box. However, I am unable to choose from
the method name box the specific event procedures that I have written.
All I see in the drop-down window are: "Declarations," "New,"
"Finalize," and "Initialize Component."

I am sure that this is something very simple... How can I choose the
event procedures that I have written in the drop-down window?

Thanks!
Jessi
Jul 19 '05 #1
4 1533
The "click" event is an event that is tied to a button, not the form, so you
must first select the control that owns the event in the left drop down box.

Even after you choose it in the left drop down, the drop down will later
revert back to showing the form, so you have to choose the control again in
the left drop down when you want to see its events.

"Marcia" <Je*********@yahoo.com> wrote in message
news:41**************************@posting.google.c om...
Hello. I have just enrolled in a Visual Basic class, so please
forgive this very basic question about the display environment of the
VB Editor....

The illustrations in my textbook indicate that they can choose the
form that they have created in the Class View and, to the right of
that, they can choose one or more **specifically-named** event
procedure(s) that they have written for various objects (ie.,
btnPush_Click).

When I view my screen, however, I can choose the specific form that I
created in the class name box. However, I am unable to choose from
the method name box the specific event procedures that I have written.
All I see in the drop-down window are: "Declarations," "New,"
"Finalize," and "Initialize Component."

I am sure that this is something very simple... How can I choose the
event procedures that I have written in the drop-down window?

Thanks!
Jessi

Jul 19 '05 #2
Thanks, Scott. I selected the control button on the left, and I was
able to see it's "Click" event on the right.

It irks me, though, that the book repeatedly shows something else. The
form is selected on the left, and "btnFranklin_Click" displays on the
right. I thought my display environment options were wrong!

Thanks again,
Jessi
Jul 19 '05 #3
Actually, your book is correct (although misleading). You see, after you do
successfully select your control event in the right-hand drop down box and
then do almost anything in the IDE, the LEFT drop down box reverts to
showing the form, but the RIGHT drop down box stays put.

This is a new behavior for these drop downs in VS .NET. It used to be that
once you selected something it stayed there until you changed it.

"Marcia" <Je*********@yahoo.com> wrote in message
news:41**************************@posting.google.c om...
Thanks, Scott. I selected the control button on the left, and I was
able to see it's "Click" event on the right.

It irks me, though, that the book repeatedly shows something else. The
form is selected on the left, and "btnFranklin_Click" displays on the
right. I thought my display environment options were wrong!

Thanks again,
Jessi

Jul 19 '05 #4
Thanks very much!!
Jessi
Jul 19 '05 #5

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

Similar topics

1
8365
by: Omer Ahmad | last post by:
Hi All, I've been working with python for about 6 months now, and have been very impressed with the size and scope of the libraries. I have, however, run into a bit of a problem. I...
4
2169
by: Richard Shea | last post by:
Hi - This is probably quite a stupid question but I've never understood what setup.py does. I've got a situation at the moment where I would like to use a script (which someone else has written and...
2
2594
by: mary | last post by:
I need to display 10 fields (columns) to display in a crystal Report. When I am trying to print the report some of the columns are cutting off from the report. Is there any way to display the...
1
1557
by: Laertes | last post by:
HI, is it there a possibility of selecting which fields to have visible on a form? Up to now I've setup another form which has true/false toggles (one for each field in question) on which I...
18
3321
by: Alpha | last post by:
Hi, I'm working on a Windows applicaton with VS 2003 on windows 2000. I have a listbox that I have binded to a dataset table, "source" which has 3 columns. I would like to display 2 of those...
4
249
by: Marcia | last post by:
Hello. I have just enrolled in a Visual Basic class, so please forgive this very basic question about the display environment of the VB Editor.... The illustrations in my textbook indicate...
2
7981
by: Erwin Moller | last post by:
Hi group, I have this obscure problem that really needs to be fixed, but I am out of ideas. Because the original script is very big, I'll try to summarize its functionality. Setup: - many...
4
5602
by: drew197 | last post by:
I am a newbie. I am editing someone elses code to make it compatible with Firefox and Safari. In IE, when you click on the proper link, a block of text is shown in a nice paragraph form. But, in...
0
4071
by: Luke Herbert | last post by:
I am very new to C# and have been trying to get to grips with it by writing a small tool to detect a USB key being inserted and then backup user specified files to the key. I have written some...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7162
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
7384
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
7527
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...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5090
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1597
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.