FileView (gb.form)

该控件显示位于一个目录中的文件。

文件能被用图标或细节查看的方式显示。

该类继承于 UserControlgb.qt4中.

该类是可创建

常数
Compact   Constant for displaying files with a compact view.
Detailed   Constant for displaying files with a detailed view.
Normal   Constant for displaying files with the normal view.
Preview   Constant for displaying files with their preview.

属性
Background  
Border  
Count  
Current  
Dir  
DirCount   Return the number of directories displayed by the view.
FileCount   Return the number of files displayed by the view.
Filter  
Foreground  
Icon  
IconSize  
MaxPreviewSize   Return or set the size limit in bytes of files that will be previewed.
Mode  
Path   Return the current selected path.
Paths   Return the absolute paths of the selected elements.
Selected   Return if at least one item is selected in the view.
Selection  
Settings  
ShowDetailed  
ShowDirectory  
ShowHidden  
ShowPreview  
TotalSize   Return the total size of the files displayed by the view.
View   Return or set the view mode of control.

Inherited properties
Action  
Children  
ClientH  
ClientHeight  
ClientW  
ClientWidth  
ClientX  
ClientY  
Cursor  
Design  
Direction  
Drop  
Enabled  
Expand  
Font  
H  
Handle  
HasFocus  
Height  
Hovered  
Id  
Ignore  
Left  
Mouse  
Name  
Next  
NoTabFocus  
Parent  
PopupMenu  
Previous  
Proxy  
RightToLeft  
ScreenX  
ScreenY  
Tag  
Tooltip  
Top  
Tracking  
Visible  
W  
Width  
Window  
X  
Y  

方法
Copy   Copy the selected items as a list of URI in the clipboard.
Reload  
Rename  
SelectAll  
UnselectAll  

Inherited methods
Delete  
Drag  
FindChild  
Grab  
Hide  
Lower  
Move  
MoveScaled  
Raise  
Refresh  
Reparent  
Resize  
ResizeScaled  
SetFocus  
Show  

事件
Activate  
Click  
Filter   This event is raised for each file that may be displayed in the view.
Icon  
Menu  
Refresh   This event is raised just after the FileView has been refreshed.
Rename   This event is raised when a file is being renamed.
Select  
View   This event is raised when the View property has changed.

Inherited events
Arrange  
BeforeArrange  
DblClick  
Drag  
DragLeave  
DragMove  
Drop  
Enter  
GotFocus  
KeyPress   KeyPress例程结束后,textbox控件内部的文本被Gambas根据按键编辑。所以它不检测从KeyPress 事件处理程序及其调用的任何子程序和函数中写回进Text 属性的任何信息。而Change事件开始于内容更新之后。
KeyRelease  
Leave  
LostFocus  
MouseDown  
MouseDrag  
MouseMove  
MouseUp  
MouseWheel  
NewChild