Hi everybody,
I want to draw some rectangles from right to left on a Panel wich is on TabControl
TabControl.RightToLeft : yes
TabControl.RightToLeftLayout : true
I use :
Point.Location= new system.drawing.point(x,y);
Point.size=new system.drawing.size(width, height)
these rectangles must be drawn from right to left according with TabControl, with certainly a loop for
Thank you very much for your help
Loading

Danatas GerviRank #4,152 · 361 reputationPosted Jul 30, 2009, 5:11 AM EDT
I try to show only prinsipal solution.
Here is more common version:
Danatas GerviRank #4,152 · 361 reputationPosted Jul 28, 2009, 10:27 PM EDT
Danatas GerviRank #4,152 · 361 reputationPosted Jul 28, 2009, 10:33 PM EDT
A D6 reputationPosted Jul 30, 2009, 2:17 AM EDT
A D6 reputationPosted Jul 31, 2009, 12:15 AM EDT
Thank you very much, it works very well.
I have added a Splitter (Dock.right) just before my tabPage and when the splitter moves the rectangle drawn on the tabPage desappears.
I think I must add some thing about the splitter x coordinate to counter this problem
Thank you for your help