[Gambas-user] gb.Report : Setting label colors

Bruce bbruen at ...2308...
Thu Jan 9 02:20:58 CET 2014


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






More information about the User mailing list