[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] EditText question



Richard Christansen writes Tue, 5 May 1998 03:18:31 -0700 (PDT)

>I am trying to implement an Entry field in the GUI I am building.  The
>Dialog toolbox manual says that I should use an EditText function. I did
>a "grep" for edittext in the MacPerl folder and didn't find anything.  Do
>I use this feature like any other control?  I have the sneaking suspision
>that it will error out from an unknown function.  Is there a better way
>to do this, or do I need to write a separate function that simulates this
>DITL functionality?

Have you looked at the examples in the MacPerl distribution in the folder
<ext:Mac:Dialogs:t:> which gives two examples 'Modal.t' and 'Nonmodal.t'?
Together wih the 'pod' in Dialogs.pm, they tell you just about all you need
to know. (You replace 'kStaticTextDialogItem' by 'kEditTextDialogItem', but
otherwise these examples show you what to do.)

And have you looked at Chris Nandor's excellent explanation in Chapter 15
of the MacPerl book "Power and Ease" available at
<http://www.ptf.com/macperl/> in pre-view form?

If you have some application which is beyond the scope of these references
tell us exactly what the problem is and we'll try to help.

Alan Fry





***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch