[Gambas-user] Possible bug in SpinBar control

T Lee Davidson t.lee.davidson at gmail.com
Sun Mar 10 22:07:22 CET 2019


Oops. It appears that what I said is incorrect. I did not notice the MaxValue property. What I saw was the SpinBar, with it's 
default Step of 0.1, going from zero to one.

I apologize for the confusion.


___
Lee


On 3/10/19 4:58 PM, Cedron Dawg wrote:
> Okay, but somebody forgot to tell the SpinBox?
> 
>          Print SpinBox1.Step
>          SpinBox1.Step = 10
>          Print SpinBox1.Step
>          
>          SpinBox1.MaxValue = 100
>          SpinBox1.Value = 50
>          SpinBox1.MinValue = 30
>          
>          Print SpinBox1.Step
> 
> 1
> 10
> 10
> 
> It works with a step ten on the form as well.
> 
> I'm confused now.
> 
> Ced
> 
> ----- Original Message -----
> From: "T Lee Davidson" <t.lee.davidson at gmail.com>
> 
> On 3/10/19 4:20 PM, Cedron Dawg wrote:
>> The stepsize didn't move from 0.5 when I was using it, trying to set it to 10.
> 
> The range for the Step property is 0 - 1.
> 
> 
> ___
> Lee
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 


More information about the User mailing list