Discussion:
Date / Date Time Picker Class
Chris Davis
2018-03-05 21:37:58 UTC
Permalink
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
To: ***@leafe.com
Subject: Date / Date Time Picker Class

Can anyone recommend one which just works and is 100% VFP?

I have tried the one from Sweet Potato but this seems to have a READ EVENTS in the code somewhere which stops the calendar appearing on first click.

I have also tried the ones in FoxyClasses but these are not 100% VFP and do some odd things when bound to a field in a view.

Thanks

Chris.


--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@LO2P265MB0031.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2018-03-05 22:04:15 UTC
Permalink
It seems like everyone has to write one once. Most frameworks I've
worked have have one built in somewhere.

There's one in the leafe.com downloads at https://leafe.com/dls/vfp --
search for calendar

There's one posted on the Fox wiki:
http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng

Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
Post by Chris Davis
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
Subject: Date / Date Time Picker Class
Can anyone recommend one which just works and is 100% VFP?
I have tried the one from Sweet Potato but this seems to have a READ EVENTS in the code somewhere which stops the calendar appearing on first click.
I have also tried the ones in FoxyClasses but these are not 100% VFP and do some odd things when bound to a field in a view.
Thanks
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4s97E1_3PoVDL-***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Richard Kaye
2018-03-05 22:41:07 UTC
Permalink
I've been using this one for a bit. 100% pure VFP.

http://sandstorm36.blogspot.com/2017/12/dtpickerx-december-2017-version.html/

--

rk

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Ted Roche
Sent: Monday, March 05, 2018 5:04 PM
To: ***@leafe.com
Subject: Re: Date / Date Time Picker Class

It seems like everyone has to write one once. Most frameworks I've
worked have have one built in somewhere.

There's one in the leafe.com downloads at https://leafe.com/dls/vfp --
search for calendar

There's one posted on the Fox wiki:
http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng

Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
Post by Chris Davis
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
Subject: Date / Date Time Picker Class
Can anyone recommend one which just works and is 100% VFP?
I have tried the one from Sweet Potato but this seems to have a READ EVENTS in the code somewhere which stops the calendar appearing on first click.
I have also tried the ones in FoxyClasses but these are not 100% VFP and do some odd things when bound to a field in a view.
Thanks
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@DM5PR10MB1244.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Chris Davis
2018-03-06 09:08:46 UTC
Permalink
Looks interesting thanks Richard I will check it out.

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Richard Kaye
Sent: Monday, 05 March 2018 22:41
To: ***@leafe.com
Subject: RE: Date / Date Time Picker Class

I've been using this one for a bit. 100% pure VFP.

http://sandstorm36.blogspot.com/2017/12/dtpickerx-december-2017-version.html/

--

rk

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Ted Roche
Sent: Monday, March 05, 2018 5:04 PM
To: ***@leafe.com
Subject: Re: Date / Date Time Picker Class

It seems like everyone has to write one once. Most frameworks I've worked have have one built in somewhere.

There's one in the leafe.com downloads at https://leafe.com/dls/vfp -- search for calendar

There's one posted on the Fox wiki:
http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng

Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it will work exactly the way you want it to. Eventually.
Post by Chris Davis
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
Subject: Date / Date Time Picker Class
Can anyone recommend one which just works and is 100% VFP?
I have tried the one from Sweet Potato but this seems to have a READ EVENTS in the code somewhere which stops the calendar appearing on first click.
I have also tried the ones in FoxyClasses but these are not 100% VFP and do some odd things when bound to a field in a view.
Thanks
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@LO2P265MB0031.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Richard Kaye
2018-03-06 14:35:16 UTC
Permalink
He's got quite a few interesting classes with an advanced... sense of color. 馃槉 Doug Hennig pointed him out via a blog post a few years ago - http://doughennig.blogspot.com/2016/02/subscribe-to-ssultimate.html

It's a nominal cost to subscribe to Jun's ssUltimate library.
--
rk

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Chris Davis
Sent: Tuesday, March 06, 2018 4:09 AM
To: ***@leafe.com
Subject: RE: Date / Date Time Picker Class

