Is it for Windows? If so, why not just use the same J edit control that the session manager and script editor are using?
--- "Miller, Raul D" <[EMAIL PROTECTED]> wrote: > I want to build a J form which is essentially a session manager. > > In other words, the user will type in a line of text. The > line will be appended to the session. An application function > will process the line. The result will be appended to the > session. > > Sessions can be large (hundreds of megabytes, worst case), > but usually only the tail end of the session is of interest. > > Sessions will be logged to a file. > > Advanced versions may color the text (input a different > color from ouput, for example). > > How to implement? > > One approach has a richeditm which represents the entire > session. This incurs tremendous cost updating the session > when the session gets large. I'm rejecting this as unworkable. > > One approach has a richeditm which represents the visible > part of the session. A scroll bar would allow navigation > within the session. Arrow keys could not be used for > scrolling (no J event handler for them). Mouse wheel could > not be used for scrolling (no J event handler for it). > > Any better approaches? > > Thanks, __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
