Changing the background color

Changing the background color

Postby Antonio Linares » Fri Mar 16, 2018 1:39 pm

Code: Select all  Expand view
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Return to FiveTouch

Who is online

Users browsing this forum: No registered users and 2 guests