Xref: utzoo comp.windows.ms:10419 comp.windows.ms.programmer:1385 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!gg2 From: gg2@cunixf.cc.columbia.edu (Guy Gallo) Newsgroups: comp.windows.ms,comp.windows.ms.programmer Subject: Re: WordBASIC Message-ID: <1991Mar16.203151.5536@cunixf.cc.columbia.edu> Date: 16 Mar 91 20:31:51 GMT References: <91071.142957LAIH@QUCDN.QueensU.CA> Reply-To: gg2@cunixf.cc.columbia.edu (Guy Gallo) Organization: Columbia University Lines: 19 In article <91071.142957LAIH@QUCDN.QueensU.CA> LAIH@QUCDN.QueensU.CA (Hubert Lai) writes: >I am working on a Word for Windows macro. What I want to do is create a >dialog box with a listbox, an "OK" button, a "Cancel" button, and a >"Options" button. I have no problems creating the dialog box with the >listbox and the first two buttons. However, I cannot figure out how to >create the third button. Is this possible? > the current version of WordBASIC has no support for additional buttons beyone OK and CANCEL -- at least not grey, variable size buttons. You can use the OptionButton, OptionGroup statements to create a series of buttons that will be acted upon when you select Ok. What I have done in a similar situation is create an OptionGroup of two OptionButtons. The first is labeled and is the default. The second is labeled Options: either selecting options or double clicking on it will perform the functions associated with dlg.Options = 1 (that is, the second button).