[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Set The Background...

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
Here's code that we use to add a watersign image to the Mdi client area - changing the background color should be very similar. We run this code in the MDI container forms OnLoad method override - after the SUPER:OnLoad (e). DO i = 0 TO THIS-OBJECT:Controls:Count - 1: IF TYPE-OF (THIS-OBJECT:Controls, System.Windows.Forms.MdiClient) THEN DO: CAST (THIS-OBJECT:Controls, System.Windows.Forms.MdiClient):BackgroundImage = System.Drawing.Bitmap:FromFile (cFileName) . LEAVE . END. END.

Continue reading...
 
Status
Not open for further replies.
Back
Top