Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Don't want to show Event but reminder needed
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Don't want to show Event but reminder needed

 Post Reply Post Reply
Author
Message
karthiksp View Drop Down
Groupie
Groupie


Joined: 09 May 2007
Location: United States
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote karthiksp Quote  Post ReplyReply Direct Link To This Post Topic: Don't want to show Event but reminder needed
    Posted: 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
Back to Top
Mr.Den View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2007
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mr.Den Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2008 at 2:09pm
A visible flag for events so they could be hidden would be cool
Back to Top
karthiksp View Drop Down
Groupie
Groupie


Joined: 09 May 2007
Location: United States
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote karthiksp Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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

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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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  
Back to Top
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Posted: 22 July 2009 at 10:26am
Originally posted by mdoubson mdoubson wrote:

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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2009 at 7:09pm
Recent publication in PBDJ

PowerBuilder: Article

Implement a Calendar Component in PowerBuilder Applications

Enhance the look of the calendars within your scheduling modules

 
 
 
Back to Top
karthiksp View Drop Down
Groupie
Groupie


Joined: 09 May 2007
Location: United States
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote karthiksp Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 4:24pm

I couldn't test the scenario in time, since our production server was set to run in the old version.

 
Now I tried the same thing what you mentioned your email. When I ran the official setup of Codejock calendar
 
Codejock.Calendar.v13.1.0.ocx  Size was 2572KB with Timestamped 8/19/2009 3.28 PM
 
When I unzip the file what you attached, still the same size & timestamp, But Once I renamed as per your steps, I tried the Eventvisible in Add Event method, it is not working.
 
Still the event is shown in the calendar control.
 
Let us know, what else we need to do
 
Karthik
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.