Error getting tags :
error 404Error getting tags :
error 404 selectedField | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
selectedField
Basics
Expander triangle
Type
Function
Syntax
the selectedField selectedField()
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the number of the field with the text selection or insertion point.
Examples

the selectedField
hide the selectedField

Additional Comments
Expander triangle

Use the selectedField function to determine which field the selection is in.

Value:

The selectedField function returns the number of the field with the selection.

Comments:

If there is no insertion point or text selection, the selectedField function returns empty. Otherwise, the selectedField is the same object as the one specified by the focusedObject function.

User Comments
Expander triangle
User thumbnail
renevanp@gmail.com
StarStarStarStarStar
Dec 11, 2010
In the property "the target" is put the name of the button/field etc that was used
So if you have a button called button1 And in the script of that button you put:
on mouseup pass mouseup end mouseup
then you can put in the card script:
on mouseup if the target is "button1" then --etc end id end mouseup