![]() |
Active Topics Memberlist Calendar Search |
| |
| Calendar | |
| |
|
| Author | Message |
|
karthiksp
Groupie
Joined: 09 May 2007 Location: United States Online Status: Offline Posts: 24 |
![]() Topic: Don't want to show Event but reminder neededPosted: 13 October 2008 at 11:40am |
|
All,
We are using Active X Calendar Control for our PowerBuilder product. In our last release calendar control was great hit by our customers.
As a enhancement request, they want to log the To-Do List for the users just to get reminders but not to show in calendar as it gets too crowded with the events.
Is there a way in calendar control to create a event by not showing in the calendar but reminder to be poped up to the user.
Any help is greatly appreciated
Thanks
Karthik
|
|
IP Logged |
|
|
Mr.Den
Groupie
Joined: 26 August 2007 Online Status: Offline Posts: 44 |
![]() Posted: 13 October 2008 at 2:09pm |
|
A visible flag for events so they could be hidden would be cool
|
|
IP Logged |
|
|
karthiksp
Groupie
Joined: 09 May 2007 Location: United States Online Status: Offline Posts: 24 |
![]() Posted: 13 October 2008 at 2:49pm |
|
So there is no option in calendar control. So then how people are handling the To-Do list as like in outlook without showing in calendar by reminder getting popped up
|
|
IP Logged |
|
|
mdoubson
Senior Member
Joined: 17 November 2008 Online Status: Offline Posts: 1706 |
![]() Posted: 12 July 2009 at 12:23am |
|
I am working with PowerBulder integration now and recommend you to update to current 13.1 version and get after-released update here
https://forum.codejock.com/uploads/DemoVersion/CalendarControlUpdated.rar
E.g. it supported printpreview just clicking internal CalendarControl button and has many new features compare with 2008 version See snaphots here
https://forum.codejock.com/uploads/DemoVersion/PowerBuilderDayView.jpg
https://forum.codejock.com/uploads/DemoVersion/PowerBuilderWorkWeekView.jpg https://forum.codejock.com/uploads/DemoVersion/PowerBulderMonthView-EditEventWithBuiltInEditor.jpg https://forum.codejock.com/uploads/DemoVersion/PowerBulderPrintPreview.jpg https://forum.codejock.com/uploads/DemoVersion/PowerBulderPrintPreviewFullScreen.jpg I can consider your idea to have event property Visible or have special Category or Importance value which Calendar will not show in all Views or in MonthView only if we will have enough clients who like to have such feature ![]() Example of event for create or modify event using built-in editors:
event doubleclicked;
OleObject activeView OleObject levent OleObject hitTest OleObject viewEvent datastore lds string ls_subject
long days integer rc levent = create OleObject
activeView= create OleObject hitTest = create OleObject activeView = Calendar.object.ActiveView
days = activeView.DaysCount
OlecalendarDialog = create OleObject
OlecalendarDialog.ConnectToNewObject("Codejock.CalendarDialogs.13.1.0") OlecalendarDialog.Calendar(Calendar.object) hitTest = activeView.HitTest ()
if isValid(hitTest) then
viewEvent = hitTest.ViewEvent if isValid( viewEvent) then levent = viewEvent.Event() if IsValid(levent) then if OlecalendarDialog.ShowEditEvent(levent) then lds = create datastore lds.DataObject = 'd_events' lds.SetTransObject(SQLCA) rc = lds.InsertRow(0) lds.SetItem(rc,'Subject', levent.Subject ) lds.SetItem(rc,'startdatetime', levent.StartTime) lds.SetItem(rc,'enddatetime', levent.EndTime) lds.SetItem(rc,'location', levent.Location) lds.SetItem(rc,'body', levent.Body) lds.update() destroy lds end if end if else levent = Calendar.object.DataProvider.CreateEvent()
levent.StartTime = hitTest .HitDateTime if OleCalendarDialog.ShowNewEvent2(levent) then lds.DataObject = 'd_events' lds.SetTransObject(SQLCA) rc = lds.InsertRow(0) lds.SetItem(rc,'Subject', levent.Subject ) lds.SetItem(rc,'startdatetime', levent.StartTime) lds.SetItem(rc,'enddatetime', levent.EndTime) lds.SetItem(rc,'location', levent.Location) lds.SetItem(rc,'body', levent.Body) lds.update() destroy lds Calendar.object.DataProvider.AddEvent(levent) end if end if end if destroy OlecalendarDialog
destroy levent destroy activeView destroy hitTest destroy viewEvent end event
|
|
|
Mark Doubson, Ph.D.
|
|
IP Logged |
|
|
mdoubson
Senior Member
Joined: 17 November 2008 Online Status: Offline Posts: 1706 |
![]() Posted: 17 July 2009 at 9:03pm |
|
This is workspace archive with some instructions inside - How to setuo CJ CalendarControl ActiveX in PowerBuilder -
https://forum.codejock.com/uploads/DemoVersion/PowerBuilderCalendarDemo.rar
|
|
|
Mark Doubson, Ph.D.
|
|
IP Logged |
|
|
skiman
Groupie
Joined: 20 December 2008 Location: Belgium Online Status: Offline Posts: 48 |
![]() Posted: 22 July 2009 at 10:26am |
|
Originally posted by mdoubson I can consider your idea to have event property Visible or have special Category or Importance value which Calendar will not show in all Views or in MonthView only if we will have enough clients who like to have such feature Hi,
I started already a threat some time ago for a Hide property. This is the same question, it would be nice to have this feature.
Regards,
Chris.
|
|
|
ABO Service
|
|
IP Logged |
|
|
mdoubson
Senior Member
Joined: 17 November 2008 Online Status: Offline Posts: 1706 |
![]() Posted: 30 July 2009 at 1:42pm |
|
I add new event property - EventVisible
You can set it in PrePopulate function call based on your model logic
Private Sub CalendarControl_PrePopulate(ByVal ViewGroup As XtremeCalendarControl.CalendarViewGroup, ByVal Events As XtremeCalendarControl.CalendarEvents)
................................... pEvent.EventVisible = False
...................................
Use fresh activex 13.1 upgrade from here -
https://forum.codejock.com/uploads/DemoVersion/CalendarControlUpdated.rar
unrar it on same place your official 13.1 located. Rename the same way as official filename use No need to re-registrate as you already had it I am interesting in your testing with hidden reminders - please post
|
|
|
Mark Doubson, Ph.D.
|
|
IP Logged |
|
|
mdoubson
Senior Member
Joined: 17 November 2008 Online Status: Offline Posts: 1706 |
![]() Posted: 18 September 2009 at 7:09pm |
|
Recent publication in PBDJ
PowerBuilder: Article Implement a Calendar Component in PowerBuilder ApplicationsEnhance the look of the calendars within your scheduling modules By Alon Baadani
Recent PB project here - uploads/20090922_183822_Calendar_outloo.zip
Recent beta-ocx 13.2 - here - https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar |
|
|
Mark Doubson, Ph.D.
|
|
IP Logged |
|
|
||
Forum Jump |
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 |
|