📚 SAP Business One SDK Help

Item Object Members
See Also  Overview 

Public Methods

Public Method ClickSimulates a user click on the specified item.
Public Method GetAutoManagedAttributeReturns the behavior of an item attribute for forms with automatic management of modes.

You can set the behavior of an item attribute in Item.SetAutoManagedAttribute.

Public Method RefreshReloads the item from the SAP Business One application. Use this method to update the database with new data from the Form object.
Public Method SetAutoManagedAttributeSets the behavior of this item when the form mode changes in forms that are managed automatically by the application.

You can use this method to manipulate items behavior in specific form modes when the form modes are managed automatically by the application.

Public Method UpdateRefreshes the item display on the form. Use this method to update an object from the database.

Public Properties

Public Property AffectsFormModeIndicates whether this item triggers a change in the form mode.
Public Property BackColorThe background color of text or graphics in an item.
Public Property DescriptionThe item description in the SAP Business One status bar.
Public Property DisplayDescIndicates whether to show the description of valid values.
  • True: Displays the description of the valid value.
  • False: Displays the valid value.
Public Property EnabledIndicates whether the item is enabled.
Public Property FontSizeThe font size for EditText, ComboBox, and StaticText items.
Public Property ForeColorThe foreground color of text or graphics in an item.
Public Property FromPaneThe start of the range of panes on which the item is visible (default is 0).

If the form has more than one pane, you can specify a range of panes on which the
item is displayed.

Public Property HeightThe item's height.
Public Property LeftThe item's left position.
Public Property LinkToA link to another object in the system.
Public Property RightJustifiedIndicates whether the item is right-justified.
Public Property SpecificThe interface for the specific item type that is being represented by the Item object.

Use this to access methods and properties specific to the underlying item type.

Public Property TextStyleIndicates the font style of text displayed by the item.
Public Property TopThe item's top position.
Public Property ToPaneThe end of the range of panes on which the item is visible (default is 0).

If the form has more than one pane, you can specify a range of panes on which the
item is displayed.

Public Property TypeThe item's type.
Public Property UniqueIDThe item's unique ID.
Public Property VisibleIndicates whether the item is visible.
Public Property WidthThe item's width, in pixels.

See Also