Progress Software - INFO: StartTime / EndTime |
Post Reply |
Author | |
LluisGerard
Newbie Joined: 15 June 2010 Location: Spain Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 15 June 2010 at 5:19am |
Hello,
We are developing a TV grid and it looks nice but we can't get the hour in Progress. The code below is working and is able to modify the date and the hour but, if we do a StartTime display we can't get the hour, we can only get the date: vhForat = phCalendar:ActiveView:HitTest(). And now if we do: Message vhForat:StartTime view-as alert-box. We get only the date. When we create each event, we add a property data with it's hour: vhForat:CustomProperties:Property("HourIni") = pcHourIni. That works fine when the user is not interacting directly with the OCX but we still have problems because we can't know the new hour when a user modifies it interacting with the event. Anybody knows a way to get the StartTime and the Endtime entirely in Progress. Thanks, LluisGerard |
|
LluisGerard
Newbie Joined: 15 June 2010 Location: Spain Status: Offline Points: 3 |
Post Options
Thanks(0)
|
We tried to get the date value using various Progress methods, like RAW, MEMPTR,... But nothing works, maybe we just need to call codejock for a new feature, to separate the date and the hour, something like StartTime.Hour and StartTime.Date.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
It will work with progress, there are many customers who use it with progress. Write to support and I'll attach a sample.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Check this Old PowerBuilder project, be sure to read the read-me docs (2 files) -
https://forum.codejock.com/uploads/DemoVersion/PowerBuilderCalendarDemo.rar delete old ocx from forms and insert new one and assign same names as before for simplicity. |
|
LluisGerard
Newbie Joined: 15 June 2010 Location: Spain Status: Offline Points: 3 |
Post Options
Thanks(0)
|
I can't open this project you attached me, but thanks. I can't understand why we can't get the hour, because it is not a VB date, is a character return, isn't ? We do: Message vhEvent:StartTime view-as alert-box. And we get: "06/28/2010". |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |