Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rounded rectangles and buttons
#3
(04-29-2022, 10:09 PM)bplus Wrote: Ha! Great minds think alike! I posted similar, in fact, this post had me go back and check if mine did width and height of rounded button / frame, it did but I posted older code for the demo which had to be replaced. We did approach the building of the shape differently.

https://qb64phoenix.com/forum/showthread...18#pid1218

I spotted yours just before I posted mine and almost didn't post mine. But different enough so posted it.

I had a devil of a time getting the rounded rectangles to work until I realized it was safer and easier to draw from a defined top left corner and then build out with width and height that way x2 is always right of x1 and  y2 is always down from y1.
Reply


Messages In This Thread
RE: rounded rectangles and buttons - by bplus - 04-29-2022, 10:09 PM
RE: rounded rectangles and buttons - by James D Jarvis - 04-29-2022, 10:29 PM
RE: rounded rectangles and buttons - by Pete - 04-29-2022, 11:34 PM
RE: rounded rectangles and buttons - by bplus - 04-30-2022, 01:51 AM



Users browsing this thread: 3 Guest(s)