Re: Can you display a LONG field in FORMS3.0?
Date: 22 Aug 1994 14:19:58 GMT
Message-ID: <33ac6e$rrb_at_news.uni-c.dk>
Jeff Stander (jstander_at_ml.csiro.au) wrote:
: Can anyone tell me if it is possible to easily display a LONG field on FORMS
: 3.0?
: I am trying to build an internal HELP facility that will display a page of
: text when the user presses the <Help> key. I have RTFM and can't find any
: solutions I like. One way is to call a 1-field HELP form and invoke the
: EDIT_FIELD function on startup and ask the user to press the <EXIT> key to
: quit the help.
It's very easy to display a LONG field. Just define the the field length attribute to the maximum text length (up to 64 K) and overwrite the default key-edit trigger with edit-field(x, y, width, height). Then the user will be able to scroll through the long column. You may want to disable the update-allowed attribute for the LONG column. If the display attribute isn't a problem this method of creating a pop-up for help text will give you a minimum of programming work since the edit-field packed procedure will automatically wrap the text for you according to its display parameters.
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Christian Mondrup + + UNI-C Aarhus, Danish Computing Centre for Research and Education. + + Olof Palmes Alle 38, DK 8200 Aarhus N. + + + + Phone: +45 86 78 44 44 + + Telefax: +45 86 78 44 55 + + E-Mail: Christian.Mondrup_at_uni-c.dk + + + + Opinions expressed are mine and does not reflect those of my employer. + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Received on Mon Aug 22 1994 - 16:19:58 CEST