- This topic has 11 replies, 2 voices, and was last updated 6 years, 8 months ago by
HeDiBo.
-
AuthorPosts
-
June 29, 2018 at 2:56 pm #37878
HeDiBo
ParticipantIn the accompanying project there are two buttons, one TsSpeedButton and one TacFloatBtn:
[attachment=8805:acHotTest.zip]
Both use the same TsCharImageList, containing a power off picture in default and in green color.
When the mouse hovers over the TsSpeedButton, the icon becomes green steadily.
When the mouse hovers over the TacFloatBtn, the icon starts to flicker between black and green. It looks like it only becomes green when the mouse is on a colored pixel, not when it is on the surrounding (invisible) button.
July 8, 2018 at 11:16 am #58100Support
KeymasterThank you for the demo.
FloatButton is fully transparent there (for mouse too), except of glyph pixels.
July 8, 2018 at 11:22 am #58103HeDiBo
Participant'Support' wrote:Thank you for the demo.
FloatButton is fully transparent there (for mouse too), except of glyph pixels.
That means it cannot be clicked reliably. That cannot be the way it's meant.
July 8, 2018 at 11:36 am #58105Support
KeymasterYes, this button should not be transparent in your case.
Transparent mode may be used for showing of images where transparent pixels are transparent for mouse (not rectangle region).
If all pixels are not transparent for mouse then control will be pressed if you click on transparent corner pixels, it will looks weird, I think.
July 8, 2018 at 3:31 pm #58108HeDiBo
Participant'Support' wrote:Yes, this button should not be transparent in your case.
Transparent mode may be used for showing of images where transparent pixels are transparent for mouse (not rectangle region).
If all pixels are not transparent for mouse then control will be pressed if you click on transparent corner pixels, it will looks weird, I think.
You're giving a technical response. None of my users will understand that. As it is now, I don't think it can get any weirder 💥
July 9, 2018 at 7:04 am #58111Support
KeymasterI can add an additional property which will disable transparency of pixels for mouse, but don't know how to name it.
July 9, 2018 at 9:01 am #58114HeDiBo
Participant'Support' wrote:I can add an additional property which will disable transparency of pixels for mouse, but don't know how to name it.
MouseSensitive? (Values High or Low maybe)
July 9, 2018 at 12:46 pm #58119Support
Keymaster'HeDiBo' wrote:MouseSensitive? (Values High or Low maybe)
Not very speaking name, I think. Because button is mousesensitive always (if enabled).
Maybe AllowMouseTransparency is better..
July 9, 2018 at 12:52 pm #58096HeDiBo
Participant'Support' wrote:Not very speaking name, I think. Because button is mousesensitive always (if enabled).
Maybe AllowMouseTransparency is better..
I specifically said High and Low. Because with transparent pixels not hittable, sensitivity is Low (not absent, just lower than high sensitivity). So button is mouse sensitive always, just in different degrees.
July 17, 2018 at 11:37 am #58170HeDiBo
ParticipantNo change in AC 13.17
July 17, 2018 at 2:56 pm #58180Support
KeymasterSorry, this feature will be added later.
July 28, 2018 at 9:57 pm #58247HeDiBo
Participant'HeDiBo' wrote:I specifically said High and Low. Because with transparent pixels not hittable, sensitivity is Low (not absent, just lower than high sensitivity). So button is mouse sensitive always, just in different degrees.
It works. It is sufficient for my needs.
I think the property name is very silly (AllowMouseTransparency means that the mouse itself can be transparent).
Why did you not decide for MouseSensitivity being a [Low, High] selection. Believe me, that's much more descriptive.
I looked for the property in the TsFloatButton, but didn't find it. Why did you decide to give the whole group this property. It seems more related to individual buttons, isn't it?
But, again it works very well.
-
AuthorPosts
- You must be logged in to reply to this topic.