GRA_ transparent background

This forum is for eXpress++ general support.
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: GRA_ transparent background

#11 Post by rdonnay »

Here's a better solution.

It requires no changes to eXpress++ code.

Code: Select all

#INCLUDE "dcdialog.CH"
#INCLUDE "dcprint.ch"

FUNCTION Main()

LOCAL i, aAttr := Array(GRA_AS_COUNT)

aAttr[GRA_AS_COLOR] := GraMakeRGBColor({180,180,180})

DCPRINT ON

FOR i := 1 TO 11
  @ i,0 DCPRINT SAY Repl('X',80) FONT '12.Lucida Console'
NEXT

@ 3, 40 DCPRINT SAY "Office" ALIGN DCPRINT_ALIGN_HCENTER FONT "60.Arial Bold" ATTR aAttr

@ 9, 40 DCPRINT SAY "Office" ALIGN DCPRINT_ALIGN_HCENTER FONT "60.Arial Bold" ATTR aAttr

DCPRINT OFF

RETURN nil


PROC appsys ; return
The eXpress train is coming - and it has more cars.

bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: GRA_ transparent background

#12 Post by bwolfsohn »

Roger,

perfect..

many thanks..

(as usual)
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

Post Reply