PDA

View Full Version : How to freeze a column in a dblist?



Michel Boisvert
7-Feb-2005, 08:23 AM
Hi all

I have a very large (many columns) dblist and would like the first column to
be always visible when the user scroll horizontally.

How can I do that?

thanks,

Michel

Peter Donovan
7-Feb-2005, 09:23 AM
Bonjour Michel,
You can make 2 seperate controls for the same file.field in a view with no
problem.
Therefore, why don't you create a dbform and position it to the left of the
dbgrid to hold the value in addition to having it in the dbgrid?
You will have to make it enabled_state to false and a direct server to the
ddo for the dbgrid to work out ok.
Regards,
Peter Donovan
Sonata Software
www.sonatasoftware.us

Ian Telfer
7-Feb-2005, 04:58 PM
Michel,

There was a discussion about this a long time ago in this NG, and I
think some code as well. Basically augmenting the scroll options to set
columns 2-x to a width of zero, instead of scrolling.

Not much help, but something to work with.

Ian

Michel Boisvert wrote:
> Hi all
>
> I have a very large (many columns) dblist and would like the first column to
> be always visible when the user scroll horizontally.
>
> How can I do that?
>
> thanks,
>
> Michel
>
>