Calender control

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
K.S

Calender control

Post by K.S » 26 Dec 2006, 04:52

 Posted by:  K.S 

Hi, All

I useing Team Developer 3.0.
Please watch an attached file.
This program use 'Calender Control 9.0' of ActiveX.

I want to add a schedule function to this calender.

Will you be possible?
Could you tell me this Way.

Best Regard.

Kouji
You do not have the required permissions to view the files attached to this post.

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2370
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: Calender control

Post by Jeff Luther » 26 Dec 2006, 22:14

 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

ActiveX: ax1
   Message Actions
     On Click
       Parameters
       Actions
         ! 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):
http://www.sourcecodestore.com/ActiveGanttVB20/productsheet.htm

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.

Best Regards,
Jeff Luther/PC Design
info: www.pulpcards.com/gupta/

K.S

Re: Calender control

Post by K.S » 27 Dec 2006, 03:16

 Posted by:  K.S 

Hi Jeff,
Thanks for your reply!!

If anything the thing which I hope for is this one.
I not hope have to let you display a dlg Box.

I wish I let you display it on calender simply.

Kouji

Martin Duty

Re: Calender control

Post by Martin Duty » 28 Dec 2006, 17:16

 Posted by:  Martin Duty 

K.S.,

Look in your Samples Folder for VTTEST.APP. Under Class Menu, Calendar,
cCalendar. This should get you going. You will have to store the dates in a
database, File or registry, then load them in one at a time.

Martin

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests