Methods

Enable

Description:

Enables the add-in object.

Syntax:

Enable()

Disable

Description:

Disables the add-in object.

Syntax:

Disable()

ShowInStatusLine

Description:

Displays the specified text in the status bar for 5 seconds.

Syntax:

ShowInStatusLine(<Text>)

Parameters:

Text

Type: String. Text displayed in the status bar.

StartTimer

Description:

Starts the add-in timer. Every second the add-in sends a message with Component and Timer parameters and the system clock counter string.

Syntax:

StartTimer()

StopTimer

Description:

Stops the add-in timer.

Syntax:

StopTimer()


The component implemented using Native API also implements the LoadPicture() method.

LoadPicture

Description:

Loads a picture from the specified file and sends it to 1C:Enterprise as binary data.

Syntax:

LoadPicture(<FileName>)

Parameters:

FileName

Type: String. Picture file name.

ShowMessage

Displays the platform version.

Syntax:

ShowMessage()

Next page: 1C:Enterprise add-in example for mobile platform

Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.