Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Disable MsgBox....
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable MsgBox....

 Post Reply Post Reply
Author
Message
flauzer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 December 2003
Location: Italy
Status: Offline
Points: 108
Post Options Post Options   Thanks (0) Thanks(0)   Quote flauzer Quote  Post ReplyReply Direct Link To This Post Topic: Disable MsgBox....
    Posted: 19 January 2006 at 10:32am

2006-01-19_103132_Delete_MsgBox.zip

 

How suppress this messageBox??????

Thanks

Flavio

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2006 at 11:15am
What is the code you are using?  You have to add a message box yourself, it is not displayed automatically.
Back to Top
flauzer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 December 2003
Location: Italy
Status: Offline
Points: 108
Post Options Post Options   Thanks (0) Thanks(0)   Quote flauzer Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2006 at 12:12pm

I've no code.....

I use vb6 calendar sample....and this msgbox appears when you try to delete an recurrence event pressing Keydelete directly on event of Calendar control ....

Flavio

 

 

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2006 at 12:21pm
Private Sub CalendarControl_IsEditOperationDisabled(ByVal OpParams As XtremeCalendarControl.CalendarEditOperationParameters, DisableOperation)

If OpParams.Operation = xtpCalendarEO_DeleteEvent Then
    DisableOperation = True
    'Display own custom dialog if desired
    'Insert code to manually delete event if desired
    Exit Sub
End If

End Sub
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2006 at 1:52pm
Flavio,

Exactly as it is shown above by SuperMario, to perform custom events deletion you should catch a notification BeforeEditOperation with the operation code xtpCalendarEO_DeleteEvent. Also set CancelOperation patameter as True to disable standard deletion processing.

--
WBR,
Serge
Back to Top
flauzer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 December 2003
Location: Italy
Status: Offline
Points: 108
Post Options Post Options   Thanks (0) Thanks(0)   Quote flauzer Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2006 at 2:45pm

Perfect....

Thanks!

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.