>On 29/11/99 4:08 pm, Peter Reid at [EMAIL PROTECTED] wrote:
>
> > This fails (I'm using MC 2.2.5 on a Mac) with an error message saying
> > "bad text attributes, can't get object attributes" which implies that
> > the function doesn't work with a text chunk!  I tried this with:
> >
> > put the formattedHeight of line 1 to 31 of field doctext1

- this works in MC 2.3B2!

> >
> >> Note that selecting the text by script will also scroll the 
>field.  (If you
> >> have any trouble putting together a script that scrolls exactly 
>as you want
> >> with formattedHeight, please let me know: we've got one "somewhere".)
> >
> > I tried  "select line theLine of field theField"  and it selected it
> > ok but didn't cause any scrolling or realignment?!

- this realigns the field but with the selected line at the bottom of 
the viewable field, whereas the method above would allow the 
realignment to leave the wanted line at the top of the field

>Can you try all of this in MC 2.3B2 (I can't even remember how 2.2.5 worked
>now)?

Unfortunately, this work is for the client who has 2.2.5 only and 
won't upgrade to 2.3B2!

Best regards
Peter

--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

Reply via email to