custom column - green click-able icon
Posted: 29 Apr 2015 19:44
the green click-able icon of custom column,why does it disappear after clicking it?
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Twice now:admin wrote:I seem to remember that a multi-click trigger has been wished (but not implemented).
hoping it would be someday,thanksadmin wrote:Trigger Click works only once per file. I seem to remember that a multi-click trigger has been wished (but not implemented).
Code: Select all
v13.90.0107 - 2014-04-12 11:37
* Custom Columns: When Custom Columns of type Script are triggered by Click
and the script has no "return" command then the click symbol remains in
the list and can be clicked again and again.
And the list is not repainted after such a "no return" click so you can
make coffee this way.
Am I missing something or does this not work in v17.70.0203...admin wrote:Code: Select all
v13.90.0107 - 2014-04-12 11:37 * Custom Columns: When Custom Columns of type Script are triggered by Click and the script has no "return" command then the click symbol remains in the list and can be clicked again and again. And the list is not repainted after such a "no return" click so you can make coffee this way.
Code: Select all
Snip: CustomColumn 1
XYplorer 17.70.0203, 3/16/2017 6:54:20 AM
Action
ConfigureColumn
Caption
Test
Type
3
Definition
status rand(0,100);
Format
0
Trigger
2
Item Type
2
Item Filter
actually it does work here, with the mentioned versionTheQwerty wrote:Am I missing something or does this not work in v17.70.0203...
Using that snippet in fresh v17.70.0203 - the icons disappear after clicking on them.Various Info wrote:XYplorer: 17.70.0203 (Pro Edition - Lifetime License Pro)
Loaded in: 730 ms at 3/16/2017 10:04:06 AM
Uptime: 13 mins, 42 secs Runtime: 6.00.9815
Memory Usage: 43,996 KB, Virtual Memory Size: 22,720 KB
OS: Windows 7 Professional (Service Pack 1), 64-bit (6.1)
OS Uptime: 1 day, 4 hrs, 51 secs
Time Zone: Eastern Standard Time, Eastern Daylight Time
UTC Offset: --04:00
User Role: User
Themes: Yes (Aero) RealSystem32: Yes
System Locale ID: 1033 (en-US)
Thread Locale ID: 1033 (en-US)
Default ANSI Code Page: 1252 (ANSI - Latin I)
Active ANSI Code Page: 1252 (ANSI - Latin I)
Default OEM code page: 437 (OEM - United States)
Active OEM Code Page: 437 (OEM - United States)
Is DBCS Code Page: No
DblClick Time: 550 ms
Screen: 1920x1080, 1/3 (Primary), Virtual: (-1920, 0) - (5120, 1080), Work: (0, 0) - (1920, 1040)
Screen DPI: 96 (100%), twx: 15, stretch: 1
Screen Color Depth: 32
UseDPIAwareIconSizes: No, Yes
Icon Size: Small=16, Large=32
Icon Size Recommended: Small=16, Large=32
Command Line: /fresh
Command Normalized: /fresh
Code: Select all
Snip: CustomColumn 1
XYplorer 17.70.0203, 3/16/2017 10:17:10 AM
Action
ConfigureColumn
Caption
Test
Type
3
Definition
$r = rand(0,10);
if ($r == 7) {
Status "$r - you won a pizza prize!";
return ':sfs';
} else {
Status "$r - you lose!";
return ':del';
}
Format
7
Trigger
2
Item Type
2
Item Filter
Update: a dbl-click on the green icon is not opening the item, it is treated by XY like a dlb-click on "empty space". Should it be that way?autocart wrote:actually it does work here, with the mentioned versionTheQwerty wrote:Am I missing something or does this not work in v17.70.0203...
Win 8.1 x64
only a double click also opens the item (I have full row select on)