Page 1 of 1

Causing a browse header to open in 'sort' color.

Posted: Wed Mar 07, 2012 12:52 pm
by fbaker
I have a 'main' program which sets DC_BrowseSort(aSort) where the last element in aSort is the header background color (in my case GRA_CLR_RED) for all DCBROWSECOL objects which have a SORT clause. Is there a way to show a preselected header in DCBROWSE such that it already includes the up and down sort 'arrow' (i.e does not require a right click on the header to enable the arrow after the screen opens)?

Re: Causing a browse header to open in 'sort' color.

Posted: Wed Mar 07, 2012 1:41 pm
by rdonnay
Use the DEFAULT clause of the SORT options of DCBROWSECOL.

Re: Causing a browse header to open in 'sort' color.

Posted: Wed Mar 07, 2012 3:10 pm
by fbaker
Hi Roger. Thank you very much. That was too easy. Fred