Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!nntpd.lkg.dec.com!dneast.enet.dec.com!pfister_rob From: pfister_rob@dneast.enet.dec.com (Robb Pfister) Newsgroups: comp.lang.pascal Subject: Re: tdialog.disable? Message-ID: <1991Jun20.112928@dneast.enet.dec.com> Date: 20 Jun 91 15:35:05 GMT References: <1991Jun19.161509.4009@desire.wright.edu> Sender: newsdaemon@shlump.lkg.dec.com Reply-To: pfister_rob@dneast.enet.dec.com (Robb Pfister) Organization: Digital Equipment Corporation Lines: 34 In article <1991Jun19.161509.4009@desire.wright.edu>, rocker@desire.wright.edu writes: |> Path: nntpd.lkg.dec.com!news.crl.dec.com!deccrl!caen!zaphod.mps.ohio-state.edu u!unix.cis.pitt.edu!dsinc!bagate!asi!disc.dla.mil!dsacg3.dsac.dla.mil!de esc.dla.mil!wright!desire.wright.edu!rocker |> From: rocker@desire.wright.edu |> Newsgroups: comp.lang.pascal |> Subject: tdialog.disable? |> Message-ID: <1991Jun19.161509.4009@desire.wright.edu> |> Date: 19 Jun 91 21:15:09 GMT |> Organization: University Computing Services, Wright State University |> Lines: 5 |> |> |> Does anyone know how to disable everything inside a TDialog box except |> for the buttons, which I keep in b1 and b2? |> |> thanx |> This may sounds obvious, but... keep a pointer to all of your views in the dialog box, and disable them one at a time... Along those lines, I've found that some views just cant be disable whilst in a dialog box constructor...I've had to do a disable check+do at the start of Tdialog.HandleEvent. I'd hope there was a more efficient place to do this...Anyone found a better place? Robb Pfister_rob%dneast.dec@decwrl.dec