mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-14 19:49:33 +00:00
Properly sets ProgressBar captions at creation time.
Using \# in the caption has InForm insert the actual percentage. This commit makes it easier for a user to notice that.
This commit is contained in:
parent
7fd7c771c4
commit
fa61300e10
1 changed files with 2 additions and 0 deletions
|
@ -260,6 +260,8 @@ SUB __UI_BeforeUpdateDisplay
|
|||
Control(TempValue).AutoSize = True
|
||||
CASE __UI_Type_ListBox
|
||||
Control(TempValue).HasBorder = True
|
||||
CASE __UI_Type_ProgressBar
|
||||
SetCaption TempValue, "\#"
|
||||
END SELECT
|
||||
|
||||
IF __UI_ActiveMenu > 0 AND (Control(TempValue).Type <> __UI_Type_MenuBar AND Control(TempValue).Type <> __UI_Type_MenuItem) THEN
|
||||
|
|
Loading…
Reference in a new issue