DO FORM LISTMANAGEand the form's WindowType is 1-Modal. The messagebox is default code from foxpro:
cMessageTitle = 'DELETE CONFIRMATION!' cMessageText = 'Are you sure you want to delete this selection?' nDialogType = 4 + 32 + 256 * 4 = Yes and No buttons 32 = Question mark icon 256 = Second button is default nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)