ModalResult
E1014692
ModalResult is a property in Delphi and similar frameworks that indicates how a modal dialog was closed, typically by specifying which button or user action ended the dialog.
All labels observed (1)
| Label | Occurrences |
|---|---|
| ModalResult canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T13019391 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: ModalResult Context triple: [TButton, hasProperty, ModalResult]
-
A.
Modalys
Modalys is a sound synthesis and physical modeling software environment developed at IRCAM for creating and exploring complex virtual instruments and acoustic phenomena.
-
B.
Mul
Mul is a town in Maharashtra, India, known as a local commercial and administrative center within Chandrapur district.
-
C.
Mojo
Mojo is a 2010 blues-rock–oriented studio album by Tom Petty and the Heartbreakers that marked their return to a raw, live-in-the-studio sound.
-
D.
Mojo
Mojo is a darkly comic stage play by British playwright Jez Butterworth, set in 1950s Soho and centered on the seedy underworld of a London nightclub.
-
E.
Mojo
Mojo is a town in central Ethiopia located along major transport routes southeast of Addis Ababa.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: ModalResult Target entity description: ModalResult is a property in Delphi and similar frameworks that indicates how a modal dialog was closed, typically by specifying which button or user action ended the dialog.
-
A.
Modalys
Modalys is a sound synthesis and physical modeling software environment developed at IRCAM for creating and exploring complex virtual instruments and acoustic phenomena.
-
B.
Mul
Mul is a town in Maharashtra, India, known as a local commercial and administrative center within Chandrapur district.
-
C.
Mojo
Mojo is a darkly comic stage play by British playwright Jez Butterworth, set in 1950s Soho and centered on the seedy underworld of a London nightclub.
-
D.
Mojo
Mojo is a 2010 blues-rock–oriented studio album by Tom Petty and the Heartbreakers that marked their return to a raw, live-in-the-studio sound.
-
E.
Mojo
Mojo is a town in central Ethiopia located along major transport routes southeast of Addis Ababa.
- F. None of above. chosen
Statements (42)
| Predicate | Object |
|---|---|
| instanceOf |
dialog result code
ⓘ
property ⓘ |
| associatedWith |
mrAbort
ⓘ
mrAll ⓘ mrCancel ⓘ mrClose ⓘ mrIgnore ⓘ mrNo ⓘ mrNoToAll ⓘ mrOk ⓘ mrRetry ⓘ mrYes ⓘ mrYesToAll ⓘ |
| backedBy | integer constants like mrOk = 1, mrCancel = 2, etc. ⓘ |
| belongsTo |
TForm
NERFINISHED
ⓘ
modal dialog forms ⓘ |
| category | GUI programming concept ⓘ |
| convention |
0 means dialog still open or no result
ⓘ
non-zero values indicate a specific dialog result ⓘ |
| dataType | Integer ⓘ |
| definedBy | System.UITypes.TModalResult in modern Delphi ⓘ |
| influenced | similar dialog result patterns in other Pascal-based frameworks ⓘ |
| lifecycle | value is returned by ShowModal as function result ⓘ |
| origin | Borland Delphi NERFINISHED ⓘ |
| platform |
Windows (VCL)
NERFINISHED
ⓘ
cross-platform (FMX) ⓘ |
| purpose |
identify which button or user action ended the dialog
ⓘ
indicate how a modal dialog was closed ⓘ |
| readBy | calling code after ShowModal returns ⓘ |
| relatedTo | ShowModal ⓘ |
| setBy |
button click handlers
ⓘ
code in event handlers ⓘ |
| typicalUsage |
assigned in a button OnClick event
ⓘ
checked in code after ShowModal returns ⓘ |
| usedFor |
controlling program flow after a dialog closes
ⓘ
determining user choice in confirmation dialogs ⓘ handling OK and Cancel logic ⓘ handling Yes/No decisions ⓘ |
| usedIn |
Delphi
NERFINISHED
ⓘ
FMX NERFINISHED ⓘ Object Pascal frameworks ⓘ VCL NERFINISHED ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: ModalResult Description of subject: ModalResult is a property in Delphi and similar frameworks that indicates how a modal dialog was closed, typically by specifying which button or user action ended the dialog.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.