another DCBROWSE question

This forum is for eXpress++ general support.
Post Reply
Message
Author
fbaker
Posts: 20
Joined: Sun Mar 14, 2010 11:07 am

another DCBROWSE question

#1 Post by fbaker »

Hello Roger,

I have not been aware of this behavior before so I need to ask the following question.

I have a small array browse. The array has 7 rows but the browse window is sized such that 9 rows can be displayed at one time. The unoccupied rows are shown in the default background color while the occupied rows are coded to show white background. If I click on either one of the unoccupied rows, the highlite immediately moves to the 7th row and the action associated with ITEMMARKED is executed. This seems counter-intuitive; I thought marking a blank row would be a no-op. Is it possible to tell the browse not to arbitrarily select the last active row?

Thank you. Fred WinXPpro/1.9/252

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: another DCBROWSE question

#2 Post by rdonnay »

This is obviously a default behavior of the XbpBrowse class.

I'm not sure how to override this. It will take some investigating.
The eXpress train is coming - and it has more cars.

fbaker
Posts: 20
Joined: Sun Mar 14, 2010 11:07 am

Re: another DCBROWSE question

#3 Post by fbaker »

Roger,

Just for the exercise (or is it exorcise), I made the browse height a programmatic function of the array length. This seems to work as a means of suppressing the unoccupied rows but then the vertical scroll bar is confused (i.e. not showing its full length when the entire array is all that's visible). Don't spend a lot of time on this unless there is an obvious fix or workaround.

Thanks. Fred

Post Reply