Hi all,
I am trying to get my head around this problem and was hoping to be given some guidance on where to start. The easiest way to envision my desired end result is this: An entire specified area is a dock zone. Splitters can be placed onto that dock zone to subdivide it. The user is able to drag-and-drop a dock onto the dock zone and have the dock autofill the area until it hits a splitter. So, for instance, if there was one splitter dividing the upper and lower halves of the dock zone, and then two vertical splitters dividing the upper and lower halves. In this way we would have 4 quadrants and a dock would be able to dock in any of these quadrants.
Now, I believe this is not possible with one dock zone (correct me if I'm wrong!). So, I believe I need to be dynamically adding a dock zone with every splitter. When the first splitter is added (to divide upper/lower), the original dock zone would shrink to half its original height, the splitter would be added to the middle, and the new dock zone would fill the lower half.
Is this about right? Do I just drop a Rad Splitter onto a page, then add a Rad Pane with a Rad Dock Zone on it to the splitter, and resize accordingly?
Sean
I am trying to get my head around this problem and was hoping to be given some guidance on where to start. The easiest way to envision my desired end result is this: An entire specified area is a dock zone. Splitters can be placed onto that dock zone to subdivide it. The user is able to drag-and-drop a dock onto the dock zone and have the dock autofill the area until it hits a splitter. So, for instance, if there was one splitter dividing the upper and lower halves of the dock zone, and then two vertical splitters dividing the upper and lower halves. In this way we would have 4 quadrants and a dock would be able to dock in any of these quadrants.
Now, I believe this is not possible with one dock zone (correct me if I'm wrong!). So, I believe I need to be dynamically adding a dock zone with every splitter. When the first splitter is added (to divide upper/lower), the original dock zone would shrink to half its original height, the splitter would be added to the middle, and the new dock zone would fill the lower half.
Is this about right? Do I just drop a Rad Splitter onto a page, then add a Rad Pane with a Rad Dock Zone on it to the splitter, and resize accordingly?
Sean