>>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.
You are right. But this is a window used by our distributors where they can type in some code to do things behind the scenes, so to say, limited to one-liners.
We looked into various existing command line forms, but the difficult part remaining is to display the information properly.
The distributor may open a table and browse it and may correct or change some data outside of the program in a simple way without installing VFP on every machine (this would require thousands of copies).
Christian Isberner
Software Consultant