Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET General > Buttons AND LinkLabel problem in .Net 2003


Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2006, 03:52 PM
BulletSponge's Avatar
BulletSponge BulletSponge is offline
Junior Contributor
 
Join Date: Aug 2005
Location: Orlando
Posts: 335
Default Buttons AND LinkLabel problem in .Net 2003


Please look at the attached code and run it before you post. (Directions are included in a label in the app)

I also have a prior post that deals with the Link-Label issue alone, but the solution (make a label that looks like a link-label) won't cut it for buttons.
Post dealing with Link-Labels

Here is an overview of the problem;
I have an MDI Parent form that dynamically loads MDI Child forms based off of a Treeview Node select event.
When the MDI child form loads and you press a button or link label, a dialog form opens.
Now at this point, switch nodes to the same type and press enter in ANY textbox.
Watch in amazement as the LinkClick or Button Click event fires and NOT the keypress event of the textbox.

PLEASE help me figure out what I am missing here!
Is it a focus issue? Do I have to trigger some different event? Anything?!
Attached Files
File Type: zip TreeLinkTest.zip (17.4 KB, 3 views)
Reply With Quote
  #2  
Old 11-29-2006, 12:35 PM
BulletSponge's Avatar
BulletSponge BulletSponge is offline
Junior Contributor
 
Join Date: Aug 2005
Location: Orlando
Posts: 335
Default

Any ideas?

And FYI; It is a .Net 1.1 issue.
I built the same app using 2005 and the problem is gone.
Reply With Quote
  #3  
Old 12-02-2006, 01:35 AM
Allen G's Avatar
Allen G Allen G is offline
Centurion
 
Join Date: Jul 2004
Location: Arlington, Texas
Posts: 189
Default

Create your own LinkLabel or upgrade to 2005.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->