Bug fmSetHeaderColumnWidths resets on edit

Questions about our File Management and Internet FTP plug-in
Locked
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Bug fmSetHeaderColumnWidths resets on edit

Post 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
Hans-Peter
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Bug fmSetHeaderColumnWidths resets on edit

Post 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.
NeoSoft Support
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: Bug fmSetHeaderColumnWidths resets on edit

Post 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
Hans-Peter
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Bug fmSetHeaderColumnWidths resets on edit

Post 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.
NeoSoft Support
Locked