How Do I Set an Icon for a Form? (Magic xpa 3.x)
If you want, you can change the icon that appears in the corner of any particular form. This icon will show on the upper left corner of the form, and also when the form is minimized. This overrides whatever icon you chose at the project level.
-
Go to Task Properties (Ctrl+P).
-
Select the Interface tab.
-
Zoom from the Icon file name field to find the icon file you want to display.
Hint: You don’t want to have a hard-coded path name here, because when your application is installed, your users won’t have the same setup you do. If you code no path name, Magic xpa will look for the icon file in the directory where the .edp file is located (%WorkingDir%). But you can also use your own logical name to indicate where the icon file will be at runtime, or use a relative path.
The Online and Rich Client Samples projects (program TS29 and RTS29)