UI Object
UI object contains objects to access the FTPRush main window
RushApp.UI.Bar
Manage bar...
RushApp.UI.Menu
Menu Object let you can access FTPRush Menu object
RushApp.UI.Selection
Selection Object keeps current selections object
RushApp.UI.Selection
Selection Object keeps current selection information of FTPRush main interface
RushApp.UI.Selection.Prepare
Declare
procedure Prepare;
Description
Tell FTPRush to collect selction information of main interface. everytime you want to use FTPRush Selection Object, you must call RushApp.UI.Selection.Prepare first
RushApp.UI.Selection.Count
Declare
property Count: Integer;
Description
Indicates the number of entries in the selections.
RushApp.UI.Selection.Items
Declare
property Items[Index: Integer]: TEnvSelectItem;
Description
Contains the Selected Item
RushApp.UI.Selection.IsRemoteSide
Declare
property IsRemoteSide: boolean;
Description
Indicates current side is remote side or local side
RushApp.UI.Selection.IsFTPConnected
Declare
property IsFTPConnected: boolean;
Description
Indicates is a FTP Server connected at current remote side, before you use this variable, make sure call IsRemoteSide first.
RushApp.UI.Selection.FTPName
Declare
property FTPName: string;
Description
Indicates the name of current connected FTP Server. before you use this variable, make sure call IsFTPConnected first
TEnvSelectItem
TEnvSelectItem is a class to keep one selected folder/file infomation
Declare
TEnvSelectItem = class
property Name: string; //Name of folder/file
property Size: Int64; //Size of folder/file
property Date: TDateTime; //Datetime of folder/file
property Attr: string; //Attribute of FTP folder/file,
property Owner: string; //Owner of FTP folder/file
property Group: string; //Group of FTP folder/file
property IsFolder: boolean; //Is a folder
property FullPath: string; //Full path of selected folder/file
end;
|