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++ Library : Other (not classified elsewhere) » DateTimeCtrl
DateTimeCtrl [message #8853] Tue, 03 April 2007 19:00 Go to next message
mubeta is currently offline  mubeta
Messages: 77
Registered: October 2006
Member
Hi,

1) Can I add this control in the ArrayCtrl??
2) Typing some caratcter, like: -, +, etc in this control crash the application. The default language is IT-IT.
3) After chosing the date, the control allow the keybord to type a long serie of space, or other chars, displayed as: 04/04/2007////////////////////////////////.... in the control.

Mauro Bottizzo.
Re: DateTimeCtrl [message #8857 is a reply to message #8853] Tue, 03 April 2007 19:39 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

mubeta wrote on Tue, 03 April 2007 13:00


1) Can I add this control in the ArrayCtrl??


You can add any control including DateTimeCtrl
Quote:


2) Typing some caratcter, like: -, +, etc in this control crash the application. The default language is IT-IT.


I have to check that.
Quote:


3) After chosing the date, the control allow the keybord to type a long serie of space, or other chars, displayed as: 04/04/2007////////////////////////////////.... in the control.


DateTimeCtrl is using EditDate control, so this one goes to Mirek Wink
Re: DateTimeCtrl [message #8858 is a reply to message #8853] Tue, 03 April 2007 20:09 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
mubeta wrote on Tue, 03 April 2007 19:00


2) Typing some caratcter, like: -, +, etc in this control crash the application. The default language is IT-IT.



This is a serious bug in EditField class, I think.

Fix:
CtrlLib/EditField.cpp, int EditField::Insert(int pos, const WString& itext)

Change line
if(chr && charset == CHARSET_UNICODE || FromUnicode(chr, charset, 0))

to
if(chr && (charset == CHARSET_UNICODE || FromUnicode(chr, charset, 0)))
Re: DateTimeCtrl [message #8859 is a reply to message #8858] Tue, 03 April 2007 20:18 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

This one is correct in uvs. Which version you ZSolt and mubeta use? 605?
Re: DateTimeCtrl [message #8860 is a reply to message #8859] Tue, 03 April 2007 20:24 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Tue, 03 April 2007 20:18

This one is correct in uvs. Which version you ZSolt and mubeta use? 605?


Yes, it should be already fixed and included in the current 2007.1.rc5
http://www.ultimatepp.org/forum/index.php?t=msg&th=2076& amp;start=0&
Re: DateTimeCtrl [message #8861 is a reply to message #8859] Tue, 03 April 2007 20:24 Go to previous message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
rc2
Previous Topic: where is the linux install? (not sure where to ask this)
Next Topic: does U++ support VTK
Goto Forum:
  


Current Time: Sat May 04 21:11:08 CEST 2024

Total time taken to generate the page: 0.02401 seconds