Re: ComboBox Behavior in DropDownList
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
For the sake of posterity, check this out:
http://www.csharphelp.com/archives3/archive502.html
Found it in another thread.
Ron wrote:
<yotaxp@xxxxxxxxx> wrote in message
news:1128224202.845505.213700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Try handling it's KeyPress event, and set the "Handled" property, from
the System.Windows.Forms.KeyPressEventArgs paramiter, to true. You may
also try to override it's "OnKeyPress" member, and set it to true
before calling the base class' procedure.
Another method would be to save the current SelectedIndex, and in the
SelectedIndex changed event, set the index back to the saved value.
HTH
Ron.
.
Relevant Pages
- Re: (Danger: Also On Topic) The Divergents
... Member - Liberal International =3D3DA0This is doc...@xxxxxxxxxx ... calling those who take him on, "trolls". ... They are corrupt, and t= ... Will ye repent for calling people "evil trolls", ... (rec.arts.drwho) - member overridding
... I have a base class with a static member function. ... I tried overridding my static member in a simple test class derived ... (alt.comp.lang.learn.c-cpp) - Re: interface mapping
... the point was about member hiding, ... Your example still shows that DerivedClass can't ... "Member hiding is not the reason because the base class should fulfill ... (microsoft.public.dotnet.languages.csharp) - Commentary: What LBJ would do
... Tom Johnson: Lyndon Johnson would use many tools to get action in Congress ... Tom Johnson, who served as one of LBJ's White House press secretaries, is former chief executive of CNN News Group and former publisher of the Los Angeles Times. ... He would have a list of every special request every member wanted -- from White House tours to appointments to federal jobs and commissions. ... He would have Billy Graham calling Baptists, Cardinal Cushing calling Catholics, Dr. Martin Luther King calling blacks, Henry Gonzales calling Hispanics, Henry Ford and David Rockefeller calling Republicans. ... (soc.retirement) - Commentary: What LBJ would do
... Tom Johnson: Lyndon Johnson would use many tools to get action in Congress ... Tom Johnson, who served as one of LBJ's White House press secretaries, is former chief executive of CNN News Group and former publisher of the Los Angeles Times. ... He would have a list of every special request every member wanted -- from White House tours to appointments to federal jobs and commissions. ... He would have Billy Graham calling Baptists, Cardinal Cushing calling Catholics, Dr. Martin Luther King calling blacks, Henry Gonzales calling Hispanics, Henry Ford and David Rockefeller calling Republicans. ... (soc.senior.issues) |
|