Changing the background color

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Changing the background color

Post by Antonio Linares »

Code: Select all

#include "FiveTouch.ch"

function Main()

   local oDlg
   
   DEFINE DIALOG oDlg ;
      SIZE ScreenWidth(), ScreenHeight()

   oDlg:SetStyleSheet( "QDialog" + CRLF + ;
                       "{" + CRLF + ;
                       "   background-color: #882244;" + CRLF + ;
                       "}" )
   
   ACTIVATE DIALOG oDlg 
   
return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply