- This topic has 8 replies, 2 voices, and was last updated 8 years, 12 months ago by Support.
-
AuthorPosts
-
November 9, 2015 at 10:08 am #36746ScurraParticipant
Hi,
I have a problem with the TsCombobox (AlphaControls version 10.19). A demo-project is attached.
Description of my problem:
Click on Button1. Then a gray TsPanel becomes visible. When the cursor enters that panel, a combobox becomes visible, when you exit it, the combobox becomes invisible etc. Now, the problem is, that when you enter the panel “fast” (from the top) such that the cursor is above the combobox, then the text within the combobox is not dispayed. It looks like that the inner part of the combobox becomes invisible because when a label is placed behind the combobox, this label can be seen even the combobox is in front of it.
First, I expected it to be an error in my code but when I set the skin-managers property active to false, the problem does not occur anymore.
Do not forget to adjust the skin-directory property of the skin-manager 🙂 I simplyfied the skin as much as possible.
Can you please have a look at it? Thank you in advance.
November 9, 2015 at 10:39 am #54294ScurraParticipantHi again,
I found another display-bug which can be tested with my demo-application:
Add a timer (timer1) to Unit 1 and set the following timer procedure:
Code:procedure TForm1.Timer1Timer(Sender: TObject);
begin
if sComboBox1.ItemIndex = 0 then
sComboBox1.ItemIndex := 1
else
sComboBox1.ItemIndex := 0;
end;When the ItemIndex = 1 and you move the cursor from the combobox to the gray panel, then the itemindex is set to 0. This causes a display-bug in the combobox. “Item0” and “Item1” is shown at the same time.
November 16, 2015 at 8:45 am #54326SupportKeymasterHello! Thank you for the demo.
I see that parent controls are not skinned there. I think, it's a reason of the problem, because some service messages are not broadcasted to child controls.
Can you add support of skins to the parent windows?
November 16, 2015 at 12:16 pm #54334ScurraParticipantHow to skin the parent controls? By setting the Property SkinData.SkinSection of these controls? That did not solve the problem.
Can you modify my demo-app such that the problems do not occur anymore?
November 17, 2015 at 7:24 pm #54340SupportKeymasterHello again!
I have found that reason of this issue is in animation of controls.
You can fix it quickly by disabling the sSkinManager1.Effects.AllowAnimation property.
I will try to find a stable solution for this issue.
November 18, 2015 at 9:35 am #54344ScurraParticipantThank you! I will wait for a stable solution for this problem 🙂
November 24, 2015 at 2:48 pm #54364SupportKeymasterYou can check it in the AlphaControls v10.21
November 27, 2015 at 8:21 am #54376ScurraParticipantIn the demo-application: The bug with invisible text is vanished but the Bug that “Item 0” and “Item 1” are shown at the same time can still be reproduced. Can you please check again? Thank you 🙂
In my “real” application both bugs are still present 🙁
Only when I set sSkinManager1.Effects.AllowAnimation to false, the problem is fixed. I do not want to change any property as I do not know if it affects other parts of the application.
November 30, 2015 at 8:09 am #54412SupportKeymasterI think, I have found a reason of the problem. Please, wait the v10.22 and try it.
-
AuthorPosts
- You must be logged in to reply to this topic.