Custom Properties and Syntax Question
David Burgun
dburgun at dsl.pipex.com
Wed Apr 7 05:40:02 EDT 2004
Hi,
I'm having a problem address Custom Properties. I have the following
script on a Text Field:
on closeField
if the text of the field FieldPageNumber > 99 then
put 99 into field the FieldPageNumber
beep
end if
end closeField
Which works fine, however I would like to make it more flexible and
do something like:
on closeField
if the text of field me is > cMaxValue then
put cMaxValue into field the FieldPageNumber
beep
end if
(Where cMaxValue is a Custom Property of the current Field)
But I get Errors, so my question is, how to I address
CustomProperties and how do I address the current field?
Thanks a lot
Dave
More information about the use-livecode
mailing list