For the programmer, BROWSE is a great "quick-and-dirty" solution, especially for debugging. For the end-user, BROWSE should generally be substituted by a grid, which gives you more control.
Also, ESC to
select something is quite contrary to the standard user-interface users are accustomed elsewhere. You should use ENTER to select a record (alternative: click on "Accept"), and ESC to cancel a selection (the receiving program should check for an empty value, which it will receive in this case).
>I use the Browse feature a lot to help my users review data and to select records (like a drop down box but much more data viewable). They can position to the desired record and then press Escape to select that record.
>
>This has worked well for years but a new feature that I'm working on has raised a problem. I'm introducing a "hibernate" feature that enables me to close the forms on all of the workstations automatically. All connections to the server are broken and only a status form at the top of the screen is visable. This is working well in general.
>
>But if a Browse is being displayed when the hibernate happens I can't figure out how to close it programmatically. I can close the cursor that it is based on (which makes the Browse dissapear) but this has some awkward side-effects.
>
>I already have a TIMEOUT of 60 seconds specified for each Browse but it seems that this doesn't always execute.
>
>Is there a simple answer?
>
>Peter
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)