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

showmodalwidget

Creates an instance of aclass, shows it as a modal widget and frees it afterwards, returning its modal result

Declaration

Source position: msegui.pas line 3691

function showmodalwidget(

  const aclass: widgetclassty

):modalresultty;

Description

Creates an instance of aclass, shows it as a modal widget and frees it afterwards, returning its modal result — a shorthand for the common create/show(true)/free pattern.


Documentation generated on: 2026-10-03