vb.net - What are some good options for providing help on a form with minimal controls? -


i have few textboxes require user input, , want add user can revert in case forgot proper syntax required input.

for example, if in textbox1 input must "bsample" or "bsample2" want show user (i.e., bsample) may see proper syntax required.

i know can add button , show messagebox, seems simple, tooltip, i'm not sure if user might hover long enough see example. tips?

did quick test on code tooltip method, , works me:

'in form's general declarations: dim tt new tooltip  private sub textbox_enter(sender object, e eventargs) handles textbox1.enter, textbox2.enter 'list out text boxes here     dim txtbx textbox = sender, disptext string     select case txtbx.name         case textbox1.name             disptext = "how use text box 1"         case textbox2.name             disptext = "how use text box 2"         'flesh out text each text box     end select     tt.show(disptext, txtbx) end sub  private sub textbox_leave(sender object, e eventargs) handles textbox1.leave, textbox2.leave 'finish list above     tt.hide() end sub 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -