home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / tools / 888 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.2 KB  |  55 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!demos!news-server
  3. From:  Fyodor@msoft.msk.su (Fyodor Zubanov)
  4. Subject: Re: VB: InputBox$ + 2 Option Boxes
  5. Date: Sat, 5 Sep 1992 16:47:51 GMT
  6. Reply-To: Fyodor@msoft.msk.su
  7. Organization: Microsoft Moscow
  8. Sender: news-server@kremvax.hq.demos.su
  9. Message-ID: <AAtIEggWU9@msoft.msk.su>
  10. Lines: 43
  11.  
  12. Mansig Kim writes:
  13.  
  14. >Now, the problem is how to interrupt(WAIT) the calling until the user
  15. >selects one option button and clicks OK??
  16. >
  17. >for i = 1 to 10
  18. >    call MY-INPUT-BOX
  19. >    select one option box
  20. >    WAIT until OK clicked
  21. >    ^^^^
  22. >next
  23. >
  24. >Here is my way for the WAIT portion.
  25. >
  26. >DO Until OK-clicked
  27. >   idle(do dummy counting??)
  28. >Loop
  29. >
  30.  
  31. Usually i do the following:
  32.  
  33. for i=1 to 10
  34.     Load MY_INPUT_BOX
  35.     ' Set initial params
  36.     ........
  37.     MY_INPUT_BOX.Show 1
  38. next
  39.  
  40. Additionaly you have to add the following string to MY_INPUT_BOX.OK_BUTTON
  41. sub:
  42. Sub OK_BUTTON.Click
  43.     .....
  44.     Unload MY_INPUT_BOX
  45.     .....
  46. End Sub
  47.  
  48. Rememeber that MY_INPUT_BOX form must be initially invisible.
  49. -- 
  50. =================================================================
  51.         Fyodor Zubanov          fyodor@msoft.msk.su
  52.         Moscow, Russia
  53. =================================================================
  54.  
  55.