Page 1 of 1

Bug fmSetHeaderColumnWidths resets on edit

PostPosted: Sun Oct 29, 2017 3:39 am
by HPW
Hello,

Bug: When double clicking on a given fmSetHeaderColumnWidths the input wizard resets all value to default.

Code: Select all
fmSetHeaderColumnWidths "FileList" "Name=140;Size=0;Type=0;Date=100;Attributes=0;DriveName=0;DriveType=0;DriveSize=0;DriveFree=0"


Regards
Hans-Peter

Re: Bug fmSetHeaderColumnWidths resets on edit

PostPosted: Sun Oct 29, 2017 11:27 am
by Neosoft Support
Using fmSetHeaderColumnWidths sets the column widths to zero, but they're actually still part of the grid. The preferred method of hiding columns is to use DbpSetColumnOrder, leaving off the fields you don't want to be visible.

Re: Bug fmSetHeaderColumnWidths resets on edit

PostPosted: Sun Oct 29, 2017 11:35 pm
by HPW
Hello,

Is it right that DbpSetColumnOrder can be used for Neobook FM/FTP ?
Or do you mixed the commands from dbpro.
A new command for Managing visibility and order from LeftToRight would be welcomed.

Anyway the bug in the wizard remain. Also when I used non-Zero values.

Regards
Hans-Peter

Re: Bug fmSetHeaderColumnWidths resets on edit

PostPosted: Mon Oct 30, 2017 6:07 pm
by Neosoft Support
Oops! I gave you an answer for DBPro by mistake.

Of course, you're correct that the fmSetHeaderColumnWidths action seems to be resetting the default column widths. I'll make a note of it.