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

Fabien Bodard gambas.fr at ...626...
Thu Jan 9 11:05:33 CET 2014


You are one of the first advanced user of gb.report... Thank you

So bugs are... I will see what I can do ... I have no many time today
Le 9 janv. 2014 02:22, "Bruce" <bbruen at ...2308...> a écrit :

> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list