#Can't Set SelStartCol: 0
5 messages in this thread
Jonathan:
Do you have any idea why I get "User-Defined Error" trying to set a grid's
SelStartCol to 0?
Without this, I have trouble moving big blocks around using Clip as
described by Jim Dolson.
I'll ask him too; maybe his sample code was wrong.
Thanks,
Jack
There is 1 Reply.
Jack,
Is Col 1 defined as non-scrollable? If so, that is probably the
problem and you should start your select with Col 2. -=- Jonathan
There is 1 Reply.
"..Is Col 1 defined as non-scrollable?.."
Jonathan:
I'm not sure what you mean by non-scrollable. Do you mean is the Fixed
Cols setting set to 1? If so, yes; should it not be?
I was talking about column 0, the shaded one: this is where I'm showing
the record number for a database table display, and I want to move them all
up one when a record is deleted. I can't start col 0 with SelStartCol,
because I get an error message.
Thanks for getting back to me so fast; I hoped I've explained the question
more clearly.
Jack
There is 1 Reply.
Jack,
I understood the question but I was a little crytic in my response.
If you have FixedCols set to 1 (meaning that Col 0 is "locked") than you
cannot select any cels in that column. Remember that selection, while
providing the idea way to load/move data in the grid, is meant to be a user
action. As such, selection outside the "workspace" is not permitted. You
should try to set FixedCols = 0 before making your move and then set it
back when you are done. Help? -=- Jonathan
There is 1 Reply.
JZ:
Thanks: I hadn't known the meaning of FixedCols before!
Jack