Looks interesting thanks Richard I will check it out.

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Richard Kaye
Sent: Monday, 05 March 2018 22:41
To: ***@leafe.com
Subject: RE: Date / Date Time Picker Class

I've been using this one for a bit. 100% pure VFP.

http://sandstorm36.blogspot.com/2017/12/dtpickerx-december-2017-version.html/
--
rk

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Ted Roche
Sent: Monday, March 05, 2018 5:04 PM
To: ***@leafe.com
Subject: Re: Date / Date Time Picker Class

It seems like everyone has to write one once. Most frameworks I've worked have have one built in somewhere.

There's one in the leafe.com downloads at https://leafe.com/dls/vfp -- search for calendar

There's one posted on the Fox wiki:
http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng

Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it will work exactly the way you want it to. Eventually.
Post by Chris Davis
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
Subject: Date / Date Time Picker Class
Can anyone recommend one which just works and is 100% VFP?
I have tried the one from Sweet Potato but this seems to have a READ EVENTS in the code somewhere which stops the calendar appearing on first click.
I have also tried the ones in FoxyClasses but these are not 100% VFP and do some odd things when bound to a field in a view.
Thanks
Chris.
--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@LO2P265MB0031.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

Report [OT] Abuse: http://leafe.com/reportAbuse/***@LO2P265MB0031.GBRP265.PROD.OUTLOOK.COM

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@DM5PR10MB1244.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages
m***@mbsoftwaresolutions.com
2018-03-06 22:01:56 UTC
Permalink
Post by Richard Kaye
I've been using this one for a bit. 100% pure VFP.
http://sandstorm36.blogspot.com/2017/12/dtpickerx-december-2017-version.html/
Strange...tried it just now and got "Sorry, the page you were looking
for in this blog does not exist. "

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Richard Kaye
2018-03-06 22:04:48 UTC
Permalink
Maybe I munged something in the link? Just take off everything except the domain. That should get you to his blog. The most recent article about the date picker class is from December 2017.

--

rk

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of ***@mbsoftwaresolutions.com
Sent: Tuesday, March 06, 2018 5:02 PM
To: ***@leafe.com
Subject: Re: Date / Date Time Picker Class
Post by Richard Kaye
I've been using this one for a bit. 100% pure VFP.
http://sandstorm36.blogspot.com/2017/12/dtpickerx-december-2017-version.html/
Strange...tried it just now and got "Sorry, the page you were looking
for in this blog does not exist. "

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@DM5PR10MB1244.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Vince Teachout
2018-03-06 22:07:33 UTC
Permalink
Post by Richard Kaye
I've been using this one for a bit. 100% pure VFP.
http://sandstorm36.blogspot.com/2017/12/dtpickerx-december-2017-version.html/
Just remove the trailing forward slash after the .html - it doesn't
belong there.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/f3486b4b-eec6-cc24-7fa0-***@taconic.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
John Weller
2018-03-06 22:11:15 UTC
Permalink
+1

John Weller
01380 723235
079763 93631
Sent from my iPad
Post by Richard Kaye
I've been using this one for a bit. 100% pure VFP.
http://sandstorm36.blogspot.com/2017/12/dtpickerx-december-2017-version.html/
Strange...tried it just now and got "Sorry, the page you were looking for in this blog does not exist. "
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/B29CE09D-7CE2-439D-971C-***@jbweller.force9.co.uk
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
J眉rgen Wondzinski
2018-03-08 04:14:49 UTC
Permalink
A lot of Jun's stuff is on VFPX. The correct download area for those should
be
www.VFPX.org, then look for "ssClasses",

which will bring you to
https://github.com/VFPX/ssClasses


Unfortunately, the DateTime picker is not part of those:
http://sandstorm36.blogspot.de/2017/12/dtpickerx-december-2017-version.html

You need to subscribe to his "Ultimate Library":
http://sandstorm36.blogspot.de/2015/12/whats-on-ssultimate-library.html
Which is absolutely worth the money.
You surely will have a different mindset about his usage of colors, fonts
and bitmaps, but those you always can change to your likings :)




wOOdy聽



