Re: Snapshot question

2024-05-31 Thread Neville Smythe via use-livecode
Many thanks Craig and Bernd for your suggestions Craig: Unfortunately the docs say revRotatePoly only works with lines, curves and polygons Bernd: Oh! Yes, exporting as png does work to give transparent corner bits! Obvious now! I think I had briefly considered this and rejected it because at

Re: Hierarchical submenus in option menu buttons

2024-05-31 Thread Bob Sneidar via use-livecode
You are correct. Essentially, any menu that offers a list of strings to display on the menu button itself cannot use submenus. It makes sense really. I’ve never seen an option menu in any other application that allows a submenu choice. Bob S > On May 31, 2024, at 6:23 AM, Craig Newman via

Re: Snapshot question

2024-05-31 Thread Craig Newman via use-livecode
AHA, now I remember. Try the “revRotatePoly” command. That seems to work with any graphic. Craig > On May 31, 2024, at 9:32 AM, Craig Newman via use-livecode > wrote: > > I think that only a “regular” polygon graphic can be rotated by setting its > “angle” property.That means that a

Re: Snapshot question

2024-05-31 Thread Craig Newman via use-livecode
I think that only a “regular” polygon graphic can be rotated by setting its “angle” property.That means that a roundRect or rectangular graphic do not respond at all. LC will not throw an error, and the property sticks, but the arc itself does not change.. I could be wrong about all this.

Re: Hierarchical submenus in option menu buttons

2024-05-31 Thread Craig Newman via use-livecode
Hi. I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. Craig > On May 31, 2024, at 5:32 AM, jbv via use-livecode > wrote: > > Hi list, > > I am trying to create a hierarchical submenu in an option menu button > with LC 9.6.

Hierarchical submenus in option menu buttons

2024-05-31 Thread jbv via use-livecode
Hi list, I am trying to create a hierarchical submenu in an option menu button with LC 9.6. I have found this solution that seems to work only with pulldown buttons : https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu I also found this LC lesson that suggests to use polylists :

Re: Snapshot question

2024-05-31 Thread Niggemann, Bernd via use-livecode
Export snapshot from object gives a nice image that can serve in place of the graphic except that it has black spots at each corner outside the rounded frame Have you tried as "png"? It should make the black corners transparent. export snapshot from graphic "g1" to image "iDest" as png Kind