Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Calendar + events + tasks + notification  (Read 13112 times)
Ernest D.
Posts: 19


« on: February 12, 2009, 11:46:54 am »

Does any of you have experience with programming a calendar with events, tasks, notification in Genero?
We would like to add such "utility" or "program" to our product.


* cal.JPG (58.13 KB, 1280x751 - viewed 2070 times.)
.
Posts: 64


« Reply #1 on: February 25, 2009, 06:09:12 pm »

Hi Bystrik,

I don't have a calendar you can use but I can point you towards needing the Canvas Object for how to achieve it.

We do have a calendar and use one canvas item for handling the movement of months, days etc and then another canvas object for the main central bit (ours is several people for a day rather than several days for a person).

The main things to bear in mind are:
1) You only have 1000 x 1000 pixels in any given object (though can have lots of objects)
2) I can't work out how to resize text away from the default
3) You need to use some undocumented stuff to handle the function keys. You set a single F-key as a left click and a single F-Key as a right click then (for example) 'COMMAND KEY (F92)' and then use the undocumented features to identify the object clicked (actually very straight forward).

See the attached image




* calendar.PNG (77.45 KB, 1280x1024 - viewed 2032 times.)
.
Posts: 64


« Reply #2 on: February 25, 2009, 06:11:09 pm »

Point 1 - 1000 x 1000 pixels per object - by object I mean 'Canvas'. But you could line up more than one canvas. In the example shown there are a total of 2 canvas items, the 'calendar control' on the left and the calendar page on the right.
Reuben B.
Four Js
Posts: 1126


« Reply #3 on: February 25, 2009, 11:27:21 pm »

Hi Bystrik,

I don't have a calendar you can use but I can point you towards needing the Canvas Object for how to achieve it.

We do have a calendar and use one canvas item for handling the movement of months, days etc and then another canvas object for the main central bit (ours is several people for a day rather than several days for a person).

The main things to bear in mind are:
1) You only have 1000 x 1000 pixels in any given object (though can have lots of objects)
2) I can't work out how to resize text away from the default
3) You need to use some undocumented stuff to handle the function keys. You set a single F-key as a left click and a single F-Key as a right click then (for example) 'COMMAND KEY (F92)' and then use the undocumented features to identify the object clicked (actually very straight forward).

See the attached image




Hi Jeff,

I am going to have to do some investigating and find that undocumented feature.  I have been after that to allow Charts to be drawn in Canvas and then respond to the user clicking in the chart.  My examples using googlechart or even chart examples I have created in GRW don't allow the user to click on a chart and respond accordingly (ie drilldown).

For these I think we also need the ability to apply styles to text inside Canvas, like you do.

Reuben


Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
.
Posts: 64


« Reply #4 on: February 26, 2009, 09:13:18 pm »

Rueben,

Email sent today with details. Let me know if not received.

Jeff
David H.
Posts: 158


« Reply #5 on: March 03, 2009, 05:03:02 pm »

Hopefully one day soon we'll have the ability to plug in specialised 3rd party off the shelf components which interact with the Genero UI to simplify these sorts of developments.

David
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines