Progress Bars
Overview
Progress Bar is to show the process of an operation.
- Sample Image
Properties
Property | Description |
---|---|
Minimum | Set the minimum value of current control. |
Maximum | Set the maximum value of current control. |
Value | Set the value of current control. |
Back Image | Set the background image of current control. |
Progress Image | Set the image of the control. |
Text Visible | Whether the control displays progress text. |
Events
Callback Name | Callback Function |
---|---|
on_get_capture | The callback when the control gets mouse capture. |
on_lost_capture | The 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