Unit 'msegui' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

twindow.modalresult

Assign modalresult (e.g. window.modalresult:= mr_ok) to close a modal form from code with a specific result, without going through a button

Declaration

Source position: msegui.pas line 3056

public property twindow.modalresult : modalresultty
  read fmodalresult
  write setmodalresult;

Description

Assign modalresult (e.g. window.modalresult:= mr_ok) to close a modal form from code with a specific result, without going through a button — since every widget's window refers to the same top level window, this can be called from anywhere in the form, not only from the top level widget itself.


Documentation generated on: 2026-10-03