SRV and TabSheet

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
gotoxy
Posts: 29
Joined: Tue Jun 16, 2009 6:44 pm

SRV and TabSheet

Post by gotoxy »

Is it only me or others are getting range check error when dropping a SRV into a TTabSheet of a TPageControl.


How to reproduce:
1. Create a new Application VCL
2. Drop a TPageControl
3. Add a Page
5. Drop SRV into the tabsheet
6. Set Align to alClient of the SRV
7. Run and get the error

How i did come to that, is im getting drawing issue in my software where i dock the SRV in real time to a TPageControl. the 2 Scrollbar are redrawn in black and i have to pass my mouse over to get it refreshed. Initially i use TAdvPageControl so i though i could have been a parent redraw error, but i cant get my test to run because of the range check error.

Screen shot of the issue with painting:
Image

Thanks for your time
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Can you create a simple project to reproduce, preferable without thirdparty controls?
gotoxy
Posts: 29
Joined: Tue Jun 16, 2009 6:44 pm

Post by gotoxy »

How to reproduce:
1. Create a new Application VCL
2. Drop a TPageControl
3. Add a Page
5. Drop SRV into the tabsheet
6. Set Align to alClient of the SRV
7. Run and get the error
There is no third party controls.

and if your request about the application was about the scrollbar refresh issue, well
but i cant get my test to run because of the range check error.
Thanks again to take your time

GoToXY
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

It will be fixed in the next update.
Meanwhile, turn off range checking in the project options.
gotoxy
Posts: 29
Joined: Tue Jun 16, 2009 6:44 pm

Post by gotoxy »

ok thx
Post Reply