Skip to main content

Progress Bar

Overview

Progress Bar is to show the process of an operation.

  • Sample Image

progressBar

Properties

PropertyDescription
MinimumSet the minimum value of current control.
MaximumSet the maximum value of current control.
ValueSet the value of current control.
Back ImageSet the background image of current control.
Progress ImageSet the image of the control.
Text VisibleWhether the control displays progress text.

Events

addCallBack1

Callback NameCallback Function
on_get_captureThe callback when the control gets mouse capture.
on_lost_captureThe callback when the control loses mouse capture.

Lua Script Example

self.Minimum = 0
self.Maximum = 100
self.Value = 50
self.TextVisible = true
self.BackImage = "BackImage.png"
self.ProgressImage = "ProgressImage.png"

function ProgressBar_get_capture(self)
nx_msgbox("ProgressBar_get_capture")
end