HP OpenVMS Systems

ask the wizard
Content starts here

Text Editor as User Interface?

» close window

The Question is:

I am writting an application that spawns an EVE Editor session that will allow
 the user to enter text into a temporary file.  My question is this, is there
 any way I can limit the number of lines the user can put into the file ?
Thank you.

The Answer is :

  Use the callable interface to the editor, and avoid the spawn.
  No, there is no particular way to limit the number of lines the
  user can enter.
  If you require control over user input or if you require data
  verification, a text editor is far from ideal as a user interface.
  Common alternatives include a webbrowser as a client and HTML forms,
  or using web-based applications written using Java, JavaScript, Perl,
  Python or any of the available plethora of web tools.

answer written or last revised on ( 12-JUN-2001 )

» close window