"*麓篓)
赂.路麓赂.路*麓篓) 赂.路*篓)
(赂.路麓. (赂.路` *
.路`.Visual FoxPro: It's magic !
(赂.路``路路*




_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/007d01d3b694$009f95f0$01dec1d0$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Chris Davis
2018-03-08 17:18:42 UTC
Permalink
I have just had a play around with the DTPicker VFP example which is good but when I try and use that on my own form it reports that value is readonly

Basically I need to set this control to an empty date when adding a new record or set it to a date from an existing record in a table as it doesn't seem to support control source

Anyone out there working with ole dtpicker?

Thanks

Chris.

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of J眉rgen Wondzinski
Sent: Thursday, 08 March 2018 04:15
To: ***@leafe.com
Subject: AW: Date / Date Time Picker Class

A lot of Jun's stuff is on VFPX. The correct download area for those should be www.VFPX.org, then look for "ssClasses",

which will bring you to
https://github.com/VFPX/ssClasses


Unfortunately, the DateTime picker is not part of those:
http://sandstorm36.blogspot.de/2017/12/dtpickerx-december-2017-version.html

You need to subscribe to his "Ultimate Library":
http://sandstorm36.blogspot.de/2015/12/whats-on-ssultimate-library.html
Which is absolutely worth the money.
You surely will have a different mindset about his usage of colors, fonts and bitmaps, but those you always can change to your likings :)




wOOdy聽



"*麓篓)
赂.路麓赂.路*麓篓) 赂.路*篓)
(赂.路麓. (赂.路` *
.路`.Visual FoxPro: It's magic !
(赂.路``路路*




[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@LO2P265MB0031.GBRP265.PROD.OUTLOOK.COM
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Richard Kaye
2018-03-08 18:07:21 UTC
Permalink
I use the dtperiod container class. Jun tends to use object properties as opposed to control values. dtFrom.Value and dtTo.Value are what I get or set for dtPeriod.

+1 to Woody's comment. There are a lot of really cool things in the ssUltimate classes and the cost to subscribe is nominal.

--

rk

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of Chris Davis
Sent: Thursday, March 08, 2018 12:19 PM
To: ***@leafe.com
Subject: RE: Date / Date Time Picker Class

I have just had a play around with the DTPicker VFP example which is good but when I try and use that on my own form it reports that value is readonly

Basically I need to set this control to an empty date when adding a new record or set it to a date from an existing record in a table as it doesn't seem to support control source

Anyone out there working with ole dtpicker?

Thanks

Chris.

-----Original Message-----
From: ProfoxTech <profoxtech-***@leafe.com> On Behalf Of J眉rgen Wondzinski
Sent: Thursday, 08 March 2018 04:15
To: ***@leafe.com
Subject: AW: Date / Date Time Picker Class

A lot of Jun's stuff is on VFPX. The correct download area for those should be www.VFPX.org, then look for "ssClasses",

which will bring you to
https://github.com/VFPX/ssClasses


Unfortunately, the DateTime picker is not part of those:
http://sandstorm36.blogspot.de/2017/12/dtpickerx-december-2017-version.html

You need to subscribe to his "Ultimate Library":
http://sandstorm36.blogspot.de/2015/12/whats-on-ssultimate-library.html
Which is absolutely worth the money.
You surely will have a different mindset about his usage of colors, fonts and bitmaps, but those you always can change to your likings :)




wOOdy聽



"*麓篓)
赂.路麓赂.路*麓篓) 赂.路*篓)
(赂.路麓. (赂.路` *
.路`.Visual FoxPro: It's magic !
(赂.路``路路*




[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@DM5PR10MB1244.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Peter Cushing
2018-03-09 10:33:13 UTC
Permalink
<snip>
Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
I love that word on the end ... eventually.聽 It says everything about
rolling your own :-)

Peter


This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

www.whisperingsmith.com

Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR.
Tel:0161 831 3700
Fax:0161 831 3715

London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960




_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/b1ccd917-1e9c-b2d1-0ebf-***@whisperingsmith.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too st
Eric Selje
2018-03-09 15:58:59 UTC
Permalink
Paul Mrzowski wrote one at
http://www.rcs-solutions.com/blog/2009/02/21/UpdatedVFPCalendarControl.aspx
but that sites giving me an error at the moment. I let Paul know.

Eric
Post by Peter Cushing
<snip>
Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
I love that word on the end ... eventually. It says everything about
rolling your own :-)
Peter
This communication is intended for the person or organisation to whom it
is addressed. The contents are confidential and may be protected in law.
Unauthorised use, copying or disclosure of any of it may be unlawful. If
you have received this message in error, please notify us immediately by
telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Mancheste
<https://maps.google.com/?q=Office:61+Great+Ducie+Street,+Mancheste&entry=gmail&source=g>r
M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London
<https://maps.google.com/?q=fice:17-19+Foley+Street,+London&entry=gmail&source=g>
W1W 6DW Tel:0207 299 7960
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAAwxvUmE17TLK+jqUEaEXXS6BhO0k1fgaYJmbEaXHOpti+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Eric Selje
2018-03-09 16:35:50 UTC
Permalink
Here's Paul's all VFP DateTime Picker: http://www.rcs-solutions.com/
Download.ashx?File=rcsCalendar.zip
Paul Mrzowski wrote one at http://www.rcs-solutions.com/b
log/2009/02/21/UpdatedVFPCalendarControl.aspx but that sites giving me an
error at the moment. I let Paul know.
Eric
On Fri, Mar 9, 2018 at 4:33 AM, Peter Cushing <
Post by Peter Cushing
<snip>
Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
I love that word on the end ... eventually. It says everything about
rolling your own :-)
Peter
This communication is intended for the person or organisation to whom it
is addressed. The contents are confidential and may be protected in law.
Unauthorised use, copying or disclosure of any of it may be unlawful. If
you have received this message in error, please notify us immediately by
telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Mancheste
<https://maps.google.com/?q=Office:61+Great+Ducie+Street,+Mancheste&entry=gmail&source=g>r
M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London
<https://maps.google.com/?q=fice:17-19+Foley+Street,+London&entry=gmail&source=g>
W1W 6DW Tel:0207 299 7960
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAAwxvUnWux-hPJABYVtt_UGdB6uz958_NOUAE+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Koen Piller
2018-03-09 17:06:03 UTC
Permalink
Paul.

the form Testlargecalender errors on line
lcEval = m.lcLine + [.Top = ] + TRANSFORM((m.lnDateHeight * m.lnIndex) + 51)
&lcEval

in cntCalendar, arrangeui method

lcEval shows in my debugger "This.linDateH1.Top = 109,6667"

trust you have enough info to solve this problem.

Regards,
Koen
Post by Eric Selje
Here's Paul's all VFP DateTime Picker: http://www.rcs-solutions.com/
Download.ashx?File=rcsCalendar.zip
Paul Mrzowski wrote one at http://www.rcs-solutions.com/b
log/2009/02/21/UpdatedVFPCalendarControl.aspx but that sites giving me
an
error at the moment. I let Paul know.
Eric
On Fri, Mar 9, 2018 at 4:33 AM, Peter Cushing <
Post by Peter Cushing
<snip>
Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
I love that word on the end ... eventually. It says everything about
rolling your own :-)
Peter
This communication is intended for the person or organisation to whom it
is addressed. The contents are confidential and may be protected in law.
Unauthorised use, copying or disclosure of any of it may be unlawful. If
you have received this message in error, please notify us immediately by
telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Mancheste
<https://maps.google.com/?q=Office:61+Great+Ducie+Street,+
Mancheste&entry=gmail&source=g>r
Post by Peter Cushing
M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London
<https://maps.google.com/?q=fice:17-19+Foley+Street,+
London&entry=gmail&source=g>
Post by Peter Cushing
W1W 6DW Tel:0207 299 7960
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACUu1SvZzioJ0jRbun48yovxva4ywUs3HdPNR=***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
m***@mbsoftwaresolutions.com
2018-03-09 19:32:21 UTC
Permalink
Post by Koen Piller
Paul.
the form Testlargecalender errors on line
lcEval = m.lcLine + [.Top = ] + TRANSFORM((m.lnDateHeight * m.lnIndex) + 51)
&lcEval
in cntCalendar, arrangeui method
lcEval shows in my debugger "This.linDateH1.Top = 109,6667"
trust you have enough info to solve this problem.
Regards,
Koen
...or you could post the fix and be a community hero. :-)

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Koen Piller
2018-03-10 02:04:14 UTC
Permalink
Hi,
Paul's 100% VFP Calendar class with a minor bug fix on form.
Testlargecalender zip would like to attach however which I cannot do here
due to seq.reasons. How would you like me to transfer?
Regards,
Koen
Post by Ted Roche
It seems like everyone has to write one once. Most frameworks I've
worked have have one built in somewhere.
There's one in the leafe.com downloads at https://leafe.com/dls/vfp --
search for calendar
http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng
Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
Post by Chris Davis
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
Subject: Date / Date Time Picker Class
Can anyone recommend one which just works and is 100% VFP?
I have tried the one from Sweet Potato but this seems to have a READ
EVENTS in the code somewhere which stops the calendar appearing on first
click.
Post by Chris Davis
I have also tried the ones in FoxyClasses but these are not 100% VFP and
do some odd things when bound to a field in a view.
Post by Chris Davis
Thanks
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACUu1SugDgR9EvcQ1vokiS5Qyfee2-NdFmVkhF=gq=M-***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Koen Piller
2018-03-10 08:16:54 UTC
Permalink
Hi,

