1
1
Fork 0
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:
FellippeHeitor 2018-08-24 01:53:44 -03:00
parent 7fd7c771c4
commit fa61300e10

View file

@ -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