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 » Overwrite PromptOKCancel
Re: Overwrite PromptOKCancel [message #2467 is a reply to message #2463] Thu, 13 April 2006 18:16 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
kevinle10@gmail.com wrote on Thu, 13 April 2006 11:07

Victorb,

Thanks for replying. Using Button:Ok() works for me.

On the second issue, the solution you proposed to come up with a custome OK-Cancel dlg and use across my app is also what I had in mind in the beginning. The problem is in place, we don't have a flexibity to change which OK-Cancel dialog to call. For example, delete a row in an ArrayCtrl which we get the confirmation for free. That's the reason why I asked for a way to overwrite those PromptOK() methods. The look like global function to me, but I have not traced the source code that deeply yet.

Any other idea? Thanks


Well, they are global functions. The only way that comes to mind is to do ArrayCtrl confirmations yourself - it is not that hard in fact (create your own menu for ArrayCtrl and call its appropriate methods).

Good that you remind that Prompts should be Chameleonized too... Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dialog returned values
Next Topic: Events outside TopWindow
Goto Forum:
  


Current Time: Sat Jun 07 22:41:18 CEST 2025

Total time taken to generate the page: 0.04672 seconds