FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TCalex: Starting Date *Fixed*
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
TCalex: Starting Date *Fixed*
Posted: Tue Nov 11, 2014 02:34 AM
I have tried TCalex() sample. I got a problem with starting date. Because this month is November but the 1st date show on Monday (Exactly is Saturday) as picture. When I move to another month, it shows fine. When I move back to November, the 1st date is still incorrect.
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TCalex: Starting Date *Fixed*
Posted: Tue Nov 11, 2014 08:05 AM
I hope you need it

1. At init on main window activate
2. on Build explorer when type select day,month,week
3. when change the data
4. on Buildpopup
Add this function

Code (fw): Select all Collapse
Function Rinfresca(oView)
           o = oView:oCalex:oCalInfoSelected
           AddDates( oView:dStart, oView:dEnd, oView:nStartHour, oView:nEndHour )
            oView:BuildDates()
     RETURN nil




Only I'd like Know how Print the week or the Month (on graphic mode) as microsoft Outollok
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion