Disable MsgBox.... |
Post Reply |
Author | |
flauzer
Senior Member Joined: 30 December 2003 Location: Italy Status: Offline Points: 108 |
Post Options
Thanks(0)
Posted: 19 January 2006 at 10:32am |
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
What is the code you are using? You have to add a message box yourself, it is not displayed automatically.
|
|
flauzer
Senior Member Joined: 30 December 2003 Location: Italy Status: Offline Points: 108 |
Post Options
Thanks(0)
|
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
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
flauzer
Senior Member Joined: 30 December 2003 Location: Italy Status: Offline Points: 108 |
Post Options
Thanks(0)
|
Perfect.... Thanks!
|
|
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 |