Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5189

Re: emptydatetimepicker for 2.8?

From "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: emptydatetimepicker for 2.8?
Date 2013-05-02 07:54 +0000
Organization A noiseless patient Spider
Message-ID <klt642$2h7$1@dont-email.me> (permalink)
References <dff8afc5-13d1-4cb4-b8ea-0906b984d9fb@googlegroups.com>

Show all headers | View raw


Hi Glenn,

This is what I what I wrote on  28/08/2012 in the newsgroup of
GrafXSoft:

Z_DateTimePicker and VO2.838 (VO2.8 SP4)
========================================

Hello All,

If you are looking for a new version of Z_DateTimePicker for VO2.8 SP4,
you will no longer find.

I have sent my sources and tips some time ago to Robert. He has
implemented this sources.
Then, Sven has made the sources more robust and generalized.

Now, it is a beautiful control, which almost does everything a
DTP-control can do!

So, if you want to have the same behavior as before, you have to write
your own Z_DateTimePicker as follows:

CLASS Z_DateTimePicker INHERIT DateTimePicker
METHOD Init(oOwner,xID,oPoint,oDimension,dwStyle,lDataAware) CLASS
Z_DateTimePicker
	SUPER:Init(oOwner,xID,oPoint,oDimension,dwStyle,lDataAware)
	//Show an empty field when displaying an empty date or time
	SELF:FormatNone := "''" //(double quote, single quote, single quote,
doublequote)
RETURN SELF 


Please enjoy this new class...

Dirk Herijgers
dirk@triviant.be

Belgium, 28/08/2012


Glenn Keeler wrote:

> Is there a version of the DateTimePicker extensions that provides
> EmptyDateTimePicker, and NoneDateTimePicker? Based on postings in
> this group, I can get rid of the functions that cause these to crash
> under 2.8. However, there appears to still be a problem in that the
> display of the date is not visible after checking the checkbox. Does
> anyone have a pointer to that?
> 
> Alternatively, a pointer to a different set of DateTimePicker
> replacements that supports an empty date would also be appreciated.



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

emptydatetimepicker for 2.8? Glenn Keeler <glennkeeler@shaw.ca> - 2013-04-30 21:37 -0700
  Re: emptydatetimepicker for 2.8? "Willie Moore" <williem@wmconsulting.com> - 2013-05-01 08:43 -0500
  Re: emptydatetimepicker for 2.8? "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2013-05-02 07:54 +0000
    Re: emptydatetimepicker for 2.8? Glenn Keeler <glennkeeler@shaw.ca> - 2013-05-03 20:36 -0700
      Re: emptydatetimepicker for 2.8? "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2013-05-06 10:15 +0000
        Re: emptydatetimepicker for 2.8? Glenn Keeler <glennkeeler@shaw.ca> - 2013-05-06 19:29 -0700
          Re: emptydatetimepicker for 2.8? "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2013-05-07 07:08 +0000

csiph-web