Desktop version

Main > Knowledge Base > 1C:Enterprise documentation > Add-in Development Technology > Example descriptions > 1C:Enterprise add-in examples for desktop computer > Methods > 1C:Enterprise documentation > Add-in Development Technology > Example descriptions > 1C:Enterprise add-in examples for desktop computer > Methods > 1C:Enterprise documentation > Add-in Development Technology > Example descriptions > 1C:Enterprise add-in examples for desktop computer > Methods

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




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.