colors - How to change / assign BGCOLOR to a field/cell/row/column in a freeform query -
i using freeform query populate temp table fields. can adjust width fine cant assign color field/cell/row/column. how assign color ?
you need "row display trigger" go browse widget. like:
on row-display of f anywhere do: if "{&window-system}" = "tty" columnhandle:dcolor = getcolornum( "red" ). else columnhandle:fgcolor = getcolornum( "red" ). return. end.
something might handy getting columnhandle:
function getbrowsecolumnbyname returns handle ( z handle, n character ): define variable c handle no-undo. c = z:first-column. while valid-handle( c ): if c:name = n leave. else c = c:next-column. end. return c. end.
Comments
Post a Comment