Home > Software engineering >  Please ask mshflexgrid fixed line problem
Please ask mshflexgrid fixed line problem

Time:10-04

Vb mshflexgrid fixed in the first line, scroll the scroll bar, the first line of the fixed
Now I want to make the second line motionless, on the second line is not fixed, how to implement,

CodePudding user response:

Let the line 2 is fixed, and then modify the appearance make it look like other businesses without a fixed line...

CodePudding user response:

I don't want to put the second line set fixed line, is there any way to make the fixed line as the scroll bar to move

CodePudding user response:

refer to the second floor u013709848 response:
I don't want to put the second line set fixed line, is there any way to make the fixed line moved along with scroll bar


Don't want to "why"? This seems to have no reason to.

CodePudding user response:

1 write a Grid control,

2 with multiple control assembly, use two MSHFlexGrid, for example, only two lines, one of the above displays a header and the first row, the first two rows are a cover below,

CodePudding user response:

There is no other way, make a line under the condition of not fixed line not moved along with scroll bar

CodePudding user response:

If you are idle egg hurts, rewrite the mousewheel message...

CodePudding user response:

You this article "the second line is not fixed" baffled himself, in fact, you can set up 2 line fixed line, and then get the second row of the background color Settings and other non fixed line,
  • Related