1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 11:59:34 +00:00

Removes unused variable in __UI_DrawProgressBar internal method.

This commit is contained in:
FellippeHeitor 2020-10-12 09:57:32 -03:00
parent b2d49fa6ee
commit 0a005ccbb8

View file

@ -7614,7 +7614,7 @@ SUB __UI_DrawProgressBar (This AS __UI_ControlTYPE, ControlState)
END IF END IF
IF This.ShowPercentage THEN IF This.ShowPercentage THEN
DIM ProgressString$, ReplaceCode% DIM ProgressString$
ProgressString$ = LTRIM$(STR$(FIX((This.Value / This.Max) * 100))) + "%" ProgressString$ = LTRIM$(STR$(FIX((This.Value / This.Max) * 100))) + "%"
IF LEN(Caption(This.ID)) THEN IF LEN(Caption(This.ID)) THEN
TempCaption$ = Replace$(Caption(This.ID), "\#", ProgressString$, 0, 0) TempCaption$ = Replace$(Caption(This.ID), "\#", ProgressString$, 0, 0)