Skip to main content

[archive] Grid Row Color Pattern in 8.0

  • February 14, 2008
  • 11 replies
  • 0 views

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy

11 replies

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
It might be helpful to post your example program as when I use 8.0 the color for each alternate row can show a different color. Example program and screen shot attached.

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
It might be helpful to post your example program as when I use 8.0 the color for each alternate row can show a different color. Example program and screen shot attached.

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
I attach herewith an example of our program. First, I noticed that in your program the "ROW-COLOR-PATTERN" is a single "(257)" value while in my definition it is a double "(513,417)" value. I got the whole screen section generated by AcuBench and I copied it by hand in the source file which i upload. I tested it both in a Thin Client and in a stand-alone Windows Run Time environments and the error persists.

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
Interesting, yes I can not get two colors with your program. My program had an after initial data paragraph that set modify Screen1-Gd-1, ROW-COLOR-PATTERN = ( 512, 480 ) . I can run your row-color-pattern with my program, screen shot attached.

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
Alright, I was able to get your program to use two colors in the grid. While the definition of row-color-pattern does not seem to work when defined in the screen section, modifying the grid before displaying the screen or nefore the accept seems to work.


MODIFY FRM-GRID ENABLED 1
MODIFY FRM-GRID MASS-UPDATE ZERO
modify FRM-GRID ROW-COLOR-PATTERN = (513, 417).
ACCEPT RIC-FORM

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
Alright, I was able to get your program to use two colors in the grid. While the definition of row-color-pattern does not seem to work when defined in the screen section, modifying the grid before displaying the screen or nefore the accept seems to work.


MODIFY FRM-GRID ENABLED 1
MODIFY FRM-GRID MASS-UPDATE ZERO
modify FRM-GRID ROW-COLOR-PATTERN = (513, 417).
ACCEPT RIC-FORM

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
This is a known issue and has been fixed for an upcoming release.

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
Actually modifying the grid row-color-pattern at run time works correctly.
By the way did you notice that if you write:
MODIFY FRM-GRID ROW-COLOR-PATTERN = (513,417) (with no space after the comma)
you get ONE red row alternated with TWO white rows, while if you write:
MODIFY FRM-GRID ROW-COLOR-PATTERN = (513, 417) (with a space after the comma)
you (correctly) get ONE red row alternated with ONE while row!

Regards, Sandro

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
Any chance you have decimal point set to comma? since this is a numeric property, the compiler will interpret it as a numeric value in that case.

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
Any chance you have decimal point set to comma? since this is a numeric property, the compiler will interpret it as a numeric value in that case.

[Migrated content. Thread originally posted on 14 February 2008]

Hello all,

It seems to me that the Grid Row Color Pattern feature isn't any more working in 8.0 at Run Time: I had most grids with an alternate row color pattern and I lost it everywhere.


Regards,
Sandro, Italy
Certainly that decimal-point is set to comma as we are in Italy (EU)!
Thanks, Sandro