How Do I Implement a Background / Wallpaper for My Application? (Magic xpa 2.x)
You can set up your background and wallpaper in the Main Program.
The Main Program forms work just as the other program forms do, except that they will show as long as the project is running, behind the other task forms. You cannot have any data entry on the Main Program form, but you can have interactive controls such as push buttons.
In our example, we use wallpaper for the background, and also have a text box with the title of our application and version number, with a Start button to bring up a customized, stay-up menu.
-
In Task Properties, set Task Properties->Interface->Open task window = Yes.
-
In Form Properties Details, set Window Type = Fit to MDI.
-
In Form Properties Appearance, set Wallpaper to whatever file you want to use for wallpaper.
Other items, such as text or push buttons, you can add as you would for any other form.
Hint: You can customize the background further by using an expression for the file used for wallpaper, or by using an expression in the Main Display property of Task Properties to specify the form at runtime.