home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / toolkits / xview / 1157 < prev    next >
Encoding:
Text File  |  1992-12-29  |  714 b   |  22 lines

  1. Newsgroups: alt.toolkits.xview
  2. Path: sparky!uunet!psinntp!newstand.syr.edu!cougar.cat.syr.edu!foudil
  3. From: foudil@cougar.cat.syr.edu (Foudil Bey Kamal)
  4. Subject: how to specify a PANEL_VALUE that is not integer
  5. Message-ID: <1992Dec28.181322.24266@newstand.syr.edu>
  6. Organization: Syracuse University
  7. Date: Mon, 28 Dec 92 18:13:22 EST
  8. Lines: 12
  9.  
  10. I am trying to specify PANEL_VALUE in a statement of the form
  11. for(i=0;i<max;++i)
  12. xv_create(panel,PANEL_NUMERIC_TEXT,...
  13.      ...    ...
  14.     PANEL_VALUE,        (float) data[i],
  15.     NULL);
  16.  
  17. although the values I am interested in are in the array data, when
  18. I display the values, I get the value 100 all the time. 
  19. I am at a loss here, am I missing something?
  20. any help greatly appreciated.
  21.  
  22.