![]() |
Mark Days at Runtine |
Post Reply ![]() |
Author | |
dexatron ![]() Newbie ![]() ![]() Joined: 27 January 2010 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 23 November 2010 at 9:27am |
Hi,
In the month view I am trying to figure out how to mark days with a different background color when a user right-clicks on a day and selects 'Mark or Unmark Day'
I've set BeforeDrawThemeObjectFlags to true
but am not sure if BeforeDrawDayViewCell is the place to put the code and even how to properly capture the current day.
Any help appreciated, Greg
|
|
![]() |
|
McKloony ![]() Senior Member ![]() ![]() Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
![]() ![]() ![]() ![]() ![]() |
First you have to selekt the evebt, then you can do what you want with this event:
Dim TerNr As Long If Button = vbRightButton Then
Set CaHit = CaCol.ActiveView.HitTest If TerNr > 0 Then End If End Sub |
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
dexatron ![]() Newbie ![]() ![]() Joined: 27 January 2010 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Thanks for the reply McKloony, But I am trying to mark the background color of a selected day, not an event.
Greg |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |