ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
[wxPython-users] time control
by Roger Binns other posts by this author
Mar 24 2003 6:49AM messages near this date
Re: [wxPython-users] Making wxTreeListCtrl visible from Python | [wxPython-users] Controlling threads
Does anybody have a control that lets you edit a time that I can put
in an open source program?

I am looking for something like the wxTimeCtrl in the demo, but I need
two important changes.  One is that I don't want the seconds display.
The other is that I need to veto changes.  (I will be displaying
two of them - one is a start time and one is an end time.  I
need to prevent the end time from being before the start time).

The wxTimeCtrl needs quite a bit of work to be fixed. 

 - it has hard coded knowledge that seconds are being displayed
 - vetoing looks hard
 - clicking doesn't work well (it often selects one digit rather
   than both.  The spin control then only updates the one digit)
 - typing only changes one digit even if both are selected
 - you have to have only the 'A' or 'P' selected to use the
   keyboard for A/P (it does nothing if the 'M' is also selected)

Roger

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved