Calendar, Scheduler in Gambas

Post

Posted
Rating:
#1 (In Topic #499)
Avatar
Trainee
 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
Online now: No Back to the top

Post

Posted
Rating:
#2
Guru
BruceSteers is in the usergroup ‘Guru’
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..

Code (gambas)

  1. '
  2. Dim d as Date = Now()
  3.  
  4. DateView1[d].Background = Color.Orange   ' sets today as orange
  5.  
  6. DateView1[DateAdd(d, gb.Day, 1)].Background = Color.Blue  ' Sets tomorrow as blue
  7. '
  8.  

with that method you can check your data and set a colour of an individual date .

not sure if that helps.
Bruce
Online now: No Back to the top

Post

Posted
Rating:
#3
Guru
BruceSteers is in the usergroup ‘Guru’
PS. you have posted this in the "Project Showcase" area?

"Project Showcase" is like a coders version of "Art Gallery"  ;)
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Trainee
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
Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Guru
cogier is in the usergroup ‘Guru’
Have a look at the attached. Is that what you are looking for?

<IMG src="https://www.cogier.com/gambas/Calendar.png"> </IMG>

Attachment
Online now: No Back to the top

Post

Posted
Rating:
#6
Avatar
Trainee
 In the moment I solved the problem with textboxes, because I need only one week. But for another version your solution might be better.
Thanks for posting!
Online now: No Back to the top
1 guest and 0 members have just viewed this.