home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / openloo / 4842 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.0 KB  |  35 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!mcsun!sun4nl!estwmz.wm.estec.esa.nl!poem_fv
  3. From: poem_fv@wm.estec.esa.nl (POEM Frederic Vermenouze)
  4. Subject: OLIT scrolling list
  5. Message-ID: <BzCvu6.5rt@wm.estec.esa.nl>
  6. Keywords:   OlKeyDef
  7. Sender: news@wm.estec.esa.nl
  8. Reply-To: poem_fv@wm.estec.esa.nl
  9. Organization: ESA/Estec/WMS, Noordwijk, The Netherlands
  10. Date: Wed, 16 Dec 1992 14:20:29 GMT
  11. Lines: 22
  12.  
  13. I use scrolling lists to display data from a simulation.
  14. The proper data is displayed on the scrolling list but
  15. I get a run time warning:
  16.  
  17. Warning: String to OlKeyDef found illegal syntax: < >
  18.  
  19. The backround collor of the scolling list goes to black
  20. and the text to red.
  21. I get the error message when calling the functions:
  22. *applDeleteItem, *applAddItem.
  23. Here are the calls :
  24.  
  25. /* del item */
  26. if (! list_empty_inst)        (*applDeleteItem)(widget,instrument_token[j]); 
  27. /* add item */
  28. instrument_token[j] = (*applAddItem)(widget, 0, 0, instrument_item); 
  29.  
  30. Any adviced welcomed. Please email it to poem_fv@wm.estec.esa.nl.
  31.  
  32. Fred.
  33.  
  34.  
  35.