calendar buildin dialog |
Post Reply |
Author | |
Ditte
Groupie Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
Posted: 11 December 2009 at 10:08am |
Hi,
I would like to fill some fields by opening the calendar buildin dialog. Iīve found no way do to it. |
|
Regards
Dittmar Product: Xtreme SuitePro (ActiveX) 13.4.2 Platform: Win XP Language: Visual Dataflex 16.1 |
|
Ian Smith
Newbie Joined: 16 February 2009 Location: United Kingdom Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Dittmar
Have a look at OnComDblClick and Show_Built_In_Dialog.
Ian
|
|
Ditte
Groupie Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
|
Hi Ian,
thatīs the place where I looking to. I thought I can full the struct prior creating it. But Iīm not found the right place. A other place would be to write something in the event after creating it. There is a refresh of that event needed. I found not the right command for that. After creating a new event (buildin dialog) I donīt get the variant of the event back? I think it should not be to difficult, but I donīt found a solution at time. |
|
Regards
Dittmar Product: Xtreme SuitePro (ActiveX) 13.4.2 Platform: Win XP Language: Visual Dataflex 16.1 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
try smth like this:
If g_bUseBuiltInCalendarDialogs Then
Dim dlgCalendar As New CalendarDialogs dlgCalendar.ParentHWND = Me.hwnd dlgCalendar.Calendar = CalendarControl 'dlgCalendar.ShowNewEvent Dim ModEvent As CalendarEvent Set ModEvent = CalendarControl.DataProvider.CreateEvent ModEvent.Subject = "MyInitialSubject" ........................................................................... all your predefined values
ModEvent.StartTime = Now ModEvent.EndTime = Now CalendarControl.DataProvider.AddEvent ModEvent If Not dlgCalendar.ShowEditEvent(ModEvent) Then CalendarControl.DataProvider.DeleteEvent ModEvent End If Exit Sub End If |
|
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 |