If the height of a TcxScheduler control becomes too small an exception is raised: Scrollbar property out of range.
This happens if the scheduler control is configured with ViewTimeGrid active.
Attached is a simple project that demonstrates the error. As you can see, other than the time grid being active and there being 1 resource defined there is not much else going on.
To reproduce
1. Extract the source files (I included the .exe I built in case you need it)
2. Run the application
3. When the form is displayed, resize the form vertically making it (very) short (using the bottom border of the form)
4. When the form's height decreases to a point where the scheduler control is almost completely hidden, the exception is raised.
I realize I can set constraints on the form, scheduler control, etc. to prevent this situation but the form I'm using the scheduler on has multiple splitters. And the form's size and splitter positions are saved to the registry when the form closes and then restored when it is re-shown. So it would make it much easier on me if the scheduler control correctly handled the situation when it is resized and not raise exceptions.
Thank you for your help in advance,
Andy
Hello Andy,
Thank you VERY MUCH for your detailed report. I have reproduced the described behavior and forwarded this ticket to our developers for research.