142 |
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)
with AxCascadeFile1 do begin BeginUpdate(); ImageSize := 32; DefaultItemHeight := 36; HeaderHeight := DefaultItemHeight; Font.Size := 16; ToolTipFont.Size := AxCascadeFile1.Font.Size; Indent := 26; with VisualAppearance do begin Add(1,'gBFLBCJwBAEHhEJAAEhABfICg6AADACAxRDgMQBQKAAzQFAYbhkGCGAAGMZxRgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFKVQChEYxSjKA40SJNUgyj6' + 'CCY+QLIE5PfQgAL9I6eJABCCSQKkYx0HScRiwPBIbAZAYhCZqaKhWgkKI/WBQIABRDVLx5ESiLRtKy7Mq2bpvXBcNxXHalaztO68LxvKyqHb5fJ/PpgL4YHgmC4NQ7EM' + 'RwF6rfbyfZ7Xg/ORPTijZ4sdzMHTzJyscx3HqfaBoOaZU5eMLceTUMofHIndxCcasPbsOatVqjG5sYjcGC3La9cz3Pq/bpuDCbMxuaK1TrYXr1TTrcofBDldAxXRKDxR' + 'DWVhLnYOw9i6XxzjuXprCaOoKB6EwbiCZZCGOdZYlcT4xHmbhMnwNxtn+G5bmqdZ7n4Pw/i+X5zm+dQ9g4CAFjsfAJheOI8HsDoWDWTB/lwSAQkmA5PEgRYoDyDwYFYF' + 'oFmGCBmBqBphDgRJ0gOTIYBGRB/lyRh0iSCZbjYWJzgWDwIjYLoLmMCJGDKDJjBgWgqG6YhyhGHRzA2aJ1mCABOAiOJvhCZBJBYRoRmSCQmEqEQimkAZgg8TZnDCV4Uk' + 'mCUmBKZYJGYWoWCUUhiFMNZckNUh2GENoaGaGZmgmJhqhqZpGGIEx2GYIxSGGGJdggWJth2Z4JmYeoemeSZ2H6H4hGmQhihyTRHGYLg7CiCgmgqIpokoNoOiOaJ4jqAo' + 'chqaZGgaCxpAoZoaiaaJqEmWIcGgShcnCJwqEqFoR3YOoFlgchflqNouiuawHmWSYqGkWZQhcatzmaOoumuSp2j6L5bBaK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eIpmqComiqKpqkqNouiuah6hqMIsmsSpWiuGhP1kOoumuSp2j6L5sAsBo54gKwWkaMZsgsJpKjKbJLDaRYxYWRpSjSbIZiS' + 'e41m2CxmlqNptksdpejebR5iSfI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbhF' + 'CcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA=='); end; (GetOcx() as EXMILLERLib.CascadeFile).BackColorHeader := $4c6c6c6; (GetOcx() as EXMILLERLib.CascadeFile).SelBackColor := $4f0f0f0; SelForeColor := Color.FromArgb(0,0,1); (GetOcx() as EXMILLERLib.CascadeFile).HotBackColor := $4f8f8f8; set_Background(EXMILLERLib.BackgroundPartEnum.exCheckBoxState0,$1000000); set_Background(EXMILLERLib.BackgroundPartEnum.exCheckBoxState1,$2000000); set_Background(EXMILLERLib.BackgroundPartEnum.exCheckBoxState2,$3000000); ExpandFolders := True; HasCheckBox := EXMILLERLib.CheckBoxEnum.PartialCheckBox; ExploreFromHere := ''; Select := 'C:'; EndUpdate(); end |
141 |
ImageSize property on 16 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)
with AxCascadeFile1 do begin BeginUpdate(); ImageSize := 16; with VisualAppearance do begin Add(4,'gBFLBCJwBAEHhEJAAEhABUYCg6AADACAxRDgMQBQKAAzQFAYbhkGCGAAGMZxRgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYDmGQYDiCIoRShOMIjHL' + 'UXxtDaIZwhEAoJb+RgAUY/cTzaAEUwHHiTKInaCQShsFYJUJAdRURQ9EwvCIZBpEWwLChENQwWLCNj2TScBwjCyqbale45ViqdoDU5EUiXJJ8ZxnECfYyrGjaMpCeKBU' + 'rGYTVRBIMxLLSia5oeJqMrnBpNVrIUgXCAGFwHK6BcauXIIDp6XoWWRbAAWDpVVzNNC3YzkCIceADHKiXxmVz4JLdGZ1QTGID2XaYaxWK4oZjsVSc4KDHbETbHFi9Fo3' + 'NaaxGisew+GYc4HlCR5NAAAIIEkQJSGMOgdE4RhYDwJJsAaAYQgmPpolCWgSCiBJzjcEIAkQXIBm8d5UhOQgCDUIBDDJDhgggJgKgKYJIDSVoDk8KBFF4OohEMZgWDsY' + 'YDj4GoGmGSB2B6B5iAiBgYDsYRjGSbIJo4RgqDuIpIAoLoLmMCJGDKDJjJiLA7xqUAAgGTwYnYPoPmQCQGEKEJkEkFg9gGY44BoRoSmSSQ2EKEggHgRhShSZRJFYVoVm' + 'WCRmFKFAgGOTheheZgJgYYoYmYSYWGaF4lkMMJ0hqZpJjYbobmcCZGHKHJmjmJh0h2Z4JmYcIaE8WZ2H6H5oAoBoCiCaBKBYfdjGoJoKiKaJKDaDojmkChGgmIgpCoVo' + 'WiWaJZiSd4mmmSh2h6J5qAqBoiiiaY5iSeIpmqComiqKpqkqNouiuah6hqMIsmsSpWiuGhP1kOoumuSp2j6L5sAsBo54gKwWkaMZsgsJpKjKbJLDaRYxYWRpSjSbIZiS' + 'e41m2CxmlqNptksdpejebR5iSfI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbhF' + 'CcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA=='); end; (GetOcx() as EXMILLERLib.CascadeFile).BackColorHeader := $4c6c6c6; (GetOcx() as EXMILLERLib.CascadeFile).SelBackColor := $4f0f0f0; SelForeColor := Color.FromArgb(0,0,1); (GetOcx() as EXMILLERLib.CascadeFile).HotBackColor := $4f8f8f8; ExpandFolders := True; HasCheckBox := EXMILLERLib.CheckBoxEnum.PartialCheckBox; ExploreFromHere := ''; Select := 'C:'; EndUpdate(); end |
140 |
How can I add a checkbox to each item
|
139 |
How do I get the selected file/files
|
138 |
Is it possible to change the visual appearance of the position signs when user changes the column's position by drag and drop
with AxCascadeFile1 do begin BeginUpdate(); with VisualAppearance do begin Add(1,'gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMYxXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzVI' + 'UcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4a' + 'DhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DBe' + 'EMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDIB' + 'ICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAokG' + 'KHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhulRGHKGoImefh0BUZ4JmYeoemeSZ2H6HQmgoBgXDqXwUAQgI='); Add(2,'CP:1 0 -36 0 0'); end; set_Background(EXMILLERLib.BackgroundPartEnum.exColumnsPositionSign,$2000000); StatusBarVisible := EXMILLERLib.StatusBarAnchorEnum.exStatusBarNone; Mode := EXMILLERLib.CascadeModeEnum.exSingleCascadeMode; EndUpdate(); end |
137 |
How can I specify my favorites folders
with AxCascadeFile1 do begin BeginUpdate(); HeaderVisible := False; ExploreFromHere := '::{450d8fba-ad25-11d0-98a8-0800361b1103}|::{018D5C66-4533-4307-9B53-224DE2ED1FE6}|::{20D04FE0-3AEA-1069-A2D8-08002B30309D}|::{F0' + '2C1A0D-BE21-4350-88B0-7367FC96EF3C}'; Select := 'C:\Windows'; EndUpdate(); end |
136 |
How can I add the "My Documents"
|
135 |
How can I add the Printers and Faxes
|
134 |
How can I add the "Recycle Bin" folder
|
133 |
How can I add the "Documents" folder
|
132 |
How can I add the Network folder
|
131 |
How can I add the My Computer
|
130 |
How can I add the My Network Places folder
|
129 |
How can I add the Desktop folder
|
128 |
How can I create my own favorites folders
with AxCascadeFile1 do begin BeginUpdate(); ExploreFromHere := '::{450d8fba-ad25-11d0-98a8-0800361b1103}|C:\Temp><b>My Projects</b>|'; Select := 'C:\Temp'; ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; HeaderVisible := False; FitCascadeColumns := 3; EndUpdate(); end |
127 |
How can change the explore from folder (sample 2)
|
126 |
How can change the explore from folder (sample 1)
|
125 |
Is it possible to include more system drives as root folders (sample 2)
|
124 |
Is it possible to include more system drives as root folders (sample 1)
|
123 |
How can I include a system drive as a root folder, instead lists its content
|
122 |
How can I add the Desktop as a root folder (sample 3, rename, new display name, root)
|
121 |
How can I add the Desktop as a root folder (sample 2)
|
120 |
How can I add the Desktop as a root folder (sample 1)
|
119 |
How can I browse the "Public" folder
|
118 |
How can I browse the "Libraries" folder
|
117 |
How can I browse the "HomeGroup" folder
|
116 |
How can I browse the "Games" folder
|
115 |
How can I browse the "OneDrive" folder
|
114 |
How can I browse the "Recycle Bin" folder
|
113 |
How can I browse the "Documents" folder
|
112 |
How can I browse the Network folder
|
111 |
How can I browse the My Computer
|
110 |
How can I browse the My Network Places folder
|
109 |
How can I browse the Desktop folder
|
108 |
How can I select multiple files
with AxCascadeFile1 do begin Select := 'C:\\r\nD:\\r\nE:\'; end |
107 |
How can I select a single file
|
106 |
Can I change the folder being explored
|
105 |
How can I turn on the Thumbnail mode
|
104 |
How to turn off the Auto-Update feature
with AxCascadeFile1 do begin AutoUpdate := False; end |
103 |
I can not make a column larger, by resizing its header, as it splits the control's header only. What can I do
with AxCascadeFile1 do begin BeginUpdate(); ColumnAutoResize := False; StatusBarVisible := EXMILLERLib.StatusBarAnchorEnum.exStatusBarNone; Mode := EXMILLERLib.CascadeModeEnum.exSingleCascadeMode; Select := 'c:\Windows'; EndUpdate(); end |
102 |
How can hide the column's header
with AxCascadeFile1 do begin BeginUpdate(); HeaderVisible := False; ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Select := 'C:\Windows'; FitCascadeColumns := 3; EndUpdate(); end |
101 |
How can hide the Modified, Size and Type columns
|
100 |
How can I hide the +/- buttons, so I can show just plain lists, no children
with AxCascadeFile1 do begin BeginUpdate(); ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; ExpandFolders := False; HeaderVisible := False; Select := 'C:\Windows'; FitCascadeColumns := 3; EndUpdate(); end |
99 |
A small rectangle is shown around the item that has the focus. Can I hide that
with AxCascadeFile1 do begin ShowFocusRect := False; end |
98 |
How can I get ride of the hot selection color
with AxCascadeFile1 do begin BeginUpdate(); (GetOcx() as EXMILLERLib.CascadeFile).HotBackColor := $ffffffff; (GetOcx() as EXMILLERLib.CascadeFile).HotForeColor := $ffffffff; EndUpdate(); end |
97 |
How can I change the control's selection color (sample 3)
with AxCascadeFile1 do begin BeginUpdate(); with VisualAppearance do begin Add(2,'XP:Button 1 2'); Add(1,'CP:2 -1 0 1 0'); Add(4,'XP:Button 1 1'); Add(3,'CP:4 -1 0 1 0'); end; FitCascadeColumns := 2; Select := 'c:\'; FullRowSelect := True; ExpandFolders := False; (GetOcx() as EXMILLERLib.CascadeFile).SelBackColor := $1000000; SelForeColor := Color.FromArgb(0,0,0); (GetOcx() as EXMILLERLib.CascadeFile).HotBackColor := $3000000; HotForeColor := Color.FromArgb(0,0,0); EndUpdate(); end |
96 |
How can I change the control's selection color (sample 2)
with A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XsJrGuQAEAQgI'); FitCascadeColumns := 2; Select := 'c:\'; FullRowSelect := True; (GetOcx() as EXMILLERLib.CascadeFile).SelBackColor := $1e0e0e0; SelForeColor := Color.FromArgb(0,0,0); EndUpdate(); end |
95 |
How can I change the control's selection color (sample 1)
with AxCascadeFile1 do begin BeginUpdate(); FitCascadeColumns := 2; Select := 'c:\'; FullRowSelect := True; SelBackColor := Color.FromArgb(0,0,0); SelForeColor := Color.FromArgb(255,255,255); EndUpdate(); end |
94 |
How can I select the entire item, rather that name only
with AxCascadeFile1 do begin BeginUpdate(); Select := 'c:\|d:\|e:\'; SelectMode := EXMILLERLib.SelectModeEnum.exSelectModeList; FullRowSelect := True; EndUpdate(); end |
93 |
Is it possible to show the selection with a different color, when the control loses the focus
with AxCascadeFile1 do begin BeginUpdate(); HideSelection := False; set_Background(EXMILLERLib.BackgroundPartEnum($a6),$e0e0e0); set_Background(EXMILLERLib.BackgroundPartEnum($a7),$404040); Select := 'c:\|d:\|e:\'; SelectMode := EXMILLERLib.SelectModeEnum.exSelectModeList; EndUpdate(); end |
92 |
The selection is still shown when the control loses the focus. Is it possible to hide it
with AxCascadeFile1 do begin HideSelection := True; end |
91 |
How can I enable single-selection
with AxCascadeFile1 do begin SingleSel := True; end |
90 |
Predefined Keywords of ShowContextMenu property
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin ExecuteContextMenu := 0; end end; with AxCascadeFile1 do begin BeginUpdate(); set_ScrollPartVisible(EXMILLERLib.ScrollBarEnum.exVScroll,EXMILLERLib.ScrollPartEnum.exExtentThumbPart,True); set_ScrollPartVisible(EXMILLERLib.ScrollBarEnum.exHScroll,EXMILLERLib.ScrollPartEnum.exExtentThumbPart,True); set_ScrollPartVisible(EXMILLERLib.ScrollBarEnum.exScroll,EXMILLERLib.ScrollPartEnum.exExtentThumbPart,True); ScrollWidth := 4; set_Background(EXMILLERLib.BackgroundPartEnum.exVSBack,$f0f0f0); set_Background(EXMILLERLib.BackgroundPartEnum.exVSThumb,$808080); ScrollHeight := 4; set_Background(EXMILLERLib.BackgroundPartEnum.exHSBack,get_Background(EXMILLERLib.BackgroundPartEnum.exVSBack)); set_Background(EXMILLERLib.BackgroundPartEnum.exHSThumb,get_Background(EXMILLERLib.BackgroundPartEnum.exVSThumb)); set_Background(EXMILLERLib.BackgroundPartEnum.exScrollSizeGrip,get_Background(EXMILLERLib.BackgroundPartEnum.exVSBack)); EndUpdate(); AllowSplitView := EXMILLERLib.AllowSplitViewEnum.exAllowTwoSplitView; FitCascadeColumns := 3; ShowContextMenu := '`menu(` + menu + `)` + `,filecount=` + filecount + `,fileattr=` + hex(fileattr) + `,filename=` + filename + `,fileparsename=` + ' + 'fileparsename + `,filefullname=` + filefullname + `,[sep]` + `,vlevels=` + vlevels + `,vlevel=` + vlevel + `,hlevels=` + hlevels' + ' + `,hlevel=` + hlevel + `,view=` + view + `,[sep]` + `,selectmode=` + selectmode'; SplitViewHeight := '256,256'; Layout := 'Select1="C:\"'; Select := 'C:\Windows'; end |
89 |
How can I display the identifiers of the control's context menu (debug)
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; ShowContextMenu := '`[debug]` + menu'; end |
88 |
How can I copy/execute command a file/folder (selection)
with AxCascadeFile1 do begin BeginUpdate(); SingleSel := False; ExploreFromHere := 'c:\'; ExpandFolders := True; Select := 'c:\Temp'; ExecuteContextCommand('<selection>',True,'Copy'); EndUpdate(); end |
87 |
How can I copy a file/folder (absolute name)
with AxCascadeFile1 do begin BeginUpdate(); ExploreFromHere := 'c:\'; ExecuteContextCommand('c:\Temp',True,'Copy'); EndUpdate(); end |
86 |
How can I copy a file/folder (relative name)
with AxCascadeFile1 do begin BeginUpdate(); ExploreFromHere := 'c:\'; ExecuteContextCommand('Temp',True,'Copy'); EndUpdate(); end |
85 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; FullRowSelect := True; ShowContextMenu := 'filecount = 0 ? `Exit[id=1000]` : ( ( ( filecount = 1 ) ? `"` + filename + `"` : `multiple selection` ) + `[dis],[sep],` + menu)' + ''; end |
84 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; FullRowSelect := True; ShowContextMenu := 'filecount > 1 ? `multiple selection[dis]` : menu'; end |
83 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; FullRowSelect := True; ShowContextMenu := 'filecount > 1 ? `multiple selection[dis]` : menu'; end |
82 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ExploreFromHere := 'c:\'; ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; FullRowSelect := True; ExpandFolders := True; ShowContextMenu := 'menu replace `Delete` with `Delete[dis]`'; end |
81 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ExploreFromHere := 'c:\'; ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; FullRowSelect := True; ExpandFolders := True; ShowContextMenu := 'menu replace `&Delete` with ``'; end |
80 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; FullRowSelect := True; ShowContextMenu := '`Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),` + menu + `,Exit[id=1000]`'; end |
79 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); SingleSel := False; FullRowSelect := True; ShowContextMenu := 'filecount = 0 ? `Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]` : menu'; end |
78 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); FullRowSelect := True; ShowContextMenu := 'Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]'; end |
77 |
ShowContextMenu usage
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); OutputDebugString( 'no context menu is generated, so nothing is displayed' ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); FullRowSelect := True; ShowContextMenu := '``'; end |
76 |
How can I add new items to the default file's context menu
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ContextMenu' ); OutputDebugString( ShowContextMenu ); ShowContextMenu := FormatABC('B = 20 ? ( `My First Popup[def](A,B,C),[sep],`+ value + `,[sep],My Last Popup[def](A,B,C)` ) : value',TObject(ShowContextMenu),TObject(e.operation),Nil); OutputDebugString( 'Execute' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); end |
75 |
Is it possible to display the item's identifiers in the file's context menu
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ContextMenu' ); OutputDebugString( ShowContextMenu ); ShowContextMenu := FormatABC('B = 20 ? (`[debug]`+ value) : value ',TObject(ShowContextMenu),TObject(e.operation),Nil); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); end |
74 |
How can I remove the Delete command from the file's context menu
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ContextMenu' ); OutputDebugString( ShowContextMenu ); ShowContextMenu := FormatABC('value replace `&Delete` with ``',TObject(ShowContextMenu),Nil,Nil); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); end |
73 |
How can I provide my own context menu
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ContextMenu' ); OutputDebugString( ShowContextMenu ); ShowContextMenu := 'Item 1[id=1][def],Item 2[id=2],[sep][id=3],Popup[id=4](Item 3[id=5],Item 4[id=6])'; OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); end |
72 |
Is it possible to prevent executing a specific command from the object's context menu
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ContextMenu' ); OutputDebugString( ShowContextMenu ); OutputDebugString( 'ExecuteContextMenu' ); OutputDebugString( ExecuteContextMenu ); ExecuteContextMenu := 0; end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); end |
71 |
How can I disable the Delete command from the object's context menu
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'Operation' ); OutputDebugString( e.operation ); OutputDebugString( 'ContextMenu' ); OutputDebugString( ShowContextMenu ); ShowContextMenu := FormatABC('value replace `&Delete` with `&Delete[dis]`',TObject(ShowContextMenu),Nil,Nil); end end; with AxCascadeFile1 do begin ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exAutoFitOnResizeClient) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); end |
70 |
How can I turn off, disable the control's context menu
with AxCascadeFile1 do begin AllowContextMenu := False; ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; end |
69 |
How can I decode the Layout property
|
68 |
Is there any property I could use, so I can save the control's state, so I can restore once my application is re-started
with AxCascadeFile1 do begin sLayout := Layout; OutputDebugString( 'Save' ); OutputDebugString( sLayout ); Select := 'C:\'; Layout := sLayout; end |
67 |
Turn on the backcolor alternate feature
with AxCascadeFile1 do begin BeginUpdate(); BackColorAlternate := Color.FromArgb(240,240,240); ForeColorAlternate := Color.FromArgb(40,40,40); Select := 'C:\Windows\System32'; EndUpdate(); end |
66 |
Display HTML in the control's status bar
|
65 |
Display relative name into the control's status bar
|
64 |
Display parsed name into the control's status bar
|
63 |
Display name into the control's status bar (default)
|
62 |
Display full path into the control's status bar
|
61 |
Removes the extra > shown at the end of the status label
|
60 |
Just wondering if I can show the status on the bottom side of the control
|
59 |
How can I hide the control's status
|
58 |
I've noticed that if I use a second view, the selected path in the first view, ensures that fits the control's client are as soon as the user resizes the panels. Is it possible to prevent that
|
57 |
I've noticed the control splits the control in 4 parts, and displays each view, the question I have is it possible to have that changed, for instance 3 ( sample 2 )
|
56 |
I've noticed the control splits the control in 4 parts, and displays each view, the question I have is it possible to have that changed, for instance 3 ( sample 1 )
with AxCascadeFile1 do begin BeginUpdate(); ColumnsVisible := EXMILLERLib.FileColumnEnum.exFileColumnName; HeaderVisible := False; Select := 'c:\Windows\System32'; FitToClient(TObject(3)); EndUpdate(); end |
55 |
I am trying to use your control as a file-view, but without any generated thumbnail. Is this possible
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'ViewEndChanging: ' ); OutputDebugString( e.operation ); OutputDebugString( Select ); end end; // ViewStartChanging event - Occurs once the user is about to change the view. procedure TWinForm1.AxCascadeFile1_ViewStartChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewStartChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'ViewStartChanging: ' ); OutputDebugString( e.operation ); end end; with AxCascadeFile1 do begin BeginUpdate(); Mode := Integer(EXMILLERLib.CascadeModeEnum.exDisableThumbnails) Or Integer(EXMILLERLib.CascadeModeEnum.exSplitFixCascadeMode); Layout := 'Select0 = "c:\|d:\"'; EndUpdate(); end |
54 |
How can I prevent resizing the cascade columns, once the user resizes the entire control
|
53 |
Is it possible to disable resizing the cascade columns
|
52 |
SplitFixCascadeMode Mode
|
51 |
FixCascadeMode Mode
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'ViewEndChanging: ' ); OutputDebugString( e.operation ); OutputDebugString( Select ); end end; // ViewStartChanging event - Occurs once the user is about to change the view. procedure TWinForm1.AxCascadeFile1_ViewStartChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewStartChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'ViewStartChanging: ' ); OutputDebugString( e.operation ); end end; with AxCascadeFile1 do begin BeginUpdate(); HeaderVisible := False; DefColumnWidth := 128; Mode := EXMILLERLib.CascadeModeEnum.exFixCascadeMode; Select := 'c:\Windows'; EndUpdate(); end |
50 |
SplitEqualCascadeMode Mode
|
49 |
Default Mode
// ViewEndChanging event - Occurs once the user changed the view. procedure TWinForm1.AxCascadeFile1_ViewEndChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewEndChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'ViewEndChanging: ' ); OutputDebugString( e.operation ); OutputDebugString( Select ); end end; // ViewStartChanging event - Occurs once the user is about to change the view. procedure TWinForm1.AxCascadeFile1_ViewStartChanging(sender: System.Object; e: AxEXMILLERLib._ICascadeFileEvents_ViewStartChangingEvent); begin with AxCascadeFile1 do begin OutputDebugString( 'ViewStartChanging: ' ); OutputDebugString( e.operation ); end end; with AxCascadeFile1 do begin BeginUpdate(); Select := 'c:\Windows'; FitToClient(TObject(3)); EndUpdate(); end |
48 |
SingleCascadeMode ( folder view mode )
|
47 |
How to expand more folders, when single cascade mode is used
|
46 |
Is it possible to programmatically selects more folders
|
45 |
Is it possible to programmatically expand a folder (sample 4, select, expand more)
|
44 |
Is it possible to programmatically expand a folder (sample 3)
|
43 |
Is it possible to programmatically expand a folder (sample 2)
|