- This topic has 7 replies, 3 voices, and was last updated 14 years, 3 months ago by OldGrumpy.
-
AuthorPosts
-
July 19, 2010 at 12:50 pm #33871HeDiBoParticipant
In certain situations, a TsBevel will make a TsSpeedbutton non-selectable. In the following image, the buttons “Status” and “Fouten” are not selectable (and therefore cannot be clicked). Removal of the TsBevel restores their normal behavior.
[attachment=4053:Cannot_Click.jpg]
This is a test project, that illustrates this:
[attachment=4054:BevelBug.rar]
I really need a quick fix for this, Serge
July 19, 2010 at 2:04 pm #42963SupportKeymasterIt's not a bug, you have placed the Bevel over buttons.
July 19, 2010 at 2:17 pm #42965HeDiBoParticipantQUOTE (Support @ Jul 19 2010, 03:04 PM) <{POST_SNAPBACK}>It's not a bug, you have placed the Bevel over buttons. Bevels should get a lower z-order than the components they enclose automatically. Try it: you'll see that with standard components it's impossible to get them in the wrong z-order. Even if you say Bring To Front for a TBevel, it will still go below the enclosing components.At least, that's what I experienced
July 19, 2010 at 2:24 pm #42968SupportKeymasterSorry, but I meant BringToFront for buttons.
And I have checked this situation with standard controls before posting too.Step 1. Place TSpeedButton on form
Step 2. Place TBevel over this button
Button will not be accessible in the design-time, even while TBevel is placed over him. <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />July 19, 2010 at 2:28 pm #42969HeDiBoParticipantSorry, but I meant BringToFront for buttons.
And I have checked this situation with standard controls before posting too.Step 1. Place TSpeedButton on form
Step 2. Place TBevel over this button
Button will not be accessible in the design-time, even while TBevel is placed over him. <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />That's true. But run that application. Now you can select and click the button!
Well, at least in my system I can. <img src="style_emoticons//wacko.gif” style=”vertical-align:middle” emoid=”:wacko:” border=”0″ alt=”wacko.gif” />
July 19, 2010 at 2:42 pm #42676SupportKeymasterLook on the attached project.
Part of button, which is under bevel, is not accessible. You have other result? %)July 19, 2010 at 2:49 pm #42678HeDiBoParticipantQUOTE (Support @ Jul 19 2010, 03:42 PM) <{POST_SNAPBACK}>Look on the attached project.
Part of button, which is under bevel, is not accessible. You have other result? %)
You're absolutely rightJuly 20, 2010 at 2:34 pm #42978OldGrumpyParticipantHint: One does have a window handle, the other does not. I've had my share of headaches with the handle-less VCL controls
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)- You must be logged in to reply to this topic.