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 » U++ Library support » U++ Widgets - General questions or Mixed problems » Solved: How to use WhenCancel callback for DropList
Re: How to use WhenCancel callback for DropList [message #39044 is a reply to message #39040] Sat, 09 February 2013 12:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
void CancelPrompt()
{
	Exclamation("Canceled");
}

GUI_APP_MAIN
{
	DropList list;
	list.ListObject().WhenCancel = callback(CancelPrompt);
	TopWindow win;
	win.Add(list.HSizePos().TopPos(0, Ctrl::STDSIZE));
	list.Add("Something");
	win.Run();
}
 
Read Message
Read Message
Read Message
Previous Topic: Display widgets Tip on StatusBar
Next Topic: Problem in CodeEditor
Goto Forum:
  


Current Time: Tue May 14 02:50:55 CEST 2024

Total time taken to generate the page: 0.02502 seconds