home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!agate!usenet.ins.cwru.edu!po.CWRU.Edu!beh
- From: beh@po.CWRU.Edu (Bob E. Hetzel)
- Newsgroups: comp.databases
- Subject: Re: Paradox 4.0 ShowDialog CheckBoxes question
- Date: 15 Dec 1992 04:59:16 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 28
- Message-ID: <1gjon4INNmbm@usenet.INS.CWRU.Edu>
- References: <92348.230646ISPAJW@ASUACAD.BITNET>
- Reply-To: beh@po.CWRU.Edu (Bob E. Hetzel)
- NNTP-Posting-Host: slc12.ins.cwru.edu
-
-
- In a previous article, ISPAJW@ASUACAD.BITNET (Robert's Dad) says:
-
- >Hi,
- > I would like to create a dialog box in such a way that the user can
- >select one or more ID numbers to process. I know that I can use the
- >ShowDialog CheckBoxes feature. Here's the fun part: The list of ID
- >numbers is not static. They are contained in a table which I load into
- >an array using Scan. Is there a way to use CheckBoxes (or another,
- >similar feature) so that the user can select one or more ID numbers
- >when the number of ID numbers is not known until runtime?
-
- Faced with the idea of having several dialog boxes pop up at the
- user when appropriate fields are entered in formview, I decided
- to make a procedure I called showdialogbox. as parameters, I passed
- all information needed, such as the pickarray name, size of the
- pickarray, location, width, height, location of the ok button, etc.
- You can then just call the procedure with one line of code whenever
- you need a popup that is different from others you need to have.
- Sound logical?
-
- It worked for me--reducing 10-15 lines of code x 10 popups to only
- about 25-30 or so lines of code.
- --
- "I held the blade, in trembling hands,
- Prepared to make it hurt.
- Just then the phone rang...
- I never had the nerve to make the final cut".-- Pink Floyd, 1983.
-