home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.tools
- Path: sparky!uunet!demos!news-server
- From: Fyodor@msoft.msk.su (Fyodor Zubanov)
- Subject: Re: VB: InputBox$ + 2 Option Boxes
- Date: Sat, 5 Sep 1992 16:47:51 GMT
- Reply-To: Fyodor@msoft.msk.su
- Organization: Microsoft Moscow
- Sender: news-server@kremvax.hq.demos.su
- Message-ID: <AAtIEggWU9@msoft.msk.su>
- Lines: 43
-
- Mansig Kim writes:
-
- >Now, the problem is how to interrupt(WAIT) the calling until the user
- >selects one option button and clicks OK??
- >
- >for i = 1 to 10
- > call MY-INPUT-BOX
- > select one option box
- > WAIT until OK clicked
- > ^^^^
- >next
- >
- >Here is my way for the WAIT portion.
- >
- >DO Until OK-clicked
- > idle(do dummy counting??)
- >Loop
- >
-
- Usually i do the following:
-
- for i=1 to 10
- Load MY_INPUT_BOX
- ' Set initial params
- ........
- MY_INPUT_BOX.Show 1
- next
-
- Additionaly you have to add the following string to MY_INPUT_BOX.OK_BUTTON
- sub:
- Sub OK_BUTTON.Click
- .....
- Unload MY_INPUT_BOX
- .....
- End Sub
-
- Rememeber that MY_INPUT_BOX form must be initially invisible.
- --
- =================================================================
- Fyodor Zubanov fyodor@msoft.msk.su
- Moscow, Russia
- =================================================================
-
-