Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Richard M. on December 05, 2008, 05:10:05 pm



Title: Input Arrays in a GRID
Post by: Richard M. on December 05, 2008, 05:10:05 pm
Is there any way to turn off array element highlighting when using an INPUT ARRAY within a form GRID.

You used to be able to do this pre-Genero with the profile entry;

gui.interaction.inputarray.usehighlightcolor = false


The problem is i don't want to use a form TABLE because then DISPLAY statements (example below)in my .4gl don't work

DISPLAY <array element
  • .field> TO <screen field[y]> ATTRIBUTE(<colour>)


Title: Re: Input Arrays in a GRID
Post by: Sebastien F. on December 05, 2008, 08:39:37 pm
Richard,

I will double check on Monday but I believe we don't support this anymore.

We have a style attribute for Table called "highlightCurrentRow":

https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/PresentationStyles.html#STYATT_TABLE

... but it's for tables, so this will have no effect if you are using fixed screen arrays.

We will certainly have to support that old FGLPROFILE setting again, we work on BDS compatibility in 2.20.

May I suggest that you give a chance to TABLE + DIALOG.setCellAttributes() or setArrayAttributes()?

https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/ClassDialog.html#setArrayAttributes

Seb