Posted by: Jeff Luther
"add a schedule function to this calender" - I think the answer
depends on what you mean by "function":
-- If you literally mean a simple function that prompts the user
with a dlg. box on a date click for schedule info. which you then
add to a database, then you could, for example:
Code: Select all
! get date info with PropGetxxx() functions, etc.
! pass the date to a dialog box for a time, a note, duration,
! etc. and then insert that into your database.
! Later you could display your schedule in a table window.
-- If you mean full scheduling function[ality] like a Gantt chart,
then you would need to look for another control. After a quick
search on MS Live for:
I found what looks to be a very good activeX (but at US$480.00 is not cheap):
I downloaded their MFC ActiveX control, ran the MSI files, generated
APLs in TD with ActiveX Explorer. It installed fine and I was able to
add a Gantt chart to a form window.
If you do your own search you may find something less expensive or free.
I do not have any other TD code sample which is a stand-alone scheduler.
And i you want some functionality between these 2 extremes, tell us in
more detail about what you want.
Jeff Luther/PC Design