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

skip original event handler.

Hi guys,

I am using a control(I only got the dll file) downloaded from web.
Whenever a key is enter it will validate the user input. If not valid
it will ignore the key being enter. I want to skip that validation
handler. How do I do that?
Thank you!

Jan 2 '06 #1
2 1966
Jayson,

Unless the control offers a method or property you can set to change
this behavior, you can't do anything about it. Only a control itself has
access to the events, and only it can fire them or skip them.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jayson" <sc*****@hartapack.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hi guys,

I am using a control(I only got the dll file) downloaded from web.
Whenever a key is enter it will validate the user input. If not valid
it will ignore the key being enter. I want to skip that validation
handler. How do I do that?
Thank you!

Jan 2 '06 #2
"Jayson" <sc*****@hartapack.com> a écrit dans le message de news:
11*********************@g44g2000cwa.googlegroups.c om...

| I am using a control(I only got the dll file) downloaded from web.
| Whenever a key is enter it will validate the user input. If not valid
| it will ignore the key being enter. I want to skip that validation
| handler. How do I do that?

It is meant to be a common design practice to have an event like Click fired
by a method like OnClick. The OnClick method could well be virtual and
therefore, overriding this method could allow you to prevent the event being
called by making the override an empty method.

Look for a method on the control called On(WhateverTheEvent).

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Jan 2 '06 #3

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

Similar topics

18
by: Christopher W. Douglas | last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code...
8
by: Mark | last post by:
Hi, I'm looking for some ideas on how to build a very simple Event processing framework in my C++ app. Here is a quick background ... I'm building a multithreaded app in C++ (on Linux) that...
19
by: Christopher W. Douglas | last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code...
0
bartonc
by: bartonc | last post by:
When calling methods in wxPython which are intended to extend the fuctionality of an event handler, it appears as though one must take stack depth in to consideration. For example, I tried:# def...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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...

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.