OnGetState( oCal, aDates )
oCal:SetDayState()
oCal:bOnGetState = { | oCal | OnGetState( oCal, aDates ) }
SetDayState() results in an unrecoverable error 9023: hb_xgrab requested to allocate zero bytes. There are 23 elements in the array aDates, and at least two are for the month being displayed.
Looking at the code for OnGetState( oCal, aDates ), however, I think there may be an error:
METHOD SetArrayDayState( nMonth, nDay ) is looking for the actual month, but in the function provided, that value is always 1
oCal:SetArrayDayState( 1, Day( aDates[ i ] ) )
I would love to get this working. The code to which I'm referring was in the previous post on the Calendar implementation in 10.4.
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18690&p=97977&hilit=calendar#p97977
Thanks for any suggestions !
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

