473,785 Members | 2,354 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: "Declaratio ns," "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 1569
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*********@ya hoo.com> wrote in message
news:41******** *************** ***@posting.goo gle.com...
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: "Declaratio ns," "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_Cl ick" 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*********@ya hoo.com> wrote in message
news:41******** *************** ***@posting.goo gle.com...
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_Cl ick" 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
8390
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 discoverred Marc Hammonds PyWin32 extensions, (whcih are awesome) and Tim Golden's WMI wrapper for accessing the Windows Management Instrumentation (Win32_Classes) but now I have been asked to remove these dependandcies and still obtain machine...
4
2175
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 made available) to do CGI on a shared webserver to which I do not have shell access. The install instructions say "run python setup.py" but as far as I'm aware I cannot do that. There is only one script involved (except for the setup.py !)...
2
2624
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 report horizontally. I am using Crystal Report 9. Please some body help me Thanks mary
1
1569
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 select which fields I want visible. Then when I open the form in question the "openform" subroutine checks which toggles have true values and sets the visible property of the corresponding fields to true. So far so good...BUT I want to compact the...
18
3352
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 columns, "scode" and "sname", as 1 column (if not possible then 2 columns will be fine) in the listbox. Can the listbox display 2 columns information from the dataset and how can I do that? Also, I set the property of the listbox to selectionmode...
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 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).
2
8002
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 form-elements that will 'activate' a part of the form based on the selection made.
4
5624
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 FireFox and Safari it appears as a narrow column of text with only 2-3 words per line. Here is the code: function showAll()
0
4092
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 code and been able to construct a WMI query and can even get the output of this query to display to the console but not to a TextBox on my form. I fear it is embarassingly obvious but having looked at a whole heap of books (not read them in their...
0
9646
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10350
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9957
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7505
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5518
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.