- This topic has 10 replies, 3 voices, and was last updated 12 years, 6 months ago by
Victor.
-
AuthorPosts
-
September 26, 2012 at 4:57 pm #35366
Victor
ParticipantHi, I'm from Argentina, I just bought AlphaSkins to add skins to my project but I'm having some troubles.
I have a TsScrollBox and I create some controls on it on runtime. When I scroll down to view the last controls, the skin background is cut. I'm attaching some pictures whit the problem.
Do I have to repaint TsScrollBox? How?
Thanks in advance
September 26, 2012 at 5:24 pm #48998Support
KeymasterHello!
You can try several ways:
1. RedrawWindow(sScrollBox1.Handle, nil, 0, RDW_ALLCHILDREN + RDW_INVALIDATE + RDW_UPDATENOW);
2. InvalidateRect(sScrollBox1.Handle, nil, False);
3. sScrollBox1.SkinData.Invalidate;
Can you make a demo for a debugging, please?
September 26, 2012 at 6:42 pm #48999Victor
Participant'Support' wrote:Hello!
You can try several ways:
1. RedrawWindow(sScrollBox1.Handle, nil, 0, RDW_ALLCHILDREN + RDW_INVALIDATE + RDW_UPDATENOW);
2. InvalidateRect(sScrollBox1.Handle, nil, False);
3. sScrollBox1.SkinData.Invalidate;
Can you make a demo for a debugging, please?
Thanks for your help. Unfortunately neither of these solutions works for me. I'm attaching a Demo project with this issue for debugging.
Please let me know if you have any news.
Thanks again and best regards
September 27, 2012 at 1:18 am #49000Hamilton
ParticipantHey Victor can you post the attachment pls?
September 27, 2012 at 1:11 pm #49001Victor
Participant'Hamilton' wrote:Hey Victor can you post the attachment pls?
Oh, sorry! Here it is.
September 28, 2012 at 2:27 am #49003Hamilton
ParticipantHola Victor,
I don't have C++ Builder so I couldn't run your demo but I did convert the core of it to Delphi and I'm unable to reproduce the problem. Can you run the exe in the attachment and confirm it looks OK on your system? If you have Delphi, are you able to compile the code and get the same result?
The problem may be specific to C++ in which case I'm unable to help. The AC team may be able to do more but they're likely to want to know your C++ and AC versions, so if you provide that it may get you a quicker result.
Sorry I can't do more. Buena suerte.
Regards,
Hamilton
September 28, 2012 at 4:27 am #49002Support
KeymasterHello Victor, thank you for the demo.
I see an issue there and I'll fix it soon.
For a quick solving this problem you can change VertScrollbar.Tracking property to True 🙂
September 28, 2012 at 12:54 pm #49011Victor
Participant'Hamilton' wrote:Hola Victor,
I don't have C++ Builder so I couldn't run your demo but I did convert the core of it to Delphi and I'm unable to reproduce the problem. Can you run the exe in the attachment and confirm it looks OK on your system? If you have Delphi, are you able to compile the code and get the same result?
The problem may be specific to C++ in which case I'm unable to help. The AC team may be able to do more but they're likely to want to know your C++ and AC versions, so if you provide that it may get you a quicker result.
Sorry I can't do more. Buena suerte.
Regards,
Hamilton
Thank you so much for your help Hamilton.
Your .exe has no problem. I have Delphi and I get same results so this may be specific to C++.
My versions are:
Embarcadero RAD Studio 2010 (C++ and Delphi)
AlphaControls 7.69
Regards.
'Support' wrote:Hello Victor, thank you for the demo.
I see an issue there and I'll fix it soon.
For a quick solving this problem you can change VertScrollbar.Tracking property to True 🙂
I changed this property but I can't see any change. I'll wait this fix.
Thanks for your quick help!
Regards,
VÃctor
September 29, 2012 at 7:32 am #49019Support
Keymaster'Victor' wrote:I changed this property but I can't see any change.It's strange, can you send me an Exe where Tracking is True, please?
PS. Another quick solution – replace TPageControl by TsPageControl component (TTabSheet too).
October 1, 2012 at 3:51 pm #49067Victor
Participant'Support' wrote:It's strange, can you send me an Exe where Tracking is True, please?
PS. Another quick solution – replace TPageControl by TsPageControl component (TTabSheet too).
Here it is. I also attach the project with Tracking in True.
Now I will probe replacing controls. I'll post if there are any news.
Thanks again
October 1, 2012 at 6:34 pm #49068Victor
Participant'Victor' wrote:Here it is. I also attach the project with Tracking in True.
Now I will probe replacing controls. I'll post if there are any news.
Thanks again
Replacing controls works perfectly. Thanks you very much!
-
AuthorPosts
- You must be logged in to reply to this topic.