[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

644.0. "Tough Cookie for DECWINDOW Gurus" by AIAG::SURESH (Suresh) Thu Apr 20 1989 12:59

    <<< HARBOR::SHPLOG$DUA1:[NOTES$LIBRARY]DECWINDOWS_PROGRAMMING.NOTE;1 >>>
                    -< DECwindows Programming hints/kinks >-
================================================================================
Note 238.0              Tough cookie for DECWINDOW gurus              No replies
AIAG::SURESH "Suresh"                                26 lines  20-APR-1989 11:53
--------------------------------------------------------------------------------

 A tough cookie for the DECWINDOW gurus

  What I would like to is this:-

     In a scrollable widget, I would like to display some application
      messages and also keep the previous messages. I could probably
      use a list-box or a text widget to do this.

 1)  The problem with list box is that it does not allow multi-line items.
      Also list-box does not allow duplicate items. By "allow" in both cases
      I mean it does not deal with them correctly.

 2)  The problem with a non-editable text widget is the following:-
      After the first message is put into the text widget, to display
       the next message you can either 
     a) replace (s-text-set-string) the first message 
     b) know the length of the first message and add the second message
        to the end of the first message (s-text-replace)
     
      In both the cases we are dealing with a single string. My question is
      Is it possible for a text widget to contain more than one independent
      string? If not is there any other widgets that would allow this? 

 I would welcome any suggestions
      

T.RTitleUserPersonal
Name
DateLines
644.1VLIST?WJG::GUINEAUFri Apr 28 1989 11:395
Try the VLIST widget mentioned in the DW_EXAMPLES conference.

John