[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the Foreground and Font of a control are inherited from their parent control


Le 20/02/2026 à 14:46, Bruce Steers a écrit :


On Thu, 19 Feb 2026 at 22:43, Charlie Reinl <Karl.Reinl@xxxxxxxxxx <mailto:Karl.Reinl@xxxxxxxxxx>> wrote:

    Salut,

    another problem with ‘The foreground and font of a control are
    inherited from its parent control’ on comboboxes you cannot override
    the parents foreground. After changing the foreground colour, it
    retains the parent colour (at least on Frames).
-- Amicalement
    Charlie


Hmm he's right.  but only it seems when ReadOnly is True.  both toolkits behave the same, if combobox is NOT ReadOnly it uses it's Foreground, if it is ReadOnly then it inherits the parents Foreground.

Respects
BruceS

The ComboBox behaviour has been fixed in the last commit.

Regards,

--
Benoît Minisini.