More learning curve!  I am trying to set the foreground and background
colors for a report label:

8  Dim lblType as new ReportLabel

17 lblType.Text = $currProblem.ProblemType.Value
18 lblType.Brush = Report.Color($currProblem.ProblemType.ForeColor)
19 lblType.BackGround = Report.Color($currProblem.ProblemType.BackColor)



$currProblem.ProblemType.Forecolor is 22015 (i.e.mid blue)

I get 
----------------------------------------
ERR: Unknown symbol '_iValue' in class 'ReportBrush' (11)
Report.Color.365
RProblemDetail._new.18
MTEST.Main.9
----------------------------------------

What am I doing wrong?

tia
Bruce



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to