Stam.
Though I am not, on principle, against funning Richmond, I was trying to make the point that a button with its style set to "oval" is still a rectangle. It "appears" to be round, but is not.
At, say, 135° from the center, that is, toward the topLeft, and outside the visual circle, the button still exists, because the rectangle containing that visual circle is still, well, a rectangle.
When Richmond made his post, I think he was talking about a true circular object; not a visual circle drawn inside a rectangle. One is an existing native style. The other is a new native instance of a button. One merely requires a property setting and only changes the "look". The other requires fiddling with the engine.
Craig
Round Buttons?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Round Buttons?
And a widget, as has been mentioned, using LCB, is a method of "fiddling" with the engine.
Craig
Craig
-
- Livecode Opensource Backer
- Posts: 10096
- Joined: Fri Feb 19, 2010 10:17 am
Re: Round Buttons?
No, I was NOT talking about a 'genuinely' round button: so, Craig, I am sorry to have to tell you that your telepathy is slightly out of whack. 

Re: Round Buttons?
Richmond. You wrote:
When you then posited that an ordinary button can have its style property set to "oval", I simply pointed out that such a button looks round, but actually is still a rectangle, that rectangle being larger than the visible circle. One can click on four areas outside the circle and, say, a resident mouseUp handler will fire. Because the button is not actually round.
Bottom line, I somehow thought you wanted "to make new controls such as round buttons".
Telepathy?
Craig
and you posted a round image. Several here somehow took that to mean a round button, and asserted it is not possible.Is there a relatively simple way (i.e. inwith LiveCode) to make new controls such as round buttons?
When you then posited that an ordinary button can have its style property set to "oval", I simply pointed out that such a button looks round, but actually is still a rectangle, that rectangle being larger than the visible circle. One can click on four areas outside the circle and, say, a resident mouseUp handler will fire. Because the button is not actually round.
Bottom line, I somehow thought you wanted "to make new controls such as round buttons".
Telepathy?
Craig
-
- Livecode Opensource Backer
- Posts: 10096
- Joined: Fri Feb 19, 2010 10:17 am
Re: Round Buttons?
I feel that the emphasis should be on somehow.Several here somehow took that to mean a round button
- -
This gave NO indication whatsoever whether this was inwith a guiding rectangle or not
This is NOT problematic from my point of view:
-