English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

pls show me the code on how to set a form's default button in code behind using VB.net

Form.defaultButton = ?????

i could not figure out wut is to be filled at the latter part, pls help

thank you.

2007-02-25 14:39:26 · 2 answers · asked by jchris 3 in Computers & Internet Programming & Design

2 answers

form.DefaultButton = btnName

the name of the button you want to be default

2007-02-27 09:20:34 · answer #1 · answered by rod 6 · 0 0

you should evaluate wisely. The "varFile" is having completely qualified record call consisting of force letter, discern folder, sub-folder, etc.. you're evaluating promptly record call. So, the "Else" code is often carried out.

2016-11-25 23:26:06 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers