<< ibec_ibe_PerformAction | IBEBlock | ibec_ibe_EditDBObject >>

ibec_ibe_SetLngShortcut

ibec_ibe_SetLngShortcut changes the shortcut of a specified IBExpert action.

Syntax

 function ibec_ibe_SetLngShortcut(StrID : integer; Value : variant) : variant;   

ibec_ibe_SetLngShortcut changes the shortcut of a specified IBExpert action. StrID is the identifier of the language resource string associated with the action. String identifiers are listed in Tools | Localize IBExpert.

Value is an integer or string representation of the shortcut, for example 'Ctrl+Alt+F7'.

If successful, ibec_ibe_SetLngShortcut returns an integer value which represents the new shortcut, otherwise it returns NULL.

Example 1

Changing the shortcut of the Disconnect from database action:

 Res = ibec_ibe_SetLngShortcut(1019, 'Shift+Alt+D'); 

Example 2

Clear the shortcut of the Connect to database action:

 Res = ibec_ibe_SetLngShortcut(1018, 0); 

back to top of page
<< ibec_ibe_PerformAction | IBEBlock | ibec_ibe_EditDBObject >>