-
-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new PopupMode and PopupParent properties to support class TForm.
- Loading branch information
1 parent
a229e2d
commit 4faa3c9
Showing
4 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -245,6 +245,8 @@ TSizeConstraints = class(TPersistent); | |
|
||
TFormStyle = (fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop); | ||
|
||
TPopupMode = (pmNone, pmAuto, pmExplicit); | ||
|
||
TPosition = (poDesigned, poDefault, poDefaultPosOnly, poDefaultSizeOnly, poScreenCenter, poDesktopCenter, poMainFormCenter, poOwnerFormCenter); | ||
|
||
TCloseAction = (caNone, caHide, caFree, caMinimize); | ||
|
@@ -280,6 +282,8 @@ TForm = class(TScrollingWinControl) | |
property Font: TFont; read write; | ||
property FormStyle: TFormStyle; read write; | ||
property KeyPreview: Boolean; read write; | ||
property PopupMode: TPopupMenu; read write; | ||
property PopupParent: TForm; read write; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
martijnlaan
Author
Member
|
||
property Position: TPosition; read write; | ||
property OnActivate: TNotifyEvent; read write; | ||
property OnClick: TNotifyEvent; read write; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TPopupMenu
is clearly a typo, but did you mean to writeTForm
instead ofTCustomForm
?