Adobe 65007312 Programming Guide - Page 93
Property, Datatype, Description, value when the S
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 93 highlights
CHAPTER 5: Creating a User Interface for Your Plug-in Property alignment text_color immediate Datatype string LrColor Boolean auto_completion Boolean completion table or function increment number large_increment number validate function value_to_string function string_to_value function wraps Boolean User interface elements 93 Description Alignment of text in frame, left (the default), center, or right. The color of displayed text. Default is black. If true, the field commits its value as the user is typing, and the validate function is called for every change. Default is false, validation occurs on loss of focus. True if the field should auto complete as the user types. Default is false. A table of strings for completion, or a function that returns a table of strings: myCompletion( view, partialWord ) If field is numeric, the amount to increment the value (without SHIFT key). If the precision is 0, default is 1; otherwise default is 0.1. If field is numeric, the amount to increment the value when the SHIFT key is held down. If the precision is 0, default is 10; otherwise default is 1. A function called to validate the value: myValidate( view, value ) Returns result, value, message: result: (Boolean) True if value was valid. value: (any) The new value. message: (string) An error message to be displayed if result is false. An optional conversion function, called to convert a non-string value to a display string. Takes arguments view (this control) and value (the entered value), and returns a string. An optional conversion function, called to convert the display string to a non-string value. Takes arguments view (this control) and string (the string), and returns a value of the required type. True to wrap text. Default is true.