Couple of (OK, three) splitter questions:
1) I put a grid in a splitter, and, for reference, drew a 400 pixel-wide panel under the splitter, left-aligned with the splitter. I also put a button on the form that pops up a messagebox showing the value of SplitterControl1.HSplitPos. When I run the app, and align the vertical splitter as best I can with the righthand end of the reference panel, and click the button, the messagebox reports that the value for SplitterControl1.HSplitPos is 58 - pretty far from the 400 I'd expect. So, what is SplitterControl1.HSplitPos actually measuring?
2) If I split the grid vertically (as above), can I eliminate the horizontal scrollbar from one of the panes?
3) Can I make the splitter bar move smoothly, as opposed to the default snapping to a grid?
- Ivan Pelly
ADAdministrator Syncfusion Team November 22, 2002 10:14 AM
1) The units are percentages of width (or height). So, you should see values in the range from 0 to 100. The help description for the property does say pixels, but that is a mistake. We will get that corrected.
2) There is no way to hide a scrollbar in our dynamic splitter.
3) I may be misunderstanding what you are describing, but I do not see this behavior. If I open the Splitter sample that ships with Essential Grid, the splitters can be positioned at any point, and don't snap to any particular position. If you can described how I can see this behavior in the Splitter sample, then maybe I can suggest something.
IPIvan PellyNovember 22, 2002 11:42 AM
1) I think a pixels setting would be as, if not more useful. Since percentage is an integer, on a 600 pixel wide grid, you can only position the splitter bar to the nearest 6 pixels. Even more useful would me a mode where the splitter bar snaps to the nearest column boundary (like ComponentOne and Excel).
2) Bummer. The ability to hide would be good. The ability to split multiple times in the same direction would be good, too (like ComponentOne).
3) It seems that, based on my observation, that when dragging the splitterbar, it jumps in 1% increments. If you make the grid big, you see the jumps better.
ADAdministrator Syncfusion Team November 22, 2002 03:36 PM
your suggestions make sense. I'll log them and we'll address this suggestions in future. But, give us some time.