Copyright © 1998-2010 MultiMedia Soft

EnableAcceleratorForVB method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables the use of accelerators (also called mnemonics) in the Visual Basic environment. The accelerator is represented by an underlined letter on the button caption text. It is defined be entering an ampersand character (&) before a text character. The button is then executed when the user keys ALT and the accelerator letter.

Call this method for every control inside the Form_Load function

Notes: It is not necessary to call this method from within the Visual C++ environment.

 

Syntax

Visual Basic

control.EnableAcceleratorForVB