TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: LightMan on November 11, 2003, 10:44:54 AM

Title: Problem with poom section
Post by: LightMan on November 11, 2003, 10:44:54 AM
I'm having a problem with my agenda section.
Before version 0.9.8, it automatically resized according to the contents.
Now, when it doesn't have space to display all appointments of the last day, it leaves a blank space.
Must I use the new command calcspace to solve this or can it be done some other way?

(http://www.pocketforce.com/picup/pc_capture1.gif)

Here's the code for my Agenda section (I have 110 for height on all settings : region definition, outlook command and offset)
region,3,0,60
defregion,3,0,0,240,110,2
offset,offset_-1,offset_-1
imagebutton,225,2,ib_up_arrow.bmp,t,3,4,1,-1
imagebutton,210,2,ib_launch_app.png,t,-1,0,%calendar
options,apptformat,appt0
options,apptallday,apptallday0
options,dateformat,0
options,blanktext,blank-none
outlook,1,1,205,110,1,0
offsetadd,0,110
endregion,3,0
Title: Problem with poom section
Post by: srs on November 11, 2003, 01:40:56 PM
it doesn't display the last day if it cant fit in the day heading + at least one appointment.  from the screenshot it looks like it might not be possible to fit in another day (the space remaining must be less that total appt height + total data height)
Title: Problem with poom section
Post by: arbitrajeu on November 11, 2003, 01:47:14 PM
I'm rapidly coming to the conclusion that, due to the very sophisticated approach TodayPlus has to displaying POOM information, the agenda section should be the bottom section of every skin.  This way, any "clipping" of dates/appointments for reasons such as this will not result in a space in the middle of the skins.

Would this be a fair assertion at this stage?
Title: Problem with poom section
Post by: LightMan on November 11, 2003, 02:23:14 PM
Quote from: arbitrajeuI'm rapidly coming to the conclusion that, due to the very sophisticated approach TodayPlus has to displaying POOM information, the agenda section should be the bottom section of every skin.  This way, any "clipping" of dates/appointments for reasons such as this will not result in a space in the middle of the skins.

Would this be a fair assertion at this stage?

Well, if you have more plugins under TodayPlus, the problem is the same, so TodayPlus should deal with it, in my opinion.

@srs : in that case, isn't there a way (command) that allows to automatically resize that region ?
Title: Problem with poom section
Post by: arbitrajeu on November 11, 2003, 05:04:12 PM
Quote from: LightManWell, if you have more plugins under TodayPlus, the problem is the same, so TodayPlus should deal with it, in my opinion.
Good point.  I hadn't considered the possibility that there is anything TodayPlus can't do... ;)
Title: Problem with poom section
Post by: LightMan on November 11, 2003, 05:26:13 PM
Quote from: arbitrajeuGood point.  I hadn't considered the possibility that there is anything TodayPlus can't do... ;)

ehehe I know what you mean...but for instance, I use SPB GPRS Monitor and MS Money as additional today plugins.
Title: Problem with poom section
Post by: LightMan on November 12, 2003, 10:48:43 AM
Getting back on topic :

so after T+ calculates the info it can display in that appointment area, is there (or not) a way of automatically resizing that area ?
Title: Problem with poom section
Post by: srs on November 12, 2003, 02:37:27 PM
I have added an option to the outlook command which will calculate the height used.  You can then use this to adjust the offsets accordingly.
Title: Problem with poom section
Post by: LightMan on November 12, 2003, 06:16:44 PM
Quote from: srsI have added an option to the outlook command which will calculate the height used.  You can then use this to adjust the offsets accordingly.

Great, that will be very useful :D  8)

Thanks a lot srs :)