Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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 ---
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.
On Mon, Mar 5, 2018 at 4:37 PM, Chris Davis chrisd@actongate.co.uk wrote:
Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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
[excessive quoting removed by server]
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-bounces@leafe.com On Behalf Of Ted Roche Sent: Monday, March 05, 2018 5:04 PM To: profoxtech@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.
On Mon, Mar 5, 2018 at 4:37 PM, Chris Davis chrisd@actongate.co.uk wrote:
Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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
[excessive quoting removed by server]
Looks interesting thanks Richard I will check it out.
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Richard Kaye Sent: Monday, 05 March 2018 22:41 To: profoxtech@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-bounces@leafe.com On Behalf Of Ted Roche Sent: Monday, March 05, 2018 5:04 PM To: profoxtech@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.
On Mon, Mar 5, 2018 at 4:37 PM, Chris Davis chrisd@actongate.co.uk wrote:
Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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
[excessive quoting removed by server]
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-bounces@leafe.com On Behalf Of Chris Davis Sent: Tuesday, March 06, 2018 4:09 AM To: profoxtech@leafe.com Subject: RE: Date / Date Time Picker Class
Looks interesting thanks Richard I will check it out.
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Richard Kaye Sent: Monday, 05 March 2018 22:41 To: profoxtech@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-bounces@leafe.com On Behalf Of Ted Roche Sent: Monday, March 05, 2018 5:04 PM To: profoxtech@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.
On Mon, Mar 5, 2018 at 4:37 PM, Chris Davis chrisd@actongate.co.uk wrote:
Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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
[excessive quoting removed by server]
_______________________________________________ Post Messages to: ProFox@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/LO2P265MB003157DBACE1BACB766C85A28FD9... ** 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/LO2P265MB003157DBACE1BACB766C85A28FD90@LO2P265M...
On 2018-03-05 17:41, Richard Kaye wrote:
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. "
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-bounces@leafe.com On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com Sent: Tuesday, March 06, 2018 5:02 PM To: profoxtech@leafe.com Subject: Re: Date / Date Time Picker Class
On 2018-03-05 17:41, Richard Kaye wrote:
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]
On 03/06/18 5:01 PM, mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
On 2018-03-05 17:41, Richard Kaye wrote:
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
+1
John Weller 01380 723235 079763 93631 Sent from my iPad
On 6 Mar 2018, at 22:01, mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
On 2018-03-05 17:41, Richard Kaye wrote: 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. "
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 ! (¸.·``··*
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-bounces@leafe.com On Behalf Of Jürgen Wondzinski Sent: Thursday, 08 March 2018 04:15 To: profoxtech@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]
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-bounces@leafe.com On Behalf Of Chris Davis Sent: Thursday, March 08, 2018 12:19 PM To: profoxtech@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-bounces@leafe.com On Behalf Of Jürgen Wondzinski Sent: Thursday, 08 March 2018 04:15 To: profoxtech@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]
On 05/03/2018 22:04, Ted Roche wrote:
<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
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
On Fri, Mar 9, 2018 at 4:33 AM, Peter Cushing pcushing@whisperingsmith.com wrote:
On 05/03/2018 22:04, Ted Roche wrote:
<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=gr 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]
Here's Paul's all VFP DateTime Picker: http://www.rcs-solutions.com/ Download.ashx?File=rcsCalendar.zip
On Fri, Mar 9, 2018 at 9:58 AM, Eric Selje Eric@saltydogllc.com wrote:
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 < pcushing@whisperingsmith.com> wrote:
On 05/03/2018 22:04, Ted Roche wrote:
<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=gr 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]
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
2018-03-09 17:35 GMT+01:00 Eric Selje Eric@saltydogllc.com:
Here's Paul's all VFP DateTime Picker: http://www.rcs-solutions.com/ Download.ashx?File=rcsCalendar.zip
On Fri, Mar 9, 2018 at 9:58 AM, Eric Selje Eric@saltydogllc.com wrote:
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 < pcushing@whisperingsmith.com> wrote:
On 05/03/2018 22:04, Ted Roche wrote:
<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]
On 2018-03-09 12:06, Koen Piller wrote:
Paul.
the form Testlargecalender errors on line lcEval = m.lcLine + [.Top = ] + TRANSFORM((m.lnDateHeight * m.lnIndex)
&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. :-)
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
2018-03-05 23:04 GMT+01:00 Ted Roche tedroche@gmail.com:
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.
On Mon, Mar 5, 2018 at 4:37 PM, Chris Davis chrisd@actongate.co.uk wrote:
Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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
[excessive quoting removed by server]
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
2018-03-10 3:04 GMT+01:00 Koen Piller koen.piller@gmail.com:
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
2018-03-05 23:04 GMT+01:00 Ted Roche tedroche@gmail.com:
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.
On Mon, Mar 5, 2018 at 4:37 PM, Chris Davis chrisd@actongate.co.uk wrote:
Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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
[excessive quoting removed by server]
I posted a calendar control in FoxWikis.... http://fox.wikis.com/wc.dll?Wiki~CalendarControl~SoftwareEng
On Tue, Mar 6, 2018 at 5:37 AM, Chris Davis chrisd@actongate.co.uk wrote:
Get Outlook for iOShttps://aka.ms/o0ukef ________________________________ From: Chris Davis Sent: Sunday, March 4, 2018 3:01:05 PM To: profox@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
[excessive quoting removed by server]