Page Index Toggle Pages: 1 [2] 3 4 ... 7 Send TopicPrint
Very Hot Topic (More than 25 Replies) PocketPlannerDesign for .NET 2.0 (Read 56946 times)
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #15 - Mar 30th, 2006 at 10:09am
Print Post  
thanks it works good
but the only problem that i have is that the mainmenu stands at the bottom and in the demo it stands to the top
i have klikt on the mainmenu but in the properties i cant change it and when i want to drag the mainmenu to the top it stay at the bottom Embarrassed
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketPlannerDesign for .NET 2.0
Reply #16 - Mar 30th, 2006 at 10:21am
Print Post  
Yes, but when you start the Demo from the PocketPlanner menu under the Windows XP Start button it runs with the full .NET framework runtime and displays menus at the top of the Window. The .NETCF standard is to display menus at the bottom of the device. So when you run the sample on the device the menu is down there, and I don't know of any way to change its location.
  
Back to top
 
IP Logged
 
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #17 - Mar 30th, 2006 at 11:28am
Print Post  
it is not a problem that it stay at the bottom but i want just to know of it could

but when you display the timetable you see for eatch hour just one line to put an appointment on

but on my project i must show a timetable with 4 line four each hour (eatch quarter one appointment) do you know how to do that

i chearched in the help but found nothing
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketPlannerDesign for .NET 2.0
Reply #18 - Mar 30th, 2006 at 12:35pm
Print Post  
try this

calendar.TimetableSettings.CellTime = TimeSpan.FromMinutes(15);
  
Back to top
 
IP Logged
 
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #19 - Mar 31st, 2006 at 7:59am
Print Post  
thx it works very good
but i think i found an error in the demo
when i click in the single month on the day 1 april until 9 april (the grey chiffers) the day range and week range work wel
but when i click in april on the 1 april (black chiffers)
the day range jumps direct to 26 april and the week range to 24 april and not to 1 april ???
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketPlannerDesign for .NET 2.0
Reply #20 - Mar 31st, 2006 at 9:42am
Print Post  
Do you mean that the displayed time range is not preserved when switching between the views ?
  
Back to top
 
IP Logged
 
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #21 - Mar 31st, 2006 at 9:58am
Print Post  
i mean you klik in single month on the month mars
you see at the bottom a row of days of the month april from 1 to 9 april (in the gray color)and when i stay in the month mars and click on those days and change view to day range or week range there is no problem
but when a change in the single month to april
and click there on a day and change then the view to day range or week range he doesnt give that day but jumps direct to 26 april
so the problem is when you click on a day and change view that is doesn't correspondent whit the day you clickt on
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketPlannerDesign for .NET 2.0
Reply #22 - Mar 31st, 2006 at 10:00am
Print Post  
WeekRange and DayRange views display the dates in the interval [Calendar.Date, Calendar.EndDate]. If you scroll in the SingleMonth view, this automatically changes Calendar.Date to the next or previous month respectively. Thus if you scroll from March to April in a Single month view, Calendar.Date is moved to month April (the same day) and when you switch the view to WeekRange or DayRange, the first visible date is from April.

To counter this behavior, set Calendar.Date explicitly when you change the view to WeekRange or DayRange, like this:

calendar.Date = new Date(2006, 24, 3);
calendar.CurrentView = CalendarView.DayRange;

Stoyan
  
Back to top
 
IP Logged
 
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #23 - Mar 31st, 2006 at 12:08pm
Print Post  
calendar.Date = new Date(2006, 24, 3);
calendar.CurrentView = CalendarView.DayRange;

so if i understand it good this code must stand by weekrange and dayrange
code weekrange
calendar.CurrentView = CalendarView.WeekRange;
change by
calendar.CurrentView = CalendarView.DayRange;
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketPlannerDesign for .NET 2.0
Reply #24 - Mar 31st, 2006 at 12:48pm
Print Post  
For example you could check which is the current month displayed in the SingleMonth view, and then when switching to WeekRange or DateRange, set the calendar.Date to the first day of the current month.
  
Back to top
 
IP Logged
 
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #25 - Apr 3rd, 2006 at 5:12am
Print Post  
i have a question
for my project i must make a schedular for a dentist
but the dentist has 3 timetables
can you add by that one timetable two others
because i tried to copy the code of the timetable and past the and changed the names in menu

Friend WithEvents _menuTimetable As System.Windows.Forms.MenuItem

Friend WithEvents _menuTimetable1 As System.Windows.Forms.MenuItem

Friend WithEvents _menuTimetable2 As System.Windows.Forms.MenuItem

but he gives on the names an error
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketPlannerDesign for .NET 2.0
Reply #26 - Apr 3rd, 2006 at 6:13am
Print Post  
Try adding the menu items using the form designer menu editor. There might be some more code that need to be generated apart from the

  Friend WithEvents _menuTimetable2 As System.Windows.Forms.MenuItem

declaration.
  
Back to top
 
IP Logged
 
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #27 - Apr 3rd, 2006 at 7:42am
Print Post  
i have tried in the two ways
in the code and in the desing but when i add a new item he gives an error

the given assembly name or codebase was invalid
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PocketPlannerDesign for .NET 2.0
Reply #28 - Apr 3rd, 2006 at 12:37pm
Print Post  
Does that happen when you add a new menu item or when you add a new calendar? Which assembly name was reported?
  
Back to top
 
IP Logged
 
racer
Guest


Re: PocketPlannerDesign for .NET 2.0
Reply #29 - Apr 3rd, 2006 at 3:46pm
Print Post  
"Does that happen when you add a new menu item"

wel in the desing i add by view a new item
timetable 2 and then he gives the error

the given assembly name or codebase was invalid

it is like the menu is fiksed and that you cant put another timetable in it

"Which assembly name was reported? "

it was just that error i get

and when i tried it in the code by
Friend WithEvents _menuTimetable2 As System.Windows.Forms.MenuItem 

he gave the same error

so i think that you can only add just one timtable but the problem is that for my project i must have 3 vieuws of a different timetable
so i must import 2 new timetables by the one who is there allready

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 ... 7
Send TopicPrint