No Events fired in VBControlExtender with calendar |
Post Reply |
Author | |
CodeJockUser138273
Newbie Joined: 28 November 2024 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 28 November 2024 at 6:10am |
Hello, I've just licensed the Suite Pro and I want to add the calendar control in the runtime dynamicly to a form with VBControlExtender. As described in the help, I added the License in the Form_Initialize. Here ist the complete code:
Option Explicit Private WithEvents ctlCalendar As VBControlExtender Private Sub ctlCalendar_ObjectEvent(Info As EventInfo) '-------------------------------------------------------------------------------- ' Project : Projekt1 ' Procedure : ctlCalendar_ObjectEvent ' Created by : Project Administrator ' Machine : K3V3DEVWIN7 ' Date-Time : 11.28.2024-11:52:45 ' ##SUMMARY ' ##RETURNS ' ##PARAM ' ##REMARKS '-------------------------------------------------------------------------------- End Sub Private Sub Form_Initialize() CalendarGlobalSettings.License = "Calendar Control Copyright (c) 1998-2024 Codejock Software" & vbCrLf & _ "PRODUCT-ID: Codejock.Calendar.ActiveX.v24.0" & vbCrLf & "VALIDATE-CODE: <snipped out>" End Sub Private Sub Form_Load() Set ctlCalendar = Controls.Add("Codejock.CalendarControl.24.0.0", "ctlK3VGrid", Me) ctlCalendar.Visible = True End Sub Private Sub Form_Resize() If Not ctlCalendar Is Nothing Then ctlCalendar.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight End If End Sub The calendar is schown on the form an is resized correctly, but there are no fired Events!! I found 2 other posts to this topic several years ago with not answer or solution! I need a solution for this problem! |
|
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 |