Links
EControl Syntax Editor SDK
TSyntMemoPopup Class

Implements base functionality of syntax memo popup tools.

TSyntMemoPopup = class(TPopupControl, IUnknown, IecCommandHook);

ecPopupCtrl

TSyntMemoPopup solves next tasks: 

1. Popup control size adjusting (properties Constraints, MinMaxWidth; method GetPopupSize). 

2. Popup control showing at specified position in text (method ShowPopup). 

3. Linking tool component to syntax memo command (property CommandID).

Topic 
Description 
The methods of the TPopupControl class are listed here. 
The properties of the TPopupControl class are listed here. 
The events of the TPopupControl class are listed here. 
IecCommandHook Interface
Topic 
Description 
The methods of the IecCommandHook class are listed here. 
TSyntMemoPopup Class
Topic 
Description 
The methods of the TSyntMemoPopup class are listed here. 
The properties of the TSyntMemoPopup class are listed here. 
 
Method 
 
protected 
 
virtual 
 
Property 
 
read only 
 
Event 
TPopupControl Events 
Description 
Occurs when popup control is closing. 
Occurs when selection in popup control is changed. 
Occurs immediately after showing popup control. 
Occurs before showing popup control after calculating popup layout. 
Occurs before showing popup control. 
TPopupControl Methods 
Description 
Calculates size and position of popup control. 
Returns True if the popup control can be shown. 
Closes popup window. 
Creates and initializes a TPopupControl instance. 
Destroys an instance of TPopupControl. 
Called when closing popup control. Accept specifies whether user selection in popup control should be accepted. 
Called immediately after showing popup control. 
Returns actual position of popup window. 
Calculates size of popup control. 
Called when selection in popup control is changed. 
Window procedure of the parent form. 
Window procedure of the parent window. 
Window procedure of the popup window. 
Posts internal message which will call ItemChanged method in some time. 
Recalculates size and position of popup control. 
Shows popup control around selected rectangle area. 
IecCommandHook Interface
IecCommandHook Interface 
Description 
Called after execution in syntax memo. 
Called before execution in syntax memo. 
Called to test wether command is enabled. 
TSyntMemoPopup Class
TSyntMemoPopup Class 
Description 
Executes syntax memo plug-in. 
Shows popup window under character at specified position in the syntax memo. 
TPopupControl Properties 
Description 
Specifies rectangle area around which popup control was shown. 
Specifies whether popup control is closing. 
Specifies the size constraints for the popup control. 
Specifies popup container control. 
Collection of additional controls added to popup container. 
Specifies height of popup control. 
Specifies conditional position of popup control. 
Specifies the minimal preferable width of the popup control. 
Parent window. 
Specifies popup control. 
Specifies whether popup control should drop shadow (XP and higher). 
Specifies whether user may change size of the popup control. 
Specifies tool hint window. 
Indicates whether popup window is visible. 
Specifies width of popup control. 
TSyntMemoPopup Class
TSyntMemoPopup Class 
Description 
Specifies identifier of the syntax memo command which will fire popup tool execution. 
Specifies editor to which popup control is linked. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!