WinFBE 1.7.3 - Buttons

Started by SeaVipe, August 10, 2018, 06:50:49 PM

Previous topic - Next topic

SeaVipe

Hi Paul,
When a button control is set to ThemeSupport = False and the BackColor is set to the same colour as the form the border is not visible until the button gets focus. With focus (tabbing to the button for example) the border is visible and so is the focus rectangle. Tab away and all that is left is the button text (assuming the text is a different colour) is this by design or is there a way to include/exclude a border when ThemeSupport is False? (Mouse Over has no effect on the button in this configuration.)

Except in the case of a Form, setting a control's Locked value to True causes a compiler "error 18: Element not defined, Locked"

More observations:

ShowInTaskBar not yet enabled.

MultiLine not yet implemented.

TextAlign property:

Regardless of the setting in the designer, alignment defaults to middle centre at runtime.

With ThemeSupport = False, all Left and Right settings are reversed (for Top, Middle and Bottom)
Clive Richey

Paul Squires

Hi Clive,

I will leave your first question for Jose to comment on as he designed the Button control and I don't want to modify it without his direction.

I have fixed the other "More observations". The fixes will be in the next upload.
Paul Squires
PlanetSquires Software

SeaVipe

Thanks, Paul, too busy typing! Yes, a José question.
Clive Richey

José Roca

Fixed the border. I don't know what he means with"Mouse Over has no effect on the button in this configuration".

SeaVipe

Thanks, José,
Dragging the mouse pointer over a button with the ThemeSupport set to True highlights the button as long as the mouse pointer stays over the button. Not the same if ThemeSupport is set to False.
Clive Richey

José Roca

Ok. Now, when the mouse is hovering the button, it will be redrawn with the color selected for ButtonBkColorDown.

SeaVipe

Clive Richey