Print Page | Close Window

Disable MsgBox....

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=3534
Printed Date: 17 June 2024 at 1:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable MsgBox....
Posted By: flauzer
Subject: Disable MsgBox....
Date Posted: 19 January 2006 at 10:32am

https://forum.codejock.com/uploads/flauzer/2006-01-19_103132_Delete_MsgBox.zip - 2006-01-19_103132_Delete_MsgBox.zip

 

How suppress this messageBox??????

Thanks

Flavio




Replies:
Posted By: SuperMario
Date 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.


Posted By: flauzer
Date 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

 

 



Posted By: SuperMario
Date 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


Posted By: sserge
Date 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


Posted By: flauzer
Date Posted: 19 January 2006 at 2:45pm

Perfect....

Thanks!

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net