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 » Ctrl::Accept
Ctrl::Accept [message #9505] Sat, 12 May 2007 22:41 Go to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

I wonder if it wouldn't be better if Ctrl::Accept checked value of child control if it is visible only. Now it checks any child control no matter what its state is.

For exeample in GridCtrl if user ends row editing all child edit controls are hidden (not detached from parent) and for some of them checking their values during closing dialog the grid belongs to is not correct especialy if edit is custom control with its own Accept (which returns correct value in grid scope).

Anyway my question is if Accept should check values of all child controls? Is this property used in any application? Of course I can overload GridCtrl Accept but maybe change in Ctrl::Accept is more appropriate.
 
Read Message
Read Message
Read Message
Previous Topic: struct name##__layid {};
Next Topic: How to arrange widgets
Goto Forum:
  


Current Time: Fri Jun 06 11:06:04 CEST 2025

Total time taken to generate the page: 0.03499 seconds