Decimal
  • 22 Oct 2020
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Decimal

  • Dark
    Light
  • PDF

Article summary

Description

The Textbox object type defines a Number data element for your app.

When included in a visual layout, a field appears allowing the user to enter a numeric (decimal) value.


Visual Experience

Below is an example of this object's visual experience.

object_decimal1


Properties

Properties are accessible directly on the object panel.

NameRequiredDescription
Display TitleNoDisplayed object title

Settings

Settings are additional properties accessible by clicking the 'Settings' button.

NameRequiredDescription
Grid - NameNoName of grid (objects with same name appear together)
Grid - Padding Columns SizeNoPixel value of space between columns
Grid - Padding Rows SizeNoPixel value of space between rows
Grid - Column SizeNoSize of column in pixels (empty will auto-size)
Grid - Row SizeNoSize of row in pixels (empty will auto-size)
---------
Group - NameNoName of group within grid (objects with same name appear together)
---------
Sizing - WidthNoPixel value of object width (empty for default)
Sizing - HeightNoPixel value of object height (empty for default)
Sizing - MarginNoMargin pixel values (L,T,R,B format)
---------
Title - ShowNoWhether or not to show object title
Title - UnderlineNoWhether or not to underline object title
Title - MarginNoMargin pixel values (L,T,R,B format)
Title - ForegroundNoForeground color (#RRGGBB format)
---------
Alignment - VerticalNoVertical alighnment position within container grid cell
Alignment - HorizontalNoHorizontal alighnment position within container grid cell
Alignment - ItemsNoAlignment orientation for contained items
---------
Spanning - Column SpanNo# of columns to span in containing grid
Spanning - Row SpanNo# of rows to span in containing grid
---------
Coloring - BackgroundNoColor of background (#RRGGBB format)
Coloring - ForegroundNoColor of foreground (#RRGGBB format)
---------
Border - ThicknessNoPixel value of border thickness
Border - ColorNoColor of border (#RRGGBB format)
---------
MigrateNoWhether or not to migrate values between instances

Scripting

This object supports an underlying data type accessible to scripts.

Data Type: Number


Remarks

This object looks the same as a Textbox object. However, the user is restricted to entering only numeric (decimal) values with a resolution of 2 decimal places.


Additional Resources

Learn more about app Scripting


What's Next