How to force "entry" event when clicking on an empty browser viewport?

Keith G.

New Member
Something that has long bugged me about the browse widget on Windows is that when a browse is not full (i.e., there is empty space on the lower portion of the browse viewport), clicking somewhere in the empty space does not force an 'ENTRY' event. The user must click on either the title bar, the column headers, or a populated row in the browse. This is annoying, and even more so when the browse is empty.

I have tried trapping for 'ENTRY' event of the frame but that does not trigger, either, unless a populated area of the browse is clicked.

Is there a solution to this?
 

Osborne

Active Member
Does trapping the 'MOUSE-SELECT-CLICK' solve?:
Code:
ON MOUSE-SELECT-CLICK OF BROWSE-1 IN FRAME DEFAULT-FRAME
DO:
   MESSAGE "Mouse Select CLick" VIEW-AS ALERT-BOX.
END.
 

Keith G.

New Member
Trapping for MOUSE-SELECT-CLICK of the browse widget does the trick. I put this in the trigger and it changes the viewport color to indicate selection:
Code:
apply "entry" to browse {&browse-name}.
Thanks for the pointer. Another annoyance solved!
 
Top