Re: Coloured button background

2016-09-02 Thread Kirk Brooks
Mitch, It's easy to roll your own menus on the fly for buttons or anything else for that matter. I have dozens of them. For simple lists I use the popup menu command: $menu:="Item 1;Item2;Item3" $result:=Pop up menu($menu) Case of : ($result>0) // do something End case For more involved

Re: Coloured button background

2016-09-01 Thread Jody Bevan
Mitch: I think the way to get all that you want is to create an SVG object. Within this Object we had a two column pallet of buttons, where the users could: change the colours, and on the fly we could change background colour, text colour, text style. They could have popular or not on the fly.

Re: Coloured button background

2016-09-01 Thread Mitchell Shiller
Merci Arnaud… mais (but) Custom buttons do not allow you to have a popup menu feature. So I can get most of what I want but not all. BTW, it is not to hard to create my own- using a text variable and the form events:On Mouse Enter, On Mouse Leave and On Clicked. I can create a highlight

Re: Coloured button background

2016-09-01 Thread Arnaud de Montard
> Le 1 sept. 2016 à 04:30, Mitchell Shiller a écrit : > > Thanks Tom. > > What I learned is that OBJECT SET COLOR works with regular buttons as your > demo shows. > However, it does not work with 3D Buttons. I want to display an icon at the > same time. > So I will

Re: Coloured button background

2016-08-31 Thread Mitchell Shiller
Thanks Tom. What I learned is that OBJECT SET COLOR works with regular buttons as your demo shows. However, it does not work with 3D Buttons. I want to display an icon at the same time. So I will roll my own. Mitch ** 4D

Re: Coloured button background

2016-08-31 Thread Tom DeMeo
Hi Mitch, Not sure what the problem is. I created a demo. Download the link below. It has one project form with one button, with the object’s Appearance Platform set to “Printing". I change the color on load in the object method of the button. It works for me in 15 on OSX and Windows.

Re: Coloured button background

2016-08-29 Thread Tom DeMeo
Hi, If you set the platform to Printing on the Appearance/Platform setting, you lose the gradation and can set the color using object commands Tom DeMeo > On Aug 29, 2016, at 3:00 PM,Mitchell Shiller wrote: > > Hi, > > I would like to create a toolbar with buttons that have a custom

Coloured button background

2016-08-28 Thread Mitchell Shiller
Hi, I would like to create a toolbar with buttons that have a custom color background but also can have the pop up menu property. (As seen on many web layouts). Object Set Rgb Color does not allow me to change the background color of buttons, just the text color. If I use a custom button