Events for DateGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Events for DateGadget

Post by Polo »

It's too bad no event are reported for this gadget.
Could we have, at least, #PB_EventType_Change? I'm really missing this on my project.
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Events for DateGadget

Post by skywalk »

I get a response for EventGadget() = DateGadget number on Windows?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Events for DateGadget

Post by Polo »

skywalk wrote:I get a response for EventGadget() = DateGadget number on Windows?
Well on OSX I don't get a change event, which is kind of needed, after all it's like a stringgadget :)
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Events for DateGadget

Post by skywalk »

True, but I just respond to any action on the DateGadget.
I check if it changed in code. :wink:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply