parent
d1b6b42692
commit
25e7c91b64
BIN
TSLInterp.dll
BIN
TSLInterp.dll
Binary file not shown.
|
|
@ -722,8 +722,8 @@ type TEditerForm = class(TVCform) //
|
||||||
|
|
||||||
flogout:tbtn;
|
flogout:tbtn;
|
||||||
flogin:tbtn;
|
flogin:tbtn;
|
||||||
cancel_clk;
|
[weakref]cancel_clk;
|
||||||
save_clk;
|
[weakref]save_clk;
|
||||||
function Create(AOwner);override; //¹¹Ôì
|
function Create(AOwner);override; //¹¹Ôì
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
|
|
@ -925,7 +925,7 @@ end
|
||||||
end
|
end
|
||||||
property OnOkClicked read FOnOkClick write FOnOkClick;
|
property OnOkClicked read FOnOkClick write FOnOkClick;
|
||||||
private
|
private
|
||||||
FOnOkClick;
|
[weakref] FOnOkClick;
|
||||||
function GetWndInfo();
|
function GetWndInfo();
|
||||||
begin
|
begin
|
||||||
return %% object tformatinfownd1:tformatinfownd
|
return %% object tformatinfownd1:tformatinfownd
|
||||||
|
|
@ -1098,7 +1098,7 @@ end
|
||||||
property BtnClick read FBtnClick write FBtnClick;
|
property BtnClick read FBtnClick write FBtnClick;
|
||||||
|
|
||||||
private
|
private
|
||||||
FBtnClick;
|
[weakref]FBtnClick;
|
||||||
FChecked;
|
FChecked;
|
||||||
FEditers;
|
FEditers;
|
||||||
FLabels;
|
FLabels;
|
||||||
|
|
@ -1236,7 +1236,7 @@ type TBlockManager=class(TVCForm)
|
||||||
FSaveClick := FEditer := Fbtns := FList := nil;
|
FSaveClick := FEditer := Fbtns := FList := nil;
|
||||||
end
|
end
|
||||||
private
|
private
|
||||||
FSaveClick;
|
[weakref]FSaveClick;
|
||||||
FEditer;
|
FEditer;
|
||||||
Fbtns ;
|
Fbtns ;
|
||||||
FList;
|
FList;
|
||||||
|
|
@ -1457,7 +1457,7 @@ type tsearchdir = class(TCustomControl)
|
||||||
)) ;
|
)) ;
|
||||||
d := r;
|
d := r;
|
||||||
end
|
end
|
||||||
FOnsaveclick;
|
[weakref]FOnsaveclick;
|
||||||
Fidx;
|
Fidx;
|
||||||
FFolder;
|
FFolder;
|
||||||
Farraya;
|
Farraya;
|
||||||
|
|
|
||||||
|
|
@ -1495,7 +1495,7 @@ end
|
||||||
type tfilesinfo = class() //控件树存储对象
|
type tfilesinfo = class() //控件树存储对象
|
||||||
private
|
private
|
||||||
fdesginer;
|
fdesginer;
|
||||||
fcompclick;
|
[weakref]fcompclick;
|
||||||
fimg;
|
fimg;
|
||||||
fparent;
|
fparent;
|
||||||
public
|
public
|
||||||
|
|
@ -1710,7 +1710,7 @@ type TDesigImageList = class(TControlImageList)
|
||||||
end
|
end
|
||||||
type TDesignertoolbars = class(TPageControl) //设计器控件按钮
|
type TDesignertoolbars = class(TPageControl) //设计器控件按钮
|
||||||
private
|
private
|
||||||
FToolbars;
|
[weakref]FToolbars;
|
||||||
FLabels ;
|
FLabels ;
|
||||||
fimg;
|
fimg;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ type TPageItem=class() //
|
||||||
property Caption read FCaption write SetCaption; //标题
|
property Caption read FCaption write SetCaption; //标题
|
||||||
property BitmapA read FBitmapA write SetBitmapA; //前面的图标
|
property BitmapA read FBitmapA write SetBitmapA; //前面的图标
|
||||||
property BitmapB read FBitmapB write SetBitmapB; //后面的关闭图标
|
property BitmapB read FBitmapB write SetBitmapB; //后面的关闭图标
|
||||||
tag; //绑定变量
|
[weakref]tag; //绑定变量
|
||||||
Rect; //区域
|
Rect; //区域
|
||||||
protected
|
protected
|
||||||
function SetCaption(s);
|
function SetCaption(s);
|
||||||
|
|
@ -64,7 +64,7 @@ type TPageItem=class() //
|
||||||
FBitmapB;
|
FBitmapB;
|
||||||
FBitmapA;
|
FBitmapA;
|
||||||
FCaption;
|
FCaption;
|
||||||
FOwner;
|
[weakref]FOwner;
|
||||||
end
|
end
|
||||||
type TPage=class(TCustomControl) //标签
|
type TPage=class(TCustomControl) //标签
|
||||||
function Create(AOwner)
|
function Create(AOwner)
|
||||||
|
|
@ -520,8 +520,8 @@ type TPage=class(TCustomControl) //
|
||||||
FDRageimglist := FImgs.Handle;
|
FDRageimglist := FImgs.Handle;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
FCloseBtnClicked; //点击
|
[weakref]FCloseBtnClicked; //点击
|
||||||
fOnbmpbclick;
|
[weakref]fOnbmpbclick;
|
||||||
FPageRect;
|
FPageRect;
|
||||||
FIs_Draging;
|
FIs_Draging;
|
||||||
FWill_Drag;
|
FWill_Drag;
|
||||||
|
|
@ -752,7 +752,7 @@ type TEditerAuxiliary=class(TPage) //
|
||||||
end
|
end
|
||||||
FEchoWnd;
|
FEchoWnd;
|
||||||
FFileFindWnd;
|
FFileFindWnd;
|
||||||
FOnCloseClick;
|
[weakref]FOnCloseClick;
|
||||||
private
|
private
|
||||||
Ftimer;
|
Ftimer;
|
||||||
FIgnoreSize;
|
FIgnoreSize;
|
||||||
|
|
@ -1590,7 +1590,7 @@ type TPageEditer=class(TPage) //
|
||||||
rc := ClientRect;
|
rc := ClientRect;
|
||||||
return rc;
|
return rc;
|
||||||
end
|
end
|
||||||
FPageItemOnRClick;
|
[weakref]FPageItemOnRClick;
|
||||||
end
|
end
|
||||||
type TTslChmHelp=class
|
type TTslChmHelp=class
|
||||||
function SearchWord(s);
|
function SearchWord(s);
|
||||||
|
|
@ -3947,10 +3947,10 @@ type TEditer=class(TCustomcontrol) //
|
||||||
FSynHCS;
|
FSynHCS;
|
||||||
FLastDispathTime;
|
FLastDispathTime;
|
||||||
FIsFinding;
|
FIsFinding;
|
||||||
FOnPageEditerChanged;
|
[weakref]FOnPageEditerChanged;
|
||||||
|
[weakref]fOnPageItemSelChanged;
|
||||||
FPageEditerMenu;
|
FPageEditerMenu;
|
||||||
FPageEditerMenus;
|
FPageEditerMenus;
|
||||||
fOnPageItemSelChanged;
|
|
||||||
FReadDirs;
|
FReadDirs;
|
||||||
FCurrentItemCode;
|
FCurrentItemCode;
|
||||||
FGoBackA; // := new TMyarrayB();
|
FGoBackA; // := new TMyarrayB();
|
||||||
|
|
@ -4562,7 +4562,7 @@ type TEditList=class(TComboBox)
|
||||||
property MaxCoder read FMaxCoder write FMaxCoder;
|
property MaxCoder read FMaxCoder write FMaxCoder;
|
||||||
private
|
private
|
||||||
FMaxCoder;
|
FMaxCoder;
|
||||||
FOnEnterUp;
|
[weakref]FOnEnterUp;
|
||||||
end
|
end
|
||||||
type TEditerEchoWnd=class(TSynMemoNorm) //
|
type TEditerEchoWnd=class(TSynMemoNorm) //
|
||||||
function Create(AOwner);override;
|
function Create(AOwner);override;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ uses utslvclauxiliary,UVCPropertyTypesPersistence,utslvclbase;
|
||||||
@param(FFreeNotifies)( TFpList) 销毁通知节点 %%
|
@param(FFreeNotifies)( TFpList) 销毁通知节点 %%
|
||||||
**}
|
**}
|
||||||
fasdomain; //名字域节点
|
fasdomain; //名字域节点
|
||||||
FOwner; //所有者,在所有者销毁的时候其自动销毁
|
[weakref]FOwner; //所有者,在所有者销毁的时候其自动销毁
|
||||||
FName; //节点名,在域内不能重复
|
FName; //节点名,在域内不能重复
|
||||||
FComponents; //子节点
|
FComponents; //子节点
|
||||||
FFreeNotifies: TFpList; //销毁通知
|
FFreeNotifies: TFpList; //销毁通知
|
||||||
|
|
@ -373,8 +373,8 @@ public //
|
||||||
DestroyComponents();
|
DestroyComponents();
|
||||||
If FOwner is class(tcomponent)Then FOwner.RemoveComponent(self(true)); //self
|
If FOwner is class(tcomponent)Then FOwner.RemoveComponent(self(true)); //self
|
||||||
inherited;
|
inherited;
|
||||||
fondestroy := nil;
|
//fondestroy := nil;
|
||||||
fonnotification := nil;
|
//fonnotification := nil;
|
||||||
end
|
end
|
||||||
function Destroy();virtual;
|
function Destroy();virtual;
|
||||||
begin
|
begin
|
||||||
|
|
@ -685,6 +685,6 @@ public //
|
||||||
CallMessgeFunction(fondestroy,self(true),e);
|
CallMessgeFunction(fondestroy,self(true),e);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
fondestroy;
|
[weakref]fondestroy;
|
||||||
fonnotification;
|
[weakref]fonnotification;
|
||||||
end
|
end
|
||||||
|
|
@ -16,12 +16,11 @@ type tcontrol = class(tcomponent)
|
||||||
STATIC FSIDC; //控件id生成器
|
STATIC FSIDC; //控件id生成器
|
||||||
FActionLink: TControlActionLink;
|
FActionLink: TControlActionLink;
|
||||||
FCanvas: TCanvas; //为可视控件提供画板
|
FCanvas: TCanvas; //为可视控件提供画板
|
||||||
FMessagehandle;//消息表
|
[weakref]FMessagehandle;//消息表
|
||||||
FtagPAINTSTRUCT; //绘制区域
|
FtagPAINTSTRUCT; //绘制区域
|
||||||
|
|
||||||
FAnchors;
|
FAnchors;
|
||||||
FAnchorBounds;
|
FAnchorBounds;
|
||||||
|
|
||||||
FCaption;//标题
|
FCaption;//标题
|
||||||
FCaptureMouseButtons;//鼠标样式
|
FCaptureMouseButtons;//鼠标样式
|
||||||
FColor;//颜色
|
FColor;//颜色
|
||||||
|
|
@ -40,6 +39,7 @@ type tcontrol = class(tcomponent)
|
||||||
//FLastResizeClientWidth: integer;
|
//FLastResizeClientWidth: integer;
|
||||||
//FLastResizeHeight: integer;
|
//FLastResizeHeight: integer;
|
||||||
//FLastResizeWidth: integer;
|
//FLastResizeWidth: integer;
|
||||||
|
weakref
|
||||||
FOnClick; //点击
|
FOnClick; //点击
|
||||||
Fonrclick;
|
Fonrclick;
|
||||||
FOnContextPopup;
|
FOnContextPopup;
|
||||||
|
|
@ -67,11 +67,12 @@ type tcontrol = class(tcomponent)
|
||||||
FOnStartDock;
|
FOnStartDock;
|
||||||
FOnStartDrag;
|
FOnStartDrag;
|
||||||
//FOnTripleClick;
|
//FOnTripleClick;
|
||||||
|
autoref
|
||||||
protected //可以重写的函数以及使用的成员变量
|
protected //可以重写的函数以及使用的成员变量
|
||||||
//对齐
|
//对齐
|
||||||
FAlign;//对齐方式
|
FAlign;//对齐方式
|
||||||
FUnAlignBounds;
|
FUnAlignBounds;
|
||||||
FParent;// TWinControl; //父节点
|
[weakref]FParent;// TWinControl; //父节点
|
||||||
//FParentBiDiMode;//: Boolean;
|
//FParentBiDiMode;//: Boolean;
|
||||||
FPopupMenu;//: TPopupMenu;
|
FPopupMenu;//: TPopupMenu;
|
||||||
//FIsControl;//: Boolean;
|
//FIsControl;//: Boolean;
|
||||||
|
|
@ -1156,32 +1157,31 @@ type tcontrol = class(tcomponent)
|
||||||
FMessagehandle := array();
|
FMessagehandle := array();
|
||||||
FSIDC.deleteid(FID);
|
FSIDC.deleteid(FID);
|
||||||
SetParent(nil);
|
SetParent(nil);
|
||||||
FOnClick := nil; //点击
|
//FOnClick := nil; //点击
|
||||||
FOnContextPopup := nil;
|
//FOnContextPopup := nil;
|
||||||
FOnDblClick := nil; //双击
|
//FOnDblClick := nil; //双击
|
||||||
FOnDragDrop := nil;
|
//FOnDragDrop := nil;
|
||||||
FOnDragOver := nil;
|
//FOnDragOver := nil;
|
||||||
FOnSize := nil;
|
//FOnSize := nil;
|
||||||
FOnMove := nil;
|
//FOnMove := nil;
|
||||||
FOnEditingDone := nil;
|
//FOnEditingDone := nil;
|
||||||
FOnEndDock := nil;
|
//FOnEndDock := nil;
|
||||||
FOnEndDrag := nil;
|
//FOnEndDrag := nil;
|
||||||
FOnMouseDown := nil; //按下
|
//FOnMouseDown := nil; //按下
|
||||||
FOnMouseEnter := nil; //进入
|
//FOnMouseEnter := nil; //进入
|
||||||
FMouseEntereded := nil;
|
//FMouseEntereded := nil;
|
||||||
FOnMouseLeave := nil; //离开
|
//FOnMouseLeave := nil; //离开
|
||||||
FOnMouseMove := nil; //移动
|
//FOnMouseMove := nil; //移动
|
||||||
FOnPopupMenu := nil;
|
//FOnPopupMenu := nil;
|
||||||
FOnMouseUp := nil; //弹起
|
//FOnMouseUp := nil; //弹起
|
||||||
FOnMouseWheel := nil; //滚动
|
//FOnMouseWheel := nil; //滚动
|
||||||
FOnMouseWheelDown := nil; //滚动按下
|
//FOnMouseWheelDown := nil; //滚动按下
|
||||||
FOnMouseWheelUp := nil; //滚动弹起
|
//FOnMouseWheelUp := nil; //滚动弹起
|
||||||
//FOnQuadClick := nil;
|
////FOnQuadClick := nil;
|
||||||
//FOnResize := nil; //
|
////FOnResize := nil; //
|
||||||
FOnShowHint := nil;
|
//FOnShowHint := nil;
|
||||||
FOnStartDock := nil;
|
//FOnStartDock := nil;
|
||||||
FOnStartDrag := nil;
|
//FOnStartDrag := nil;
|
||||||
FOnTripleClick := nil;
|
|
||||||
FBKBitmap := nil;
|
FBKBitmap := nil;
|
||||||
if FActionLink is class(TControlActionLink)then
|
if FActionLink is class(TControlActionLink)then
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ type tcustomcontrol=class(TWinControl)
|
||||||
**}
|
**}
|
||||||
//20220908添加splitter功能
|
//20220908添加splitter功能
|
||||||
private
|
private
|
||||||
FOnPaint:TNotifyEvent;
|
[weakref]FOnPaint:TNotifyEvent;
|
||||||
protected
|
protected
|
||||||
procedure PaintWindow(DC:HDC);override;
|
procedure PaintWindow(DC:HDC);override;
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ type tgraphiccontrol = class(TControl)
|
||||||
**}
|
**}
|
||||||
private
|
private
|
||||||
//FCanvas: TCanvas;
|
//FCanvas: TCanvas;
|
||||||
FOnPaint:TNotifyEvent;
|
[weakref]FOnPaint:TNotifyEvent;
|
||||||
protected
|
protected
|
||||||
procedure ChangeBounds(ALeft,ATop,AWidth,AHeight:integer;KeepBase:boolean);override; //type_tcontrol
|
procedure ChangeBounds(ALeft,ATop,AWidth,AHeight:integer;KeepBase:boolean);override; //type_tcontrol
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -510,8 +510,10 @@ type TTray=class(TComponent)
|
||||||
FIcon;
|
FIcon;
|
||||||
FHaveadd;
|
FHaveadd;
|
||||||
FPopupMenu;
|
FPopupMenu;
|
||||||
|
weakref
|
||||||
FOnclick;
|
FOnclick;
|
||||||
FOnMouseMove;
|
FOnMouseMove;
|
||||||
|
autoref
|
||||||
static FSIDC; //id ¹¹ÔìÆ÷
|
static FSIDC; //id ¹¹ÔìÆ÷
|
||||||
FCaption;
|
FCaption;
|
||||||
FForm;
|
FForm;
|
||||||
|
|
@ -3367,8 +3369,8 @@ type TListView = class(TDrawGrid)
|
||||||
FSelBkColor;
|
FSelBkColor;
|
||||||
FMouseOnBkColor;
|
FMouseOnBkColor;
|
||||||
FMenus;
|
FMenus;
|
||||||
FSelectedChanged;
|
[weakref]FSelectedChanged;
|
||||||
FOnCheckItem;
|
[weakref]FOnCheckItem;
|
||||||
FCanSelected;
|
FCanSelected;
|
||||||
FColumnBool;
|
FColumnBool;
|
||||||
FPrevSelectedId;
|
FPrevSelectedId;
|
||||||
|
|
@ -4135,8 +4137,8 @@ type tmonthcalendar = class(TCustomControl)
|
||||||
private
|
private
|
||||||
FCalender;
|
FCalender;
|
||||||
FMousedownState;
|
FMousedownState;
|
||||||
FonSelect;
|
[weakref]FonSelect;
|
||||||
FonSelectChange;
|
[weakref]FonSelectChange;
|
||||||
end
|
end
|
||||||
|
|
||||||
type tdatetimepicker = class(tthreeEntry)
|
type tdatetimepicker = class(tthreeEntry)
|
||||||
|
|
@ -4321,7 +4323,7 @@ type tdatetimepicker = class(tthreeEntry)
|
||||||
end
|
end
|
||||||
FScreenRect;
|
FScreenRect;
|
||||||
FCalender;
|
FCalender;
|
||||||
Fonselectchange;
|
[weakref]Fonselectchange;
|
||||||
end
|
end
|
||||||
type ttimepicker = class(tthreeEntry)
|
type ttimepicker = class(tthreeEntry)
|
||||||
function create(aowner);
|
function create(aowner);
|
||||||
|
|
@ -4499,7 +4501,7 @@ type ttimepicker = class(tthreeEntry)
|
||||||
end
|
end
|
||||||
FRectUp;
|
FRectUp;
|
||||||
FRectDown;
|
FRectDown;
|
||||||
Fonselectchange;
|
[weakref]Fonselectchange;
|
||||||
end
|
end
|
||||||
type tipaddr = class(tcustomipaddr)
|
type tipaddr = class(tcustomipaddr)
|
||||||
{**
|
{**
|
||||||
|
|
@ -5393,7 +5395,7 @@ type TQuotations=class(tcomponent)
|
||||||
static RE_FUNCSTATE;
|
static RE_FUNCSTATE;
|
||||||
static RE_ECHO;
|
static RE_ECHO;
|
||||||
static RE_QUERY;
|
static RE_QUERY;
|
||||||
FOncallBack; //回调函数
|
[weakref]FOncallBack; //回调函数
|
||||||
FChannel; //ͨµÀ
|
FChannel; //ͨµÀ
|
||||||
FData; //·µ»ØÊý¾Ý
|
FData; //·µ»ØÊý¾Ý
|
||||||
FIds;
|
FIds;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ type tuieventbase=class(TSLUICONST)
|
||||||
Wparam:pointer;
|
Wparam:pointer;
|
||||||
Lparam:pointer;
|
Lparam:pointer;
|
||||||
Hwnd:pointer;
|
Hwnd:pointer;
|
||||||
_tag;
|
[weakref]_tag;
|
||||||
{**
|
{**
|
||||||
@param(Message)(integer|any) ÏûÏ¢id %%
|
@param(Message)(integer|any) ÏûÏ¢id %%
|
||||||
@param(Wparam)(pointer) ÏûÏ¢wparam %%
|
@param(Wparam)(pointer) ÏûÏ¢wparam %%
|
||||||
|
|
@ -28,7 +28,7 @@ type tuieventbase=class(TSLUICONST)
|
||||||
//½á¹û
|
//½á¹û
|
||||||
FSkip;
|
FSkip;
|
||||||
Fresult;
|
Fresult;
|
||||||
FSender;
|
[weakref]FSender;
|
||||||
function setSkip(v);
|
function setSkip(v);
|
||||||
begin
|
begin
|
||||||
if v then
|
if v then
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ type TWinControl = class(tcontrol)
|
||||||
protected //消息
|
protected //消息
|
||||||
FDefWndproc; //默认消息句柄
|
FDefWndproc; //默认消息句柄
|
||||||
private //时间指针
|
private //时间指针
|
||||||
|
weakref
|
||||||
FonKillFocus;
|
FonKillFocus;
|
||||||
FonSetFocus;
|
FonSetFocus;
|
||||||
foncreated;
|
foncreated;
|
||||||
|
|
@ -47,6 +48,8 @@ type TWinControl = class(tcontrol)
|
||||||
FOnKeyDown;
|
FOnKeyDown;
|
||||||
FOnKeyPress;
|
FOnKeyPress;
|
||||||
FOnKeyUp;
|
FOnKeyUp;
|
||||||
|
factivecontrol;
|
||||||
|
autoref
|
||||||
FTabStop;
|
FTabStop;
|
||||||
FWsCaption;
|
FWsCaption;
|
||||||
FWsSizeBox;
|
FWsSizeBox;
|
||||||
|
|
@ -2685,6 +2688,6 @@ type TWinControl = class(tcontrol)
|
||||||
if WsPopUp then return factivecontrol;
|
if WsPopUp then return factivecontrol;
|
||||||
factivecontrol := nil;
|
factivecontrol := nil;
|
||||||
end
|
end
|
||||||
factivecontrol;
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
@ -103,6 +103,7 @@ TYPE TMemoLineList=class(tnumindexarray) //
|
||||||
private
|
private
|
||||||
Flock;
|
Flock;
|
||||||
FRowMaxLength;
|
FRowMaxLength;
|
||||||
|
weakref
|
||||||
FOnAdded;
|
FOnAdded;
|
||||||
FOnChange;
|
FOnChange;
|
||||||
FOnChanging;
|
FOnChanging;
|
||||||
|
|
@ -110,13 +111,14 @@ TYPE TMemoLineList=class(tnumindexarray) //
|
||||||
FOnDeleted;
|
FOnDeleted;
|
||||||
fOnPutted;
|
fOnPutted;
|
||||||
FOnMaxLengthIncrease;
|
FOnMaxLengthIncrease;
|
||||||
|
FEdit;
|
||||||
|
autoref
|
||||||
function DoColumnIncreased();
|
function DoColumnIncreased();
|
||||||
begin
|
begin
|
||||||
//echo "\r\nIncreate:",FRowMaxLength;
|
//echo "\r\nIncreate:",FRowMaxLength;
|
||||||
//if iffuncptr(FOnMaxLengthIncrease) then Call(FOnMaxLengthIncrease);
|
//if iffuncptr(FOnMaxLengthIncrease) then Call(FOnMaxLengthIncrease);
|
||||||
//echo "\r\nincrease:",FRowMaxLength;
|
//echo "\r\nincrease:",FRowMaxLength;
|
||||||
end
|
end
|
||||||
FEdit;
|
|
||||||
function SetText(s);
|
function SetText(s);
|
||||||
begin
|
begin
|
||||||
Clear();
|
Clear();
|
||||||
|
|
@ -177,7 +179,7 @@ type TMemoGutter=class() //
|
||||||
return 20+FEdit.Font.width * 5;
|
return 20+FEdit.Font.width * 5;
|
||||||
end
|
end
|
||||||
FWidth;
|
FWidth;
|
||||||
FEdit;
|
[weakref]FEdit;
|
||||||
end
|
end
|
||||||
type TTslMemoUndoItem=class
|
type TTslMemoUndoItem=class
|
||||||
FReason;
|
FReason;
|
||||||
|
|
@ -636,7 +638,7 @@ type TCustomMemo = class(TCustomScrollControl,TCustomMemoCmd) //
|
||||||
@explan(说明) 带滚动条的编辑控件 %%
|
@explan(说明) 带滚动条的编辑控件 %%
|
||||||
**}
|
**}
|
||||||
private
|
private
|
||||||
fongutterclick;//点击
|
[weakref]fongutterclick;//点击
|
||||||
ftmemlockv;
|
ftmemlockv;
|
||||||
fundoing; //清空unredo标记
|
fundoing; //清空unredo标记
|
||||||
fredoing; //清空unredo标记
|
fredoing; //清空unredo标记
|
||||||
|
|
@ -2528,7 +2530,7 @@ type TSynCompletion = class(TSynCompletionList)
|
||||||
OnJumpChoosed := nil;
|
OnJumpChoosed := nil;
|
||||||
inherited;
|
inherited;
|
||||||
end
|
end
|
||||||
OnJumpChoosed;
|
[weakref]OnJumpChoosed;
|
||||||
function CanJump(); //是否一跳转,可以跳转返回跳转的字符串
|
function CanJump(); //是否一跳转,可以跳转返回跳转的字符串
|
||||||
begin
|
begin
|
||||||
p := parent;
|
p := parent;
|
||||||
|
|
@ -2900,7 +2902,7 @@ type TSynCompletion = class(TSynCompletionList)
|
||||||
private
|
private
|
||||||
FCurrentWidth;
|
FCurrentWidth;
|
||||||
FCompData;
|
FCompData;
|
||||||
FMemo;
|
[weakref]FMemo;
|
||||||
FJump;
|
FJump;
|
||||||
FIgnoreCase;
|
FIgnoreCase;
|
||||||
FFilter;
|
FFilter;
|
||||||
|
|
@ -3094,8 +3096,10 @@ type TSynHighLighter = class(TComponent) //
|
||||||
SetInValidateIndex(1);
|
SetInValidateIndex(1);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
weakref
|
||||||
Flines;
|
Flines;
|
||||||
FMemo;
|
FMemo;
|
||||||
|
autoref
|
||||||
|
|
||||||
end
|
end
|
||||||
type tcustomsynhighlighter = class(TSynHighLighter)
|
type tcustomsynhighlighter = class(TSynHighLighter)
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,13 @@ interface
|
||||||
uses utslvclauxiliary,utslvclbase;
|
uses utslvclauxiliary,utslvclbase;
|
||||||
type TBasicAction=class(TComponent)
|
type TBasicAction=class(TComponent)
|
||||||
private
|
private
|
||||||
|
weakref
|
||||||
FActionComponent:TComponent; //执行的tcomponent
|
FActionComponent:TComponent; //执行的tcomponent
|
||||||
FOnChange:TNotifyEvent;
|
FOnChange:TNotifyEvent;
|
||||||
FOnExecute:TNotifyEvent;
|
FOnExecute:TNotifyEvent;
|
||||||
FOnUpdate:TNotifyEvent;
|
FOnUpdate:TNotifyEvent;
|
||||||
FParent;
|
FParent;
|
||||||
|
autoref
|
||||||
function SetParent(p);
|
function SetParent(p);
|
||||||
begin
|
begin
|
||||||
if FParent <> p then
|
if FParent <> p then
|
||||||
|
|
@ -348,7 +350,7 @@ type TBasicActionLink=class(TSLUIBASE)
|
||||||
@explan(说明) 基础action component关联类 %%
|
@explan(说明) 基础action component关联类 %%
|
||||||
**}
|
**}
|
||||||
private
|
private
|
||||||
FOnChange;
|
[weakref]FOnChange;
|
||||||
protected
|
protected
|
||||||
procedure AssignClient(AClient:TObject);virtual;
|
procedure AssignClient(AClient:TObject);virtual;
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -321,7 +321,7 @@ end
|
||||||
type tarray1dlk=class //从0开始
|
type tarray1dlk=class //从0开始
|
||||||
private
|
private
|
||||||
_len;
|
_len;
|
||||||
FCompareValue;
|
[weakref]FCompareValue;
|
||||||
protected _data; //数据
|
protected _data; //数据
|
||||||
public
|
public
|
||||||
{**
|
{**
|
||||||
|
|
@ -1463,7 +1463,7 @@ type TNode = class() //
|
||||||
**}
|
**}
|
||||||
private
|
private
|
||||||
FItems; //子项
|
FItems; //子项
|
||||||
FParent; //父节点
|
[weakref]FParent; //父节点
|
||||||
public
|
public
|
||||||
function Create();virtual;
|
function Create();virtual;
|
||||||
begin
|
begin
|
||||||
|
|
@ -2944,6 +2944,7 @@ begin
|
||||||
{$ifdef linux}
|
{$ifdef linux}
|
||||||
nct := 1;
|
nct := 1;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
if length(ffname)<1 then exit;
|
||||||
ph := ffname[1:nct];
|
ph := ffname[1:nct];
|
||||||
for i := nct+1 to length(ffname) do
|
for i := nct+1 to length(ffname) do
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -7,7 +7,7 @@ type TCommDlg=class(tcomponent)
|
||||||
**}
|
**}
|
||||||
private
|
private
|
||||||
FChooseOk;
|
FChooseOk;
|
||||||
FWndOwner;
|
[weakref]FWndOwner;
|
||||||
FCaption;
|
FCaption;
|
||||||
function SetParent(p);
|
function SetParent(p);
|
||||||
begin
|
begin
|
||||||
|
|
@ -322,7 +322,8 @@ type tcustomfsdlg = class(TCommDlg)
|
||||||
@explan(说明) 保存文件,获得文件名 %%
|
@explan(说明) 保存文件,获得文件名 %%
|
||||||
@param(FFileTag)(TtagOFNA)openfile 对象 %%
|
@param(FFileTag)(TtagOFNA)openfile 对象 %%
|
||||||
**}
|
**}
|
||||||
protected FFileTag;
|
protected
|
||||||
|
FFileTag;
|
||||||
function dlgType();virtual;
|
function dlgType();virtual;
|
||||||
begin
|
begin
|
||||||
//对话框类型:0x1:保存为窗口。0x2:打开窗口。
|
//对话框类型:0x1:保存为窗口。0x2:打开窗口。
|
||||||
|
|
@ -1053,8 +1054,8 @@ type TcustomInPutQuerys= class(tcustomscrollcontrol)
|
||||||
FInfo;
|
FInfo;
|
||||||
FBOk;
|
FBOk;
|
||||||
FBCancel;
|
FBCancel;
|
||||||
FLabels;
|
[weakref]FLabels;
|
||||||
FEdits;
|
[weakref]FEdits;
|
||||||
FTips;
|
FTips;
|
||||||
static SFInputType;
|
static SFInputType;
|
||||||
static SHashInited;
|
static SHashInited;
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ type TMDRAWITEM=class(tuieventbase,TtageDrawItem)
|
||||||
inherited;
|
inherited;
|
||||||
class(TtageDrawItem).destroy();
|
class(TtageDrawItem).destroy();
|
||||||
end
|
end
|
||||||
canvas;
|
[weakref] canvas;
|
||||||
end
|
end
|
||||||
type TGRIDMDRAWITEM = class(tuieventbase)
|
type TGRIDMDRAWITEM = class(tuieventbase)
|
||||||
{**
|
{**
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ private
|
||||||
FEnabled :bool;
|
FEnabled :bool;
|
||||||
FVisible :bool;
|
FVisible :bool;
|
||||||
FCommand :integer;
|
FCommand :integer;
|
||||||
|
weakref
|
||||||
FOnclick;
|
FOnclick;
|
||||||
fonchanged;
|
fonchanged;
|
||||||
// FOwnerDraw;
|
// FOwnerDraw;
|
||||||
|
|
@ -30,9 +31,10 @@ private
|
||||||
FOnMeasureItem; //²âÁ¿
|
FOnMeasureItem; //²âÁ¿
|
||||||
FOninitmenupopup;
|
FOninitmenupopup;
|
||||||
FOnrbuttonup;
|
FOnrbuttonup;
|
||||||
|
FOnDesignClick;
|
||||||
|
autoref
|
||||||
FMtype; //Ñùʽ
|
FMtype; //Ñùʽ
|
||||||
FMenuitemInfo;
|
FMenuitemInfo;
|
||||||
FOnDesignClick;
|
|
||||||
FBitmap;
|
FBitmap;
|
||||||
FShortCut;
|
FShortCut;
|
||||||
function modifyshowcaption(item);
|
function modifyshowcaption(item);
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,8 @@ type tcustompagecontrol = class(TCustomControl)
|
||||||
FCurrentid; //当前
|
FCurrentid; //当前
|
||||||
FPrevid; //上一个
|
FPrevid; //上一个
|
||||||
FTabItems; //
|
FTabItems; //
|
||||||
FOnSelChanged;
|
[weakref]FOnSelChanged;
|
||||||
FOnSelChanging; //正在改变
|
[weakref]FOnSelChanging; //正在改变
|
||||||
//FOnrclick;
|
//FOnrclick;
|
||||||
FTabPosition;
|
FTabPosition;
|
||||||
FTabHeight;
|
FTabHeight;
|
||||||
|
|
|
||||||
|
|
@ -167,9 +167,10 @@ type TCustomTimer = class(tcomponent)//
|
||||||
**}
|
**}
|
||||||
if tid and(ifnumber(tid))then reindex(_STIMERS,array(tid:nil));
|
if tid and(ifnumber(tid))then reindex(_STIMERS,array(tid:nil));
|
||||||
end
|
end
|
||||||
protected FOntimeout;
|
protected
|
||||||
|
[weakref]FOntimeout;
|
||||||
private
|
private
|
||||||
FOntimer;
|
[weakref]FOntimer;
|
||||||
Fid;
|
Fid;
|
||||||
FInterval;
|
FInterval;
|
||||||
FStart;
|
FStart;
|
||||||
|
|
@ -810,8 +811,7 @@ type teditable=class(TSLUIBASE) //
|
||||||
FHafChar; //半个中文
|
FHafChar; //半个中文
|
||||||
FBorder;
|
FBorder;
|
||||||
//////////////////////
|
//////////////////////
|
||||||
FHost; //
|
[weakref]FHost; //
|
||||||
FHostDc;
|
|
||||||
FClientRect;
|
FClientRect;
|
||||||
FFont;
|
FFont;
|
||||||
FVisible;
|
FVisible;
|
||||||
|
|
@ -1391,7 +1391,14 @@ type teditable=class(TSLUIBASE) //
|
||||||
end
|
end
|
||||||
"ecpasswordchar":
|
"ecpasswordchar":
|
||||||
begin
|
begin
|
||||||
if ifstring(pm)and pm then FPassWordChar := pm[1];
|
if ifstring(pm)and pm then
|
||||||
|
begin
|
||||||
|
tm := trim(pm);
|
||||||
|
if tm then
|
||||||
|
begin
|
||||||
|
FPassWordChar := tm[1];
|
||||||
|
end
|
||||||
|
end
|
||||||
else return FPassWordChar;
|
else return FPassWordChar;
|
||||||
end
|
end
|
||||||
"ecmarked":
|
"ecmarked":
|
||||||
|
|
@ -1726,15 +1733,17 @@ type teditable=class(TSLUIBASE) //
|
||||||
fundolist;
|
fundolist;
|
||||||
FIsCaretShow;
|
FIsCaretShow;
|
||||||
FKillFocus;
|
FKillFocus;
|
||||||
FOnSetFocus;
|
|
||||||
FPassWordChar;
|
FPassWordChar;
|
||||||
FMarked;
|
FMarked;
|
||||||
|
weakref
|
||||||
|
FOnSetFocus;
|
||||||
FOnMaxText;
|
FOnMaxText;
|
||||||
FOnUpdate;
|
FOnUpdate;
|
||||||
FOnChange;
|
FOnChange;
|
||||||
FOnKeyPress;
|
FOnKeyPress;
|
||||||
FOnKeyDown;
|
FOnKeyDown;
|
||||||
FOnKeyUp;
|
FOnKeyUp;
|
||||||
|
autoref
|
||||||
Fplaceholder;
|
Fplaceholder;
|
||||||
FSetFocused;
|
FSetFocused;
|
||||||
FFocusBorder;
|
FFocusBorder;
|
||||||
|
|
@ -2628,9 +2637,11 @@ type tcustomedit=class(TCustomControl)
|
||||||
begin
|
begin
|
||||||
if FEditable then return FEditable.LineWrap := v;
|
if FEditable then return FEditable.LineWrap := v;
|
||||||
end
|
end
|
||||||
|
weakref
|
||||||
FOnUpdate;
|
FOnUpdate;
|
||||||
FOnChange;
|
FOnChange;
|
||||||
fonmaxtext;
|
fonmaxtext;
|
||||||
|
autoref
|
||||||
end
|
end
|
||||||
type tcustompassword = class(tcustomedit)
|
type tcustompassword = class(tcustomedit)
|
||||||
{**
|
{**
|
||||||
|
|
@ -3972,8 +3983,8 @@ type TcustomListBox=class(TCustomListBoxbase)
|
||||||
fselbkcolor;
|
fselbkcolor;
|
||||||
FOwnerDraw;
|
FOwnerDraw;
|
||||||
// FselectionCancel;
|
// FselectionCancel;
|
||||||
FselectionChange;
|
[weakref]FselectionChange;
|
||||||
Fondrawlist;
|
[weakref]Fondrawlist;
|
||||||
FSelBegin;
|
FSelBegin;
|
||||||
FSelEnd;
|
FSelEnd;
|
||||||
FIsMouseDown;
|
FIsMouseDown;
|
||||||
|
|
@ -4124,9 +4135,11 @@ type TCustomComboBoxbase=class(TCustomControl)
|
||||||
FmaxListItemShow;
|
FmaxListItemShow;
|
||||||
FScreenRect; //桌面区域
|
FScreenRect; //桌面区域
|
||||||
FBtnRect; //按钮区域
|
FBtnRect; //按钮区域
|
||||||
|
weakref
|
||||||
FOnSelchanged; //选择改变
|
FOnSelchanged; //选择改变
|
||||||
Fondropdown; //下拉
|
Fondropdown; //下拉
|
||||||
Foncloseup; //收起
|
Foncloseup; //收起
|
||||||
|
autoref
|
||||||
FBtnWidth;
|
FBtnWidth;
|
||||||
function GetItemCount();
|
function GetItemCount();
|
||||||
begin
|
begin
|
||||||
|
|
@ -4438,10 +4451,12 @@ type TcustomComboBox=class(TCustomComboBoxbase)
|
||||||
FTextHeight;
|
FTextHeight;
|
||||||
FItemHeight;
|
FItemHeight;
|
||||||
Freadonly;
|
Freadonly;
|
||||||
|
weakref
|
||||||
Foneditchanged;
|
Foneditchanged;
|
||||||
FoneditUpdate;
|
FoneditUpdate;
|
||||||
Fonkillfocus;
|
Fonkillfocus;
|
||||||
Fonsetfocus;
|
Fonsetfocus;
|
||||||
|
autoref
|
||||||
FEdit;
|
FEdit;
|
||||||
function setItems(d);
|
function setItems(d);
|
||||||
begin
|
begin
|
||||||
|
|
@ -4492,7 +4507,7 @@ type tcustommenubutton = class()//
|
||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
fmenu;
|
fmenu;
|
||||||
fParent;
|
[weakref]fParent;
|
||||||
end
|
end
|
||||||
type TcustomToolButton=class(tcomponent)
|
type TcustomToolButton=class(tcomponent)
|
||||||
{**
|
{**
|
||||||
|
|
@ -4758,13 +4773,13 @@ type TcustomToolButton=class(tcomponent)
|
||||||
end
|
end
|
||||||
private
|
private
|
||||||
FPopupMenu;//弹出菜单
|
FPopupMenu;//弹出菜单
|
||||||
|
[weakref]FOnClick; //µã»÷
|
||||||
|
[weakref]FToolbar; //¹¤¾ßÀ¸
|
||||||
FCaption; //标题
|
FCaption; //标题
|
||||||
FOnClick; //点击
|
|
||||||
FCommandId; //command id 可以不要
|
FCommandId; //command id 可以不要
|
||||||
FImageId; //imageid
|
FImageId; //imageid
|
||||||
FEnabled; //有效 可以点击
|
FEnabled; //有效 可以点击
|
||||||
FVisible; //可见
|
FVisible; //可见
|
||||||
FToolbar; //工具栏
|
|
||||||
FWillAddbar;
|
FWillAddbar;
|
||||||
FActionLink;
|
FActionLink;
|
||||||
end
|
end
|
||||||
|
|
@ -5683,8 +5698,8 @@ type TCustomSpinEdit = class(TCustomControl)
|
||||||
FMaxValue: Double;
|
FMaxValue: Double;
|
||||||
FMinValue: Double;
|
FMinValue: Double;
|
||||||
FValue: Double;
|
FValue: Double;
|
||||||
FOnIncrease;
|
[weakref]FOnIncrease;
|
||||||
FOnDecrease;
|
[weakref]FOnDecrease;
|
||||||
FLeveTimer;
|
FLeveTimer;
|
||||||
function DrawItem(id,f);
|
function DrawItem(id,f);
|
||||||
begin
|
begin
|
||||||
|
|
@ -6568,7 +6583,7 @@ type tcustomipaddr = class(TCustomControl)
|
||||||
FIpe4;
|
FIpe4;
|
||||||
FPort;
|
FPort;
|
||||||
FFontwidth;
|
FFontwidth;
|
||||||
FaddrChange;
|
[weakref]FaddrChange;
|
||||||
Fsynrects;
|
Fsynrects;
|
||||||
function getAddress();
|
function getAddress();
|
||||||
begin
|
begin
|
||||||
|
|
@ -6755,10 +6770,12 @@ type tcustomprocess = class(tcomponent) //
|
||||||
**}
|
**}
|
||||||
private //成员变量
|
private //成员变量
|
||||||
ferrinfo;
|
ferrinfo;
|
||||||
fonprcstart;
|
|
||||||
fprocesshandle;
|
fprocesshandle;
|
||||||
|
weakref
|
||||||
|
fonprcstart;
|
||||||
FOnEcho;
|
FOnEcho;
|
||||||
fonprocended;
|
fonprocended;
|
||||||
|
autoref
|
||||||
fexestring;
|
fexestring;
|
||||||
fparams;
|
fparams;
|
||||||
private //处理函数
|
private //处理函数
|
||||||
|
|
|
||||||
|
|
@ -1300,7 +1300,7 @@ type TcustomTreeCtlNode = class(tsluibase) //
|
||||||
property CurrentDeleteNode read FCurrentDeleteNode write FCurrentDeleteNode;
|
property CurrentDeleteNode read FCurrentDeleteNode write FCurrentDeleteNode;
|
||||||
property CurrentAddNode read FCurrentAddNode write FCurrentAddNode;
|
property CurrentAddNode read FCurrentAddNode write FCurrentAddNode;
|
||||||
FItems; //子项
|
FItems; //子项
|
||||||
FParent; //父节点
|
[weakref]FParent; //父节点
|
||||||
function Gitems();
|
function Gitems();
|
||||||
begin
|
begin
|
||||||
return FItems;
|
return FItems;
|
||||||
|
|
@ -1354,7 +1354,7 @@ type TcustomTreeCtlNode = class(tsluibase) //
|
||||||
private //成员变量
|
private //成员变量
|
||||||
FHandle;
|
FHandle;
|
||||||
FWidth;
|
FWidth;
|
||||||
FOwner;
|
[weakref]FOwner;
|
||||||
///////////节点成员
|
///////////节点成员
|
||||||
FVisible;
|
FVisible;
|
||||||
FDirtype;
|
FDirtype;
|
||||||
|
|
@ -1774,17 +1774,19 @@ type TcustomTreeCtl = class(ttreelistwnd)
|
||||||
end
|
end
|
||||||
private //成员变量
|
private //成员变量
|
||||||
fcountlocker; //锁定changed回调
|
fcountlocker; //锁定changed回调
|
||||||
|
weakref
|
||||||
fnodecreator;
|
fnodecreator;
|
||||||
FOnlyLeafNodeCheckMark;
|
FOnlyLeafNodeCheckMark;
|
||||||
|
FOnSelChanging;
|
||||||
|
FonEmptyNodeExapanding;
|
||||||
|
FOnSelChanged;
|
||||||
|
FCurrentNode;
|
||||||
|
autoref
|
||||||
FNodeHierarchyWidth;
|
FNodeHierarchyWidth;
|
||||||
FMulSelected;
|
FMulSelected;
|
||||||
FMulSelects;
|
FMulSelects;
|
||||||
FOnSelChanging;
|
|
||||||
FonEmptyNodeExapanding;
|
|
||||||
FSingleExpand;
|
FSingleExpand;
|
||||||
FBKItemHeight;
|
FBKItemHeight;
|
||||||
FOnSelChanged;
|
|
||||||
FCurrentNode;
|
|
||||||
FRootItem;
|
FRootItem;
|
||||||
FCheckBox;
|
FCheckBox;
|
||||||
FHasLine;
|
FHasLine;
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ type tworkerclient = class(TArray)
|
||||||
inherited;
|
inherited;
|
||||||
end
|
end
|
||||||
private
|
private
|
||||||
FOnMessage; //onpost message
|
[weakref] FOnMessage; //onpost message
|
||||||
FConnectHandle; //句柄
|
FConnectHandle; //句柄
|
||||||
end
|
end
|
||||||
type TCustomThreadworker = class()
|
type TCustomThreadworker = class()
|
||||||
|
|
@ -358,9 +358,11 @@ type tworkerHost = class(TArray)
|
||||||
end
|
end
|
||||||
private
|
private
|
||||||
FCatcheData; //构造数据
|
FCatcheData; //构造数据
|
||||||
|
weakref
|
||||||
FOnMessage; //onpost message
|
FOnMessage; //onpost message
|
||||||
FOnError;
|
FOnError;
|
||||||
FOnStart;
|
FOnStart;
|
||||||
|
autoref
|
||||||
FConnectHandle; //句柄
|
FConnectHandle; //句柄
|
||||||
end
|
end
|
||||||
function iffuncptr(fn);
|
function iffuncptr(fn);
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
%~dp0\tslediter.exe -uninstall
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
%~dp0\tslediter.exe -install
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
%~dp0\tsleditor.exe -uninstall
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
%~dp0\tsleditor.exe -install
|
||||||
BIN
tslkrnl.dll
BIN
tslkrnl.dll
Binary file not shown.
Loading…
Reference in New Issue