home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / 9016 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!wupost!emory!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!bq035
  2. From: bq035@cleveland.Freenet.Edu (Brian Jepson)
  3. Newsgroups: comp.databases
  4. Subject: Re: Foxpro2 Screen Builder Question
  5. Date: 12 Jan 1993 01:24:06 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 31
  8. Message-ID: <1it6jnINN8me@usenet.INS.CWRU.Edu>
  9. References: <1993Jan10.235426.459@vaxc>
  10. Reply-To: bq035@cleveland.Freenet.Edu (Brian Jepson)
  11. NNTP-Posting-Host: hela.ins.cwru.edu
  12.  
  13.  
  14. In a previous article, accdak@vaxa.hofstra.edu () says:
  15.  
  16. >I hope this is a simple Foxpro question.  Using the screen generator I created
  17. >a push button which calls up a procedure in which the user fills in an array
  18. >with a number of items.  
  19. >
  20. >I don't want the items themselves displayed on the screen, but I would like the
  21. >count of the number of items chosen to be displayed in the window next to the 
  22. >push button, Something like this:
  23. >
  24. ><Items>       0 chosen     would become -->  <Items>       7 chosen
  25. >
  26. >I tried to do this with a SAY, but the SAY is never updated from the value
  27. >assigned in the window setup code.  I can put the number on the screen by
  28. >issuing an @SAY from within the push button's valid clause.  
  29. >
  30. >Is there a more elegant method?  (Feel free to answer by directing me to the 
  31. >appropriate sample code or the manual.)
  32. >
  33. >David
  34. >
  35.  
  36. In the @SAY field's dialog box (double-click on it), select [X] Refresh
  37. Then, every time you issue SHOW GETS, it is refreshed. (the screen generator
  38. does exactly what you did, except it goes into the READ SHOW).
  39. -- 
  40. *  __                _____                        Brian Jepson
  41. * /__)  __ . __ __     /  __   _   /  _   __      iqm229@uriacc.uri.edu
  42. */___) /  / (_// / (__/  (_/  /_) _) (_) / /      bq035@freenet.cwru.edu
  43. *                         `- /
  44.