>Form A displays a list of records. Form A has Add, Delete, and Edit buttons for the selected list item. When Add or Edit are selected, form B appears with details to add or edit. Form A must be Visible when form B is displayed. Form B is modal.
>
>While form B is is visible, the delete button on form A can be clicked. This deletes the record being disploayed on form B. When theis occurs, any attempt to do anyhing with the deleted record being edited in form B causes an error.
>
>End usere do silly things. Can anyone think of a way to displey form A but, make it unavailable while form B is active?
John,
If B was modal A wouldn't be clicked. WindowType might be modal but if this is a TopLevelForm then it's modeless. In that case make it InTopLevel.
Cetin