revPrintField problem
Jan Schenkel
janschenkel at yahoo.com
Mon Jul 25 17:53:31 EDT 2005
--- Ban Nguyen <bann at sunncomm.com> wrote:
> > Hello everyone,
> >
> >
> > I am having a problem with revPrintField
> >
> > [snip]
> >
> > on mouseUp
> > revPrintField the name of field "myField"
> > end mouseUp
> >
> > This is the error I got when I click on "print":
> >
> > executing at 2:32:48 PM
> > Type Chunk: no such object
> > Object Button
> > Line revPrintField the name of field "myField"
> > Hint myField
> >
>
---------------------------------------------------------------------
> Hi Ban,
>
> The revPrintField wants a long name or ID:
> --
> on mouseUp
> revPrintField the long ID of field "MyField"
> end mouseUp
> --
>
>
---------------------------------------------------------------------
>
> I changed the field to a long name but still got the
> same error. The
> field does have an ID, I checked from property
> inspector
>
Bizarre. Does it help if you put parentheses ?
--
on mouseUp
revPrintField (the long ID of field "MyField")
end mouseUp
--
If that doesn't do it, it may not be able to find this
field -- is it on the same card as the button ?
Jan Schenkel.
Quartam - Tools for Revolution
<http://www.quartam.com>
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the use-livecode
mailing list