Does one really have to write all this code:-
http://screeniqsys.com/blog/2009/10/21/datepickereditor-a-useful-control-for-wxpython/
to get a grid cell with a date picker in it?
If it's really necessary then I'll use it but it feels as if there
should be an easier way.
···
--
Chris Green
Hi, Chris,
Does one really have to write all this code:-
DatePickerEditor – A useful control for wxPython | Insane Ramblings of a Sane Madman
to get a grid cell with a date picker in it?
If it's really necessary then I'll use it but it feels as if there
should be an easier way.
Did you look at the sample code provided by the wxPython?
I don't know what this screeningsys.com site is, but you can download
an official demo package from wxpython.org.
Thank you.
···
On Fri, Feb 12, 2016 at 12:26 PM, Chris Green <cl@isbd.net> wrote:
--
Chris Green
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Chris Green wrote:
Does one really have to write all this code:-
DatePickerEditor – A useful control for wxPython | Insane Ramblings of a Sane Madman
to get a grid cell with a date picker in it?
You kids today are getting spoiled by how easy Python is. I should
share the horror stories of building custom controls in C for Windows 3.1.
That's not very much code at all. After discarding comments and
overhead, there's only 25 or 30 lines of actual code. That seems very
tiny, considering you're adding a brand new control with formatting and
validation.
If it's really necessary then I'll use it but it feels as if there should be an easier way.
There's no magic. There isn't one built-in, so you have to do the whole
job yourself.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.