home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8642 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.1 KB  |  47 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!spool.mu.edu!howland.reston.ans.net!paladin.american.edu!gatech!concert!rock!taco!csemail.cropsci.ncsu.edu!samodena
  3. From: samodena@csemail.cropsci.ncsu.edu (S. A. Modena)
  4. Subject: Re: TV-question1
  5. Message-ID: <1993Jan27.161842.3009@ncsu.edu>
  6. Sender: news@ncsu.edu (USENET News System)
  7. Organization: Crop Science Dept., NCSU, Raleigh, NC 27695-7620
  8. References: <35231@adm.brl.mil> <30220@oasys.dt.navy.mil>
  9. Date: Wed, 27 Jan 1993 16:18:42 GMT
  10. Lines: 35
  11.  
  12. In article <30220@oasys.dt.navy.mil> roth@oasys.dt.navy.mil (Pete Roth) writes:
  13. >In comp.lang.pascal, A7101DAA@helios.edvz.univie.ac.at writes:
  14. >>Hallo!
  15. >>I am looking for a possibility of updating the TurboVision
  16. >>MenuBar. The Menu items may be variables. But if I change the variables
  17. >>the menu bars stay the same.
  18. >>    Thanx in advance
  19. >
  20. >Guessing as to your intent: you want to _change_ the menubar during
  21. >program execution.
  22. >
  23. >If my assumption holds, then you must Delete the Menubar from the
  24. >Desktop, Dispose it, Init a new menubar with the desired changes, and
  25. >Insert it into the Desktop.
  26. >
  27. >Pete                         roth@oasys.dt.navy.mil
  28.  
  29. The single point that I disagree with Pete on is the "dispose [of] it"
  30. part: one might want to assign the current APPLICATION^.MenuBar to another
  31. pointer of type PMenuBar...because you may want to restore it when finished
  32. with the temporary substitute menubar...
  33.  
  34. Steve
  35. ---
  36. +------------------------------------------------------------------+
  37. |     In person:  Steve Modena     AB4EL                           |
  38. |     On phone:   (919) 515-5328                                   |
  39. |     At e-mail:  nmodena@unity.ncsu.edu                           | 
  40. |                 samodena@csemail.cropsci.ncsu.edu                |
  41. |                 [ either email address is read each day ]        |
  42. |     By snail:   Crop Sci Dept, Box 7620, NCSU, Raleigh, NC 27695 |
  43. +------------------------------------------------------------------+
  44.          Lighten UP!  It's just a computer doing that to you.    (c)
  45. OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
  46.          
  47.