• Subject: Re: text entry widget?
  • From: James David Rich <james@xxxxxxxxxxxxx>
  • Date: Thu, 15 Jun 2000 13:09:16 -0600 (MDT)

CNTFLD doesn't quite do what I want - at least I don't know how to make it
do what I want.  Suppose the text the user is editing is longer than what
the screen allows?  Say my CNTFLD is 300 chars long and the text the user
edits is 750 chars.  So I display the first 300 chars in the CNTFLD.  If
the user presses the delete key I want the 301 char of text to move onto
the screen - in other words (IOW?) I need to handle off-screen data.

On Thu, 15 Jun 2000, John Kennedy wrote:
> Take a look at the CNTFLD (continued-entry field) DDS keyword.  It will
> allow inserts and deletes in a multi-line input field.  It adjusts text
> following your insert/delete point accordingly and also performs word wrap.
> 
> > Hi folks,
> > Does anyone know of a text entry widget that I can plug into rpg
> > programs, much like gtk of motif?  I want to insert and delete text.  I
> > want to be able to place the widget in a specified are of the screen.  It
> > needs to have callbacks that can interface with my rpg programs.

James Rich
james@dansfoods.com

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.