Navigation bar
  Print document Start Previous page
 36 of 90 
Next page End  

Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 34 of 90
Another interesting way to display appointments is using gradients. The BackColor2
property of the AppointmentApperance class allows you to define the fade color used to
fade from the primary backcolor. When used with the BackGradientStyle property, the
background of an appointment can fade from one color to another. This is a very nice
visual effect to utilize if your application is going for the XP look-and-feel.
Notice in the screen shot above that the column header, row header, schedule grid, and
appointment background are all gradients. Each was created with just three lines of
code. Virtually any appearance you wish to create is possible with Appearance objects.
The following code snippet was used to create the screen shot above.
Schedule1.StartTime = #8:00:00 AM#
Schedule1.DayLength = 10
Schedule1.SetMinMaxDate(#1/1/2004#, #1/5/2004#)
http://www.purepage.com