TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: Johnny37 on October 15, 2004, 03:37:57 AM

Title: More than 5 Calendar Entries ???
Post by: Johnny37 on October 15, 2004, 03:37:57 AM
Nice to see that there is STILL a place for all of the TP enthusiasts to hang out and discuss issues...

I have searched around and I think that I found the answer but the answer points back to the OLDER phpbb - Dark Mojo site and therefore not accessible.  Hopefully someone can assist.

I have OSX 1.0 skin with TP 11.0 and I am trying to display MORE than 5 entries in my calendar or 'AGENDA' section i.e. 7 or 8 (with or without the scroll feature), I have played around with the var18 and var19 and still nada.  I have tried initvar, size of outlook and I don?t know where to go from here!!!  Nothing in the Skinners Reference that I found to help either (unless I overlooked something).

Can someone help me display MORE than 5 entries in the AGENDA/CALENDAR region?  Is it possible?  Code?  Reg Fix?

Thanks in advance,

Johnny37
Title: More than 5 Calendar Entries ???
Post by: uk_skinner on October 15, 2004, 07:44:59 AM
Try to change the 7th or 8th number in outlook code.  Also you need to adjust 5th number (height) in defineregion.  If you need more help, could you please post the code for that particulr region here?
Title: More than 5 Calendar Entries ???
Post by: Johnny37 on October 15, 2004, 08:49:12 AM
Thanks for the help!! Very nice!! The answer was staring me right in the face!! HA HA HA...  OK as you can see I changed the OUTLOOK variables, so now I am able to see that there are more than 5 entries, however I have changed my defregion on the SKIN to give enough room AND when I go in to change the defregion of the AGENDA area, it still covers up the remaining extra entries and only shows 5 - Where have I gone wrong?

SUPPER Thanx!!!

- Johnny37

Code:

//////////////////////////////////////////
//////// AGENDA
//////////////////////////////////////////

region,1,0,-1
defregion,1,0,0,240,100,1
offset,offset_-1,offset_-1
updateregions,2


//image,40,3,gray_button.png,t
//image,98,3,gray_button.png,t
//image,155,3,gray_button.png,t
changefont,tahoma,11,
color,font,-1_4_-1
text,62,3,Agenda,c
text,120,3,Tasks,c
text,177,3,Count,c
color,font,-1_4_-1
button,40,3,45,12,2,4,0,-1
button,98,3,45,12,2,4,1,-1
button,155,3,45,12,2,4,2,-1

if,region,2,3
else

// RESET AGENDA
imagebutton,3,3,reset.png,t,-1,23,0
button,3,3,11,11,-1,23,1
button,3,3,11,11,-1,23,2
button,3,3,11,11,1,22,,

//imagebutton,16,3,up_arrow.png,t,2,4,3,-1

calcvar,var18,firstoutlookday
calcvar,var18,-,%var18%,1


// SCROLL POOM FORWARD
imagebutton,213,3,down_arrow.png,t,-1,25,var19,1
button,213,3,11,11,-1,23,0
button,213,3,11,11,-1,23,1
button,213,3,11,11,-1,23,2

// SCROLL POOM BACKWARDS
imagebutton,226,3,up_arrow.png,t,-1,25,var18,1
button,226,3,11,11,-1,23,0
button,226,3,11,11,-1,23,1
button,226,3,11,11,-1,23,2

endif

offsetadd,0,18

region,2,0,-1
offsetadd,0,-3


//image,40,-12,blue_button.png,t
changefont,tahoma,11,
color,font,0_0_128
//text,62,-12,Agenda,c
color,font,-1_4_-1

options,taskfilter,1
//options,calendarfilter,10
options,apptformat,0,13,13,%tab,60%%starttime,HH:mm%  

%subject%%changefont,tahoma,13,% %location%%changefont,tahoma,13,%
options,apptallday,0,13,13,%tab,68%%subject%
options,taskformat,0,13,13,%tab,68%%checkbox,0,1,12,12,checkbox.png,

checkedbox.png,tr%%tab,82%Due: %subject%
options,taskoverdue,0,13,13,%tab,68%%checkbox,0,1,12,12,checkbox.png

,checkedbox.png,tr%%tab,82%%textcolor,255_0_0%Due:

%subject%%resettextcolor%
options,taskcomplete,0,13,13,%tab,68%%changefont,tahoma,13,s%%checkb

ox,0,1,12,12,checkbox.png,checkedbox.png,tr%%tab,82%Due:

%subject%%changefont,tahoma,13,%
options,blanktext,-1,13,13,%tab,86%-Nothing Further-
options,dateformat,0,0,0,%date,MMM dd ddd%%regularfont%


changefont,tahoma,13,
outlook,2,1,240,143,0,0,96,96,10,1
button,68,1,12,66,5,24,nohighlight,1

offsetadd,0,67
endregion,2,0

region,2,1,-1
offsetadd,0,-3

//image,98,-12,blue_button.png,t
changefont,tahoma,11,
color,font,0_0_128
//text,120,-12,Tasks,c
color,font,-1_4_-1

options,taskfilter,1
options,taskformat,0,13,13,%checkbox,0,1,12,12,checkbox.png,checkedb

ox.png,tr%%tab,14%%bold%%enddate,(MM/dd)% %regularfont%Due:

%subject%
options,taskoverdue,0,13,13,%checkbox,0,1,12,12,checkbox.png,checked

box.png,tr%%tab,14%%textcolor,255_0_0%%changefont,tahoma,13,b%%endda

te,(MM/dd)% %changefont,tahoma,13,%Due: %subject%%resettextcolor%
options,taskcomplete,0,13,13,%changefont,tahoma,13,s%%checkbox,0,1,1

2,12,checkbox.png,checkedbox.png,tr%%tab,14%%changefont,tahoma,13,bs

%%enddate,(MM/dd)% %changefont,tahoma,13,s%Due:

%subject%%changefont,tahoma,13,%
options,blanktext,-1,13,13,
options,dateformat,0,0,0,

changefont,tahoma,13,
outlook,5,1,235,143,2,1,66,var19,1
//outlook,2,1,240,143,0,0,96,,10,1
button,5,1,12,66,5,24,nohighlight,1

offsetadd,0,67
endregion,2,1

region,2,2,-1
offsetadd,0,-3

//image,155,-12,blue_button.png,t
changefont,tahoma,11,
color,font,0_0_128
//text,177,-12,Count,c
color,font,-1_4_-1

options,taskfilter,2
options,calendarfilter,2
options,apptformat,0,13,13,%image,1,3,small_arrow_right.png,tr%%tab,

10%%bold%%countdown, days,HH:mm 'hrs',m

'mins'%%regularfont%%tab,66%%subject%

%changefont,tahoma,13,%(%startdate,dd/MM%)

%changefont,tahoma,13,%%starttime,HH:mm %
options,apptallday,0,13,13,%image,1,3,small_arrow_right.png,tr%%tab,

10%%bold%%countdown, days,HH:mm 'hrs',m

'mins'%%regularfont%%tab,66%%subject%

%changefont,tahoma,13,i%(%startdate,dd/MM%)%changefont,tahoma,13,%
options,blanktext,-1,13,13,
options,dateformat,0,0,0,

changefont,tahoma,13,
outlook,5,1,235,143,0,2,66,var19,,1

offsetadd,0,67
endregion,2,2

endregion,1,0

//////////////////////////////////////////
//////// END AGENDA
//////////////////////////////////////////
Title: More than 5 Calendar Entries ???
Post by: uk_skinner on October 15, 2004, 09:09:36 AM
Ok, try change

"outlook,5,1,235,143,0,2,66,var19,,1" to

"outlook,5,1,235,143,0,2,143,var19,,1"

Play around that number...

Hopefully this help
Title: More than 5 Calendar Entries ???
Post by: rbg08 on October 15, 2004, 02:43:38 PM
Here's the correct link (http://www.jhollin1138.com/forums/viewtopic.php?p=1943#1943) to instructions on changing the number of lines in the Agenda section.
Title: HIP HIP HORRA!!!
Post by: Johnny37 on October 18, 2004, 06:29:59 AM
Thanks for all of the help uk_skinner and rbg08, the Agenda section now shows more than the 5 entries...

Cheers,

Johnny37