case IDA_BUTTON_BIRTHDAY_DELETE:
{
__pPresentationModel->RemoveBirthday();
- __pTableView->RefreshItem(TABLE_VIEW_BIRTHDAY_FIELD_INDEX, 0, TABLE_VIEW_REFRESH_TYPE_ITEM_REMOVE);
+ __isContactModified = true;
+ __pTableView->UpdateTableView();
}
break;
case IDA_BUTTON_TYPE:
if (trimmedString.IsEmpty())
{
pDeleteButton->SetShowState(false);
- __previousItemIndex = itemIndex; //if the entered text is empty store the index of the field for deletion
- __previousGroupIndex = groupIndex;
+
+ int Itemcount = __pTableView->GetItemCountAt(groupIndex);
+ if (itemIndex == Itemcount - 1)
+ {
+
+ }
+ else
+ {
+ __previousItemIndex = itemIndex; //if the entered text is empty store the index of the field for deletion
+ __previousGroupIndex = groupIndex;
+ }
}
else if (pDeleteButton->GetShowState() == false)
{