Page 1 of 1

Changing the background color

Posted: Fri Mar 16, 2018 1:39 pm
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