home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!pagesat!netsys!agate!doc.ic.ac.uk!uknet!cf-cm!news
- From: spxsjm@thor.cf.ac.uk (Mr S J Morris 92)
- Newsgroups: comp.lang.pascal
- Subject: Help! Anybody know about TPW Dialog windows?
- Summary: Advice required, please.
- Message-ID: <14478.9211201013@thor.cf.ac.uk>
- Date: 20 Nov 92 10:13:23 GMT
- Sender: spxsjm@thor.cf.ac.uk (Steve Morris)
- Organization: University of Wales College at Cardiff
- Lines: 23
- X-Mailer: Cardiff Computing Maths PP Mail Open News Gateway
-
- Hello, I wonder if I can pick somebody's brains...
-
- I'm a beginner at trying to program in Turbo Pascal for Windows. I have
- an application where I want to open a dialog box with just three
- checkboxes in it. I managed to get everything working by defining a
- descendant object of TDialog which included a method for responding to a
- message caused by the clicking of each checkbox individually. However,
- this took quite a lot of code to do something really quite simple, and I
- read in the manual that I could avoid having to define a descendant
- object by using a transfer buffer to determine the states of the check
- boxes at the beginning and end of the dialog.
-
- I duly set the thing up, paying close attention to the manual and to the
- example program given on the disk. My new program works fine, except for
- one thing - when I click the mouse on a check box, the box doesn't
- toggle. It registers (i.e. the box is highlighted to show that it is
- being clicked), but no check appears. Has anybody else had this problem?
- If so, what caused it, and how did you resolve it? I'd be really
- grateful for any advice you could give.
-
- Thanks in advance,
- Steve Morris,
- Department of Physics, Coleg Prifysgol Cymru Caerdydd.
-