[Progress Communities] [Progress OpenEdge ABL] Forum Post: Infragistics UltraDayView

  • Thread starter Thread starter MBeynon
  • Start date Start date
Status
Not open for further replies.
M

MBeynon

Guest
Hi, I've been tasked with writing a prototype application that uses the above Infragistics component. One of the requirements is that the user can flip between the day view and a week view which I do very simply like this; IF ultraButton:TEXT = "One day" THEN DO: ultraButton:TEXT = "7 day". ultraCalendarInfoSelectedPacker:SelectedDateRanges:Clear(). END. ELSE DO: ultraButton:TEXT = "One day". ultraCalendarInfoSelectedPacker:SelectedDateRanges:Clear(). ultraCalendarInfoSelectedPacker:SelectedDateRanges:Add(DATETIME(TODAY, MTIME), 7). END. One of the requirements is that the user can in the single day view, advance the selected day forwards and drag an item from an ultragrid and drop it onto the calendar to create an appointment which works fine. The problem comes when the 7 day view is selected. When I drag a row from the grid the appointment is always created on the first day (today) and not in the day I have selected. I somehow need a way of setting the active day to be the day that the user clicked on but can't see how to achieve this. In the image the active day is the 20th, but I've clicked on the 22nd. I somehow need to get the selected item in the calendar and make the 22nd the active day. Many Thanks, Mark.

Continue reading...
 
Status
Not open for further replies.
Back
Top