October 10th, 2002, 02:54 AM
|
#1 (permalink)
|
| Ordained Mommy
Join Date: Oct 2001 Location: Big Sky Country
Posts: 4,259
|
oay for new thread for the bug i mentioned but is unrelated to my other problem, here is quote from email i got. I'll leave it up to you all to determine if this is actual bug or not.
***Names deleted to protect privacy*** Quote:
Hi All
Hey I found a bug today in VB.net that should come up when doing your lab.
On page 74 problem 48 you have two text boxes on your form.
when you click on one text box it loads the other text box with the contents of the text box that has been clicked, then it should clear the text box click
Well here is the bug, It make sense you would want to put your code in a click event, to find this you would be in the code window you have two drop down boxes, the let side is where you choose your object in this case the Text box, on the right side is where you choose the event procedure that you want to place your code in.
Well guess what it does not list the Click Event even there is a Click event for a text box. They do list a DoubleClick event, but that means you would have to click on the text box twice in fast succession to promote the action.
You can use the double click event it is teaching you the same logic that you would use in a Click Event. you can also change the DoubleClick part of declaration to just click, this has to be done to the statement " Handles txtMyText.DoubleClick" to something like this "Handles txtMyText.Click"
If you do that then you only have to click once on the text box as the exercise asks for
Have a nice evening I will see you all in class
| |
| |