TAB por ENTER
galera fiz um esquema para trocar o TAB pelo ENTER porém cada vez qeu teclo enter para passar funciona tranquilamente, porém da um bip no windows, qual o problema...abaixo código
if (e.KeyChar == (char)Keys.Enter)
{
if ((this.ActiveControl is TextBox) |
(this.ActiveControl is CheckBox) |
(this.ActiveControl is ComboBox) |
(this.ActiveControl is RadioButton) |
(this.ActiveControl is ListBox) |
(this.ActiveControl is ListControl) |
(this.ActiveControl is MaskedTextBox))
{
SelectNextControl(this.ActiveControl, true, true, false, true);
}}
if (e.KeyChar == (char)Keys.Enter)
{
if ((this.ActiveControl is TextBox) |
(this.ActiveControl is CheckBox) |
(this.ActiveControl is ComboBox) |
(this.ActiveControl is RadioButton) |
(this.ActiveControl is ListBox) |
(this.ActiveControl is ListControl) |
(this.ActiveControl is MaskedTextBox))
{
SelectNextControl(this.ActiveControl, true, true, false, true);
}}
Gm.gui
Curtidas 0
Respostas
Gm.gui
20/02/2007
Resolvi....o problema
GOSTEI 0
Rogick
20/02/2007
Olá amigo, poderia colocar por favor a sua solução, pois estou com o mesmo problema, e tb para q outros possam se beneficiar dela.
Obrigado.
Obrigado.
GOSTEI 0