[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Remove A...

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

Mike Fechner

Guest
I haven't used the ultraCalendarInfo for a while ... But generally: In the deleteToolStripMenuItem, oyu are iterating the SelectedAppointments collection from 0 to max. In the first iteration you're removing the first item from the selected appointments (that is typically just unselecting it, not removing it) and then you clear the entire collection. So there's never be a second item you will remove. Just calling Clear (without the loop) would be enough to unselect the items. But it you want to remove the selected appointments, I'd rather do something like this (untested) to remove the selected items from the Appointments collection itself.: DO i = ultraCalendarInfo1:SelectedAppointments:Count - 1 TO 0 BY -1: ultraCalendarInfo1:Appointments:Remove(ultraCalendarInfo1:SelectedAppointments:Item). END.

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