It is also easy to be done:
Just replace
code in method rcsLargeCalendar.ArrangeUI
with following code:
Local lcLine as String, ;
lnDateHeight as Number, ;
lnDateWidth as Number, ;
lnHalfWidth as Number, ;
lnHeight as Number, ;
lnIndex as Number, ;
lnLine as Number, ;
loControl as Object, ;
loLine as Object

If This.Height < 87 Or This.Width < 87
Return
Endif

lnDateWidth = (This.Width - 14) / 7
lnDateHeight = (This.Height - 86) / 6
lnHeight = This.Height - 86

* Re-arrange the vertical lines

*!* FOR lnIndex = 0 TO 7
*!* lcLine = [This.linDate] + TRANSFORM(m.lnIndex + 1)
*!* *loLine = EVALUATE("this.linDate1"+TRANSFORM(m.lnIndex +1)

*!* lcEval = m.lcLine + [.Left = (m.lnIndex * m.lnDateWidth) + 6 ]
*!* &lcEval
*!* lcEval = m.lcLine + ".Height = m.lnHeight"
*!* &lcEval
*!* ENDFOR

*!* * Re-arrange the horizontal lines
*!* FOR lnIndex = 1 TO 6
*!* lcLine = [This.linDateH] + TRANSFORM(m.lnIndex)
*!* lcEval = m.lcLine + [.Top = ] + TRANSFORM((m.lnDateHeight *
m.lnIndex) + 51)
*!* &lcEval
*!* lcEval = m.lcLine + [.Width = ] + TRANSFORM(This.Width - 14)
*!* &lcEval
*!* ENDFOR

*** Koen Piller 10-3-2018
*Rearrange the vertical lines
For lnIndex = 0 To 7
lcLine = [This.linDate]+Transform(m.lnIndex+1)
lcLine = STRTRAN(lcLine,"THIS",'',1,1,1)
loLine = EVALUATE("This" + lcLine)
loLine.Left = (m.lnIndex * m.lnDateWidth) + 6
loLine.Height = m.lnHeight
Endfor
*Rearrange the horizontal lines
For lnIndex = 1 To 6
lcLine = [This.linDateH] + Transform(m.lnIndex)
lcLine = STRTRAN(m.lcLine,"THIS",'',1,1,1)
loLine = Evaluate("This" + m.lcLine)
loLine.Top = (m.lnDateHeight * m.lnIndex) + 33
loLine.Width = This.Width - 14
ENDFOR
***

This.Line1.Width = This.Width - 14
This.Line2.Width = This.Width - 14

This.shpBackground.Width = This.Width - 4
This.shpBackground.Height = This.Height - 34

This.shpMonthBackground.Width = This.Width - 14
This.shpMonthBackground.Height = m.lnHeight

This.Line2.Top = This.shpMonthBackground.Top +
This.shpMonthBackground.Height

This.shpControlBackground.Width = This.Width - 2

* Adjust the day of the week
lnHalfWidth = m.lnDateWidth / 2
This.rcsWeekdays1.Width = This.Width - 4
This.rcsWeekdays1.lblSun.Left = (m.lnDateWidth * 1) - m.lnHalfWidth -
(This.rcsWeekdays1.lblSun.Width / 2) + 4
This.rcsWeekdays1.lblMon.Left = (m.lnDateWidth * 2) - m.lnHalfWidth -
(This.rcsWeekdays1.lblMon.Width / 2) + 4
This.rcsWeekdays1.lblTue.Left = (m.lnDateWidth * 3) - m.lnHalfWidth -
(This.rcsWeekdays1.lblTue.Width / 2) + 4
This.rcsWeekdays1.lblWed.Left = (m.lnDateWidth * 4) - m.lnHalfWidth -
(This.rcsWeekdays1.lblWed.Width / 2) + 4
This.rcsWeekdays1.lblThu.Left = (m.lnDateWidth * 5) - m.lnHalfWidth -
(This.rcsWeekdays1.lblThu.Width / 2) + 4
This.rcsWeekdays1.lblFri.Left = (m.lnDateWidth * 6) - m.lnHalfWidth -
(This.rcsWeekdays1.lblFri.Width / 2) + 4
This.rcsWeekdays1.lblSat.Left = (m.lnDateWidth * 7) - m.lnHalfWidth -
(This.rcsWeekdays1.lblSat.Width / 2) + 4

This.txtMonthYear.Left = (This.Width - This.txtMonthYear.Width) / 2
This.Shape1.Left = (This.Width - This.Shape1.Width) / 2
This.rcsLeftButton1.Left = This.Shape1.Left - 26
This.rcsRightButton1.Left = This.Shape1.Left + This.Shape1.Width + 2

This.rcsCircled1.Top = This.Height - 23
This.lblToday.Top = This.Height - 22
This.txtToday.Top = This.Height - 24

* Now we have to re-position the dates themselves
For Each loControl In This.Controls
If Lower(Left(m.loControl.Name, 7)) = "rcsdate"
If m.loControl.BaseClass = "Label"
This.ConfigureDateLabel(m.loControl)
loControl.PositionEvents()

If loControl.dDate = Date()
This.CircleMe(m.loControl,
This.IsDateSelected(m.loControl.dDate))
Endif
Endif
Endif
Endfor

and you are done.

Regards,

Koen
Post by Koen Piller
Hi,
Paul's 100% VFP Calendar class with a minor bug fix on form.
Testlargecalender zip would like to attach however which I cannot do here
due to seq.reasons. How would you like me to transfer?
Regards,
Koen
Post by Ted Roche
It seems like everyone has to write one once. Most frameworks I've
worked have have one built in somewhere.
There's one in the leafe.com downloads at https://leafe.com/dls/vfp --
search for calendar
http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng
Or, you can just write your own that works the way you want it to.
It's fun, it's easy, it's something you know the rules for, and it
will work exactly the way you want it to. Eventually.
Post by Chris Davis
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
Subject: Date / Date Time Picker Class
Can anyone recommend one which just works and is 100% VFP?
I have tried the one from Sweet Potato but this seems to have a READ
EVENTS in the code somewhere which stops the calendar appearing on first
click.
Post by Chris Davis
I have also tried the ones in FoxyClasses but these are not 100% VFP
and do some odd things when bound to a field in a view.
Post by Chris Davis
Thanks
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Man-wai Chang
2018-03-09 07:52:17 UTC
Permalink
I posted a calendar control in FoxWikis....
http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng
Post by Chris Davis
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Chris Davis
Sent: Sunday, March 4, 2018 3:01:05 PM
Subject: Date / Date Time Picker Class
Can anyone recommend one which just works and is 100% VFP?
I have tried the one from Sweet Potato but this seems to have a READ EVENTS in the code somewhere which stops the calendar appearing on first click.
I have also tried the ones in FoxyClasses but these are not 100% VFP and do some odd things when bound to a field in a view.
Thanks
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAGv=MJA=US0N2+=d4J2DDpmY_qUiPXa0ywMABRhg4Ddu+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Continue reading on narkive:
Loading...