Calendar, Scheduler in Gambas

Post Reply
User avatar
Gamba_Dance
Posts: 4
Joined: Wednesday 30th September 2020 8:43am

Calendar, Scheduler in Gambas

Post by Gamba_Dance » Tuesday 17th November 2020 3:04am

Good morning to all,

years ago I programmed an application where I stored some data, according to the days of a week.
Now a customer is interested in this solution and I have to digg out everything for a re-make
with individual demand.
To have a better sight of what data is stored, I wanna show this with a calender-sight-output
of one week. What I need now, is a routine, which picks up my data from
monday, tuesday, wednesday.. and puts it into a calender view. Does anyone have an idea,
where I can find a "data-open" calendar or scheduler which works with Gambas?

Greetings
GD

User avatar
BruceSteers
Posts: 210
Joined: Thursday 23rd July 2020 5:20pm

Re: Calendar, Scheduler in Gambas

Post by BruceSteers » Tuesday 17th November 2020 6:30pm

not quite sure what it is you need but calendar item background and other things can be individually set using the relevant date as the key.
Ie..
'
Dim d as Date = Now()

DateView1[d].Background = Color.Orange   ' sets today as orange

DateView1[DateAdd(d, gb.Day, 1)].Background = Color.Blue  ' Sets tomorrow as blue
'
with that method you can check your data and set a colour of an individual date .

not sure if that helps.
Bruce
If at first you don't succeed , try it differently.

User avatar
BruceSteers
Posts: 210
Joined: Thursday 23rd July 2020 5:20pm

Re: Calendar, Scheduler in Gambas

Post by BruceSteers » Tuesday 17th November 2020 6:38pm

PS. you have posted this in the "Project Showcase" area?

"Project Showcase" is like a coders version of "Art Gallery" ;)
If at first you don't succeed , try it differently.

User avatar
Gamba_Dance
Posts: 4
Joined: Wednesday 30th September 2020 8:43am

Re: Calendar, Scheduler in Gambas

Post by Gamba_Dance » Wednesday 18th November 2020 5:56pm

Good evening Bruce,

thank you and I like much the small coding-ideas :idea: (like you did) at the beginning of every big project.
Will check this..

Greetings from
Jürgen

PS: Sorry for the wrong aera

User avatar
cogier
Site Admin
Posts: 535
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Calendar, Scheduler in Gambas

Post by cogier » Saturday 21st November 2020 12:24pm

Have a look at the attached. Is that what you are looking for?

Image
TestNew-0.0.1.tar.gz
(171.86 KiB) Downloaded 5 times

Post Reply