[Gambas-user] [Gambas Bug Tracker] Bug #1035: Timer. Cant set delay more than 16777215

bugtracker at ...3416... bugtracker at ...3416...
Sat Nov 26 19:31:55 CET 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.1035&from=L21haW4-

Alexander SIGMANOR reported a new bug.

Summary
-------

Timer. Cant set delay more than 16777215

Type             : Bug
Priority         : Medium
Gambas version   : 3.9
Product          : GUI components


Description
-----------

How to reproduce - for example, place button and timer control to form, then use folowing code:

Public Sub Button1_Click()
  Timer1.Delay = 16777215
  Message(Timer1.Delay)
   
  Timer1.Delay = 16777216
  Message(Timer1.Delay)
End

Run, press button.

Result:

First message - http://i.imgur.com/2HwPbYD.png
Second message - http://i.imgur.com/qxaWJ1L.png


System information
------------------

Ubuntu 16.04
Gambas 3.9.1






More information about the User mailing list