To link SystemIcons with system operations

 

If you want to execute a system operation such as Cancel, Submit, Clear Input, Exit Application, Exit Menu, or other navigational actions on your application, you can setup these items and then reuse them for all your apps.

a. On the Form: System Icons: Manage Icons Collection > (Icon) = (Custom)

b. Action=CallEvent. Event ID = Custom_Submit.

c. Open Configuration > Menus and Key Settings.

d. Assign values to the Action, Display Text, Image, and Object_Name. I.e.

e. Under Solution Explorer: Images. Add an image, name it the same object name that I used in Config: Menus and Key Settings.

f. Return to your app. On the desired page, drag an image control to the page.

g. In the Image controls property page, set the Icon=(Custom). Expand the drop down.

h. Name the icon the same name as the ObjectName used in step c. (Custom_Submit)

i. At runtime, the click event on this icon should execute the action assigned in step b.