Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Own TimeInput widget.... problem with spinbuttons etc.
Re: Own TimeInput widget.... problem with spinbuttons etc. [message #34606 is a reply to message #34600] Thu, 01 December 2011 18:40 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3443
Registered: August 2008
Senior Veteran
Hello Wolfgang

A couple of things:
- Include typedef TimeInput CLASSNAME; in the class.
- Include this:
	sb.inc.WhenAction = THISBACK1(increaseMin, 1);
	sb.dec.WhenAction = THISBACK1(decreaseMin, 1);

As both functions get one argument, you have to give it. It does not understand default args.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Previous Topic: Bug in AllForI18n - copy & paste kills TheIDE
Next Topic: first try on a own (simple) widget...
Goto Forum:
  


Current Time: Sun Aug 24 16:49:03 CEST 2025

Total time taken to generate the page: 0.04733 seconds