JW,
I just upgraded to the latest version of the dll and now I have an issue leaving the WizUiButtonList.
Previously ( I think) if you hit the down arrow when you were at the bottom of the list that key would be passed on to:
private bool Form_OnKeyDown(KeyEventArgs e)
....
switch (e.KeyCode)
{
case System.Windows.Forms.Keys.Up:
...
By:
public bool OnKeyDown(KeyEventArgs e)
{
// If there is a popup, process it.
if (this.activePopup != null)
{
return this.activePopup.OnKeyDown(e);
}
// Allow controls to handle keystroke
bool handled = Controls_OnKeyDown(e); //BY THIS
// If keystroke not handled, deal with it from the form level
if (!handled)
{
handled = Form_OnKeyDown(e); //and on bottom of list I think it used to be not handled
}
return handled;
}
Now I don't get the down arrow keypress when I am at the bottom of the list which I assume means you handle it in the buttonlist where previously you did not.
Was this change intentional?
I just upgraded to the latest version of the dll and now I have an issue leaving the WizUiButtonList.
Previously ( I think) if you hit the down arrow when you were at the bottom of the list that key would be passed on to:
private bool Form_OnKeyDown(KeyEventArgs e)
....
switch (e.KeyCode)
{
case System.Windows.Forms.Keys.Up:
...
By:
public bool OnKeyDown(KeyEventArgs e)
{
// If there is a popup, process it.
if (this.activePopup != null)
{
return this.activePopup.OnKeyDown(e);
}
// Allow controls to handle keystroke
bool handled = Controls_OnKeyDown(e); //BY THIS
// If keystroke not handled, deal with it from the form level
if (!handled)
{
handled = Form_OnKeyDown(e); //and on bottom of list I think it used to be not handled
}
return handled;
}
Now I don't get the down arrow keypress when I am at the bottom of the list which I assume means you handle it in the buttonlist where previously you did not.
Was this change intentional?