AddWindowTimer with #PB_Any

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

AddWindowTimer with #PB_Any

Post by Josh »

With Module and BindEvent we can create encapsulated code.

To be really independent, would be nice to can use AddWindowTimer with #PB_Any

thxs
Josh
sorry for my bad english
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: AddWindowTimer with #PB_Any

Post by Rinzwind »

THIS!

O, and the GUI editor should make use of BindEvent and BindGadgetEvent...
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 327
Joined: Sat Dec 25, 2004 2:37 pm

Re: AddWindowTimer with #PB_Any

Post by thyphoon »

yes #PB_Any would be nice when you use timer in module.
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

Re: AddWindowTimer with #PB_Any

Post by wombats »

+1

I found myself wanting this yesterday.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: AddWindowTimer with #PB_Any

Post by srod »

Why not simply open a hidden window and then create a timer bound to this window? All nicely enclosed and encapsulated. Works for me. :)
I may look like a mule, but I'm not a complete ass.
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: AddWindowTimer with #PB_Any

Post by Mijikai »

thyphoon wrote:yes #PB_Any would be nice when you use timer in module.
+1
mestnyi
Addict
Addict
Posts: 995
Joined: Mon Nov 25, 2013 6:41 am

Re: AddWindowTimer with #PB_Any

Post by mestnyi »

+1
It would also be nice to be able to add a timer for canvas. :wink:
RobertRioja
User
User
Posts: 71
Joined: Thu May 02, 2019 3:57 am
Location: USA
Contact:

Re: AddWindowTimer with #PB_Any

Post by RobertRioja »

First time I used timers, I was surprised you could not use #PB_ANY !!!
It should be implemented.
Post Reply