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 » Calendar
Calendar [message #57249] Thu, 17 June 2021 05:42 Go to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

how do I select
a day on the calendar. example double click! How do I retrieve selected content for a date field? any examples?

Thanks!
Re: Calendar [message #57251 is a reply to message #57249] Thu, 17 June 2021 15:58 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

below this work!


struct Lbca: Calendar { 
	
	void LeftDouble(Point p, dword keyflags)             //rewriten
	{
	    WhenLeftDouble(p,keyflags);
	    PromptOK("ok");
	    Show(false); //close calendar
	}
	Event<Point, dword> WhenLeftDouble; 
};

class MainWin : public TopWindow
{
    public:
     Lbca ca;

    MainWin()
    {
      Add(ca.LeftPosZ(120, 236).TopPosZ(73, 156)); 
    }

};
		



Thanks!


Previous Topic: TcpSocket, Know when distant connection have been closed
Next Topic: Ultimate++ vs Wxwidgets for desktop linux/windows/mac app
Goto Forum:
  


Current Time: Sun Jun 16 19:51:14 CEST 2024

Total time taken to generate the page: 0.01729 seconds