This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm trying to create a progress bar filled from right to left or bottom up. I've tried set dialog item rotation but that didn't work for a progress bar item.
Anyone has any idea on how to make it? or is it possible in galaxy at all?
It is not from rotation, it is from Anchor Points. Using a bit of maths you can do it via a custom function ...
Normal (Left to Right / Anchor to Far Point)
Dialog X Mathematics Options: Function Return Type: Integer Parameters value = 0.0 <Real> hundred = 0.0 <Real> maximum = 0 <Integer> Grammar Text: Dialog X Mathematics(value, hundred, maximum) Hint Text: test Custom Script Code Local Variables value = value <Real> hundred = hundred <Real> x = 0 <Integer> y = 0.0 <Real> maximum = maximum <Integer> Actions Variable - Set y = ((value / hundred) * 100.0) Variable - Set y = (((Real(maximum)) / 100.0) * y) Variable - Set x = (Integer(y)) General - If (Conditions) then do (Actions) else do (Actions) If x <= 0 Then Variable - Set x = 1 Else General - If (Conditions) then do (Actions) else do (Actions) If x >= maximum Then Variable - Set x = maximum Else General - Return x
Reversed (Right to Left / Far Point to Anchor)
Dialog RVX Mathematics Options: Function Return Type: Integer Parameters value = 0.0 <Real> hundred = 0.0 <Real> maximum = 0 <Integer> Grammar Text: Dialog RVX Mathematics(value, hundred, maximum) Hint Text: test Custom Script Code Local Variables value = value <Real> hundred = hundred <Real> x = 0 <Integer> y = 0.0 <Real> maximum = maximum <Integer> Actions Variable - Set y = ((value / hundred) * 100.0) Variable - Set y = (((Real(maximum)) / 100.0) * y) Variable - Set x = (Integer(y)) General - If (Conditions) then do (Actions) else do (Actions) If (maximum - x) == 0 Then Variable - Set x = 1 Else Variable - Set x = (maximum - x) General - If (Conditions) then do (Actions) else do (Actions) If x <= 0 Then Variable - Set x = 1 Else General - If (Conditions) then do (Actions) else do (Actions) If x >= maximum Then Variable - Set x = maximum Else General - Return x
I'm trying to create a progress bar filled from right to left or bottom up. I've tried set dialog item rotation but that didn't work for a progress bar item.
Anyone has any idea on how to make it? or is it possible in galaxy at all?
It is not from rotation, it is from Anchor Points. Using a bit of maths you can do it via a custom function ...
Normal (Left to Right / Anchor to Far Point)
Reversed (Right to Left / Far Point to Anchor)