guides:cto_quick_start:integrating_character_forms_with_the_graphical_desktop

Integrating character forms with the graphical desktop

I. Launching a character form from a GUI menu

1. From the Form Designer open your MDI Client Window, go to Menu, Quick Events and open the Quick Event for the program you want to call. Choose Start an MDI child window. In the Params section, replace Target with ‘CTO_CHILD_FORM’ and CreateParam with the command to run your program followed by the pipe symbol and then the name to appear as the form title.

cto_052.jpg

cto_053.jpg

cto_054.jpg

2. You can now launch multiple instances of your character and graphical forms within your MDI Frame.

cto_055.jpg

3. You can add a GUI popup to your character-based program. In the source code of your pram add code similar to the following:

cto_056.jpg

4. Your character-based form can now call graphical popups.

cto_057.jpg

II. Adding an option to define macros and change CTO color schemes to your menu

1. With CTO you can add a menu entry to Define Macos and maintain the foreground and background colors of the CTO_CHILD_FORM. From the Form Designer open your MDI and add the following to the entry to the Menu Builder.

cto_060.jpg

2. The Define Macros and Color option on your menu will load the following form.

cto_061.jpg

  • guides/cto_quick_start/integrating_character_forms_with_the_graphical_desktop.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1