Extra column type number cell validation

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Extra column type number cell validation

Post by jupe »

I noticed that if you have an extra column of type number and input a % char (eg. cell data: 1.1%) it causes the below pictured error dialog and it keeps recurring afterwards (like if you try scroll, swap panes, even 'do nothing' etc.) so the XY session is nearly unsalvageable. I guess this is user error, but thought maybe I should mention it because you might be able to make it fail more gracefully.

Repro script for fresh; below,

Code: Select all

  goto <xypath>;
  setcolumns("Name,Extra 1");
  sel 1;
  tagitems("ex1",  "1.1%");
  extratag(1, "|1|||||||");
Alternatively, current XY instance AB launcher:

Code: Select all

::run """<xy>"" /fresh /script=""::goto '<xypath>'; setcolumns('Name,Extra 1'); sel 1; tagitems(1, '1.1%'); extratag(1, '|1|||||||');"""
2021-12-04_163933.png
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66631
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Extra column type number cell validation

Post by admin »

Indeed, fascinating! :shock: Every day brings something new...

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Extra column type number cell validation

Post by jupe »

Looks resolved, but indulge me a quick query, are the repro scripts more useful or the AB launchers? (or neither?), maybe I can only include the most useful to you in the future? or both are pointless?

admin
Site Admin
Posts: 66631
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Extra column type number cell validation

Post by admin »

repro scripts! love them! :tup:

Post Reply