Programming a colour in every other row of a table

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

Programming a colour in every other row of a table

Postby miorinnovo » Fri Dec 14, 2018 6:31 am

The code below makes the table white form rows 1 to 15. is there a away to only change the colour of every other row?

Code: Select all

table.setfillcolor(1:15) white

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: Programming a colour in every other row of a table

Postby EViews Gareth » Fri Dec 14, 2018 8:20 am

Only by doing them individually.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 22 guests