Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Right arrow at the top isn't floating to the right (Read 5054 times)
gerardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Jan 26th, 2007
Right arrow at the top isn't floating to the right
Oct 18th, 2007 at 6:10pm
Print Post  
Hi,

Using the view TimeTable in the calendar when I have the PPC in portrait mode and displaying the buttons to move between days in the header of the calendar. If I change the display mode to landscape on the PPC, The button in the header to move to the next date (right arrow) isn't redrawed according to the new layout of the screen. It remains in the position where it was in portrait mode, that is basically in the middle of the header in landscape mode.

Any ideas!!

Thanks,
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Right arrow at the top isn't floating to the r
Reply #1 - Oct 19th, 2007 at 4:37am
Print Post  
Try to change the orientation in a BeginInit/EndInit block as in the following code:

Code
Select All
calendar.BeginInit();
// Switch to landscape
calendar.EndInit(); 


An alternative would be to invoke Calendar.UpdateLayout after the orientation has been changed:

Code
Select All
calendar.UpdateLayout(); 


Let me know if it is working.

Meppy
  
Back to top
 
IP Logged
 
gerardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Jan 26th, 2007
Re: Right arrow at the top isn't floating to the r
Reply #2 - Oct 19th, 2007 at 11:46am
Print Post  
Thank you ...

Working Perfect using

BeginInit
...
EndInit

any time the calendar is resized.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint