[Gambas-user] SpinBox running wild

Karl Reinl karl.reinl at fen-net.de
Sat Aug 1 20:16:06 CEST 2020


   I. Am Samstag, den 01.08.2020, 18:13 +0200 schrieb Benoît Minisini:
> Le 01/08/2020 à 17:07, Charlie Reinl a écrit :
> > Salut,
> > 
> > This demo asks if the VAT rate should be adjusted if one of the
> > lower
> > date limits is exceeded.
> > If the years are adjusted with the spinbox, it will continue to run
> > by
> > itself after the MsgBox.
> > 
> > Here the changing Dates
> >    ' +-------+---------------------+------+
> >    ' | keyID | valid_from          | vat  |
> >    ' +-------+---------------------+------+
> >    ' |     2 | 1968-01-01 00:00:00 |   10 |
> >    ' |     2 | 1998-04-01 00:00:00 |   16 |
> >    ' |     2 | 2007-01-01 00:00:00 |   19 |
> >    ' |     2 | 2020-07-01 00:00:00 |   16 |
> >    ' |     2 | 2021-01-01 00:00:00 |   19 |
> >    ' +-------+---------------------+------+
> > 
> > 
> > 
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > 
> 
> Please elaborate, I don't understand what should be done, what is 
> expected and what is wrong.
> 
> Regards,
> 
- after pushing [start] 

- go down with the Year-Spinbox to 2006 
- a MsgBox will raise, answer yes or no
- here it starts to count down to 1999

or

- push button 'Service date' 
- a MsgBox will raise, answer yes
- go down with the Year-Spinbox 
- a
MsgBox will raise, answer yes or no

-- 
Amicalement
Charlie



More information about the User mailing list