home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- 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
- From: samodena@csemail.cropsci.ncsu.edu (S. A. Modena)
- Subject: Re: TV-question1
- Message-ID: <1993Jan27.161842.3009@ncsu.edu>
- Sender: news@ncsu.edu (USENET News System)
- Organization: Crop Science Dept., NCSU, Raleigh, NC 27695-7620
- References: <35231@adm.brl.mil> <30220@oasys.dt.navy.mil>
- Date: Wed, 27 Jan 1993 16:18:42 GMT
- Lines: 35
-
- In article <30220@oasys.dt.navy.mil> roth@oasys.dt.navy.mil (Pete Roth) writes:
- >In comp.lang.pascal, A7101DAA@helios.edvz.univie.ac.at writes:
- >>Hallo!
- >>I am looking for a possibility of updating the TurboVision
- >>MenuBar. The Menu items may be variables. But if I change the variables
- >>the menu bars stay the same.
- >> Thanx in advance
- >
- >Guessing as to your intent: you want to _change_ the menubar during
- >program execution.
- >
- >If my assumption holds, then you must Delete the Menubar from the
- >Desktop, Dispose it, Init a new menubar with the desired changes, and
- >Insert it into the Desktop.
- >
- >Pete roth@oasys.dt.navy.mil
-
- The single point that I disagree with Pete on is the "dispose [of] it"
- part: one might want to assign the current APPLICATION^.MenuBar to another
- pointer of type PMenuBar...because you may want to restore it when finished
- with the temporary substitute menubar...
-
- Steve
- ---
- +------------------------------------------------------------------+
- | In person: Steve Modena AB4EL |
- | On phone: (919) 515-5328 |
- | At e-mail: nmodena@unity.ncsu.edu |
- | samodena@csemail.cropsci.ncsu.edu |
- | [ either email address is read each day ] |
- | By snail: Crop Sci Dept, Box 7620, NCSU, Raleigh, NC 27695 |
- +------------------------------------------------------------------+
- Lighten UP! It's just a computer doing that to you. (c)
- OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
-
-