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 » TopWindow&PopUp, TrayIcon » BUG? EditInt / PromptOK not functioning as thought?
Re: BUG? EditInt / PromptOK not functioning as thought? [message #48087 is a reply to message #48081] Mon, 15 May 2017 20:37 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 327
Registered: July 2009
Senior Member
ptkacz wrote on Mon, 15 May 2017 05:21
As long as the value that's populated within the edit field is outside the specified range on the edit field, one has to correct the problem, or one can't exit out of the application when selecting the close application button (i.e. 'x')

I must admit that this behaviour is really annoying, you can set Rejector to IDCANCEL in window constructor to disable it:
Bug1::Bug1()
{
	Rejector(*this, IDCANCEL);//<-----------------------
	CtrlLayout(*this, "Bug1 Window");
	submitButton << THISBACK(buttonClicked);
}


[Updated on: Mon, 15 May 2017 20:42]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug: TopWindow::IsFullscreen is not working under GTK
Next Topic: How often is Update called? Is there a similiar frequently called method?
Goto Forum:
  


Current Time: Tue Jun 25 20:12:46 CEST 2024

Total time taken to generate the page: 0.02170 seconds