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 » Extending EditString to filter keys
Re: Extending EditString to filter keys [message #31180 is a reply to message #31176] Fri, 11 February 2011 17:31 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Jeremi wrote on Fri, 11 February 2011 16:52

It works when I use (from example)

edName.SetConvert(Single<ConvertAlpha>());


Why Single? What does it do? Singleton?

I don't know proper definition of Singleton, but I guess that Single matches it Smile Single<T>() creates static instance of T and any subsequent call to Single<T> returns reference to this variable. It saves memory, because you have only one instance for all the places in code where you use it.

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Focus without selecion
Next Topic: Modern looking U++ controls
Goto Forum:
  


Current Time: Wed May 15 18:21:57 CEST 2024

Total time taken to generate the page: 0.03088 seconds