>Hello,
>
>In order to let the user see a browse on a command line form, I do the following:
>
DEFINE WINDOW OutputWindow IN ;
> WINDOW (THISFORM.NAME) ;
> FROM 7, 3 TO 33, 75
>ACTIVATE WINDOW OutputWindow
>BROWSE WINDOW OutputWindow
>With the result that the browse window is always slightly too big, so that I cannot see the scrollbars.
>(The command BROWSE IN WINDOW removes the scrollbars altogether.)
>I do this on a top level form, so I cannot browse in the VFP screen. Therefore I need to define the window area on the form.
>
>Is there a way to display the browse window the same size as the defined window, showing the scrollbars?
>Thanks for your help in advance.
I suggest you use a grid on a form. The browse window is simply too limited, compared to the grid. It should be used by the developer, but not displayed for the end-user, IMO.
Hilmar.
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)