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

Re: TestClearButton


Le samedi 03 janvier 2026 à 22:00 +0100, Benoît Minisini a écrit :
> Le 03/01/2026 à 21:28, Lee a écrit :
> > On 1/3/26 2:52 PM, Benoît Minisini wrote:
> > > It's because the ComboBox searches the clear button icon in the icon 
> > > stock, and 'gb.form.stock' is not loaded.
> > > 
> > > Maybe it should use in that case a default clear button instead of 
> > > raising an error...
> > 
> >  From what I could tell by looking at the code, it attempts to load 
> > "clear.png". And, if it not found in the current directory is moves up 
> > the directory tree trying to find it. (I'm not sure of that as I do not 
> > understand the use of SUPER in a class that inherits no parent.)
> > 
> > A /comp/src/gb.gui.base/clear.png symbolic link exists which points 
> > to ../gb.form.stock/gambas-thin/128/clear.png which also exists. If my 
> > (mis)understanding of bMoveUp and Super.Load is correct, it seems to me 
> > it should work.
> > 
> 
> The problem should be fixed by the last commits.
> 
> Regards,
> 

Well, thanks



References:
TestClearButtonCD <dessere.claude@xxxxxx>
Re: TestClearButtonLee <t.lee.davidson@xxxxxxxxx>
Re: TestClearButtonBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: TestClearButtonLee <t.lee.davidson@xxxxxxxxx>
Re: TestClearButtonBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>