Consultor Eletrônico



Kbase P162536: How to display a background image in a .NET Form or Dialog?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/06/2010
Status: Verified

GOAL:

How can I display a background image in a .NET Dialog?

GOAL:

How can I display a background image in a .NET Form

GOAL:

How to set a background image in a .Net MDI Form

FACT(s) (Environment):

OpenEdge 10.2x
Windows

FIX:

To specify a background image for either a .NET Form or .NET Dialog, use the BackgroundImage and BackgroundImageLayout properties.
To change the size of the image when the form is resized, place the following code in the Refresh or RefreshEnd event handler of the form:

THIS-OBJECT:Refresh().