Browser display

Hi

Progress V9.1d GUI Windows

I have a browser which needs to have certain rows 'highlighted' when the query is built. The following part code works but is messy - the screen thrashes when displaying a large query.

Can anybody come up with a neater solution?

Thanks

OPEN QUERY browse-2 FOR EACH tline NO-LOCK:
.....

FOR EACH tline WHERE tline.thing = "oktodisp" NO-LOCK:
lv-rowid = ROWID(tline).
REPOSITION browse-2 TO ROWID lv-rowid.
lv-log = browse-2:SELECT-FOCUSED-ROW().
END.
 
Hi,


Try to use ROW-DISPLAY trigger like:

on ROW-DISPLAY of mybrowse do:
mycoloumn:bgcolor in browse mybrowse = <colornum>.
end.

Best regards,
Gabor
 
Top