On Mon, 2 Nov 2015 13:02:14 +0100
Luca Olivetti wrote:
>[...]
> > The IDE does not know about your new class.
> > You need to unregister the old and register the new.
>
> it doesn't matter: the ide uses the old class, but the unit (and the
> grid) will see the new one.
> It's a hack, really, wh
El 02/11/15 a les 12:36, Mattias Gaertner ha escrit:
On Mon, 2 Nov 2015 10:52:25 +
Tony Whyman wrote:
Ah, but then you can't edit it in the IDE.
The IDE does not know about your new class.
You need to unregister the old and register the new.
it doesn't matter: the ide uses the old clas
On Mon, 2 Nov 2015 10:52:25 +
Tony Whyman wrote:
> Ah, but then you can't edit it in the IDE.
The IDE does not know about your new class.
You need to unregister the old and register the new.
Mattias
--
___
Lazarus mailing list
Lazarus@lists.lazar
El 02/11/15 a les 11:24, Tony Whyman ha escrit:
Luca,
Intercept classes are a very useful technique for overcoming this
problem. I recently wanted to have a specialised TComboBox as a
TStringGrid Editor and defined an intercept class for this as:
Yes, I used similar hacks in the past (just las
El 02/11/15 a les 11:12, Luca Olivetti ha escrit:
Hello,
I constantly stumble with the behaviour of the TDBGrid.
I understand that it's a complex component, but every time I find an
issue an Luiz fixes it, two more pop up (or an older one resurfaces).
The latest episode of the saga is the futili
Ah, but then you can't edit it in the IDE.
OK, intercept classes are a quick and dirty way of avoiding defining a
new component - but as long as you are willing to "hold your nose", they
do a useful job.
On 02/11/15 10:49, Mattias Gaertner wrote:
Reintroducing 'TComboBox' can confuse users o
On Mon, 2 Nov 2015 10:24:20 +
Tony Whyman wrote:
>[...]
> Intercept classes are a very useful technique for overcoming this
> problem. I recently wanted to have a specialised TComboBox as a
> TStringGrid Editor and defined an intercept class for this as:
>
> TComboBox = class(stdctrls.TCom
Luca,
Intercept classes are a very useful technique for overcoming this
problem. I recently wanted to have a specialised TComboBox as a
TStringGrid Editor and defined an intercept class for this as:
TComboBox = class(stdctrls.TComboBox)
private
FGrid: TCustomGrid;
FCol,FRow: Integer
Hello,
I constantly stumble with the behaviour of the TDBGrid.
I understand that it's a complex component, but every time I find an
issue an Luiz fixes it, two more pop up (or an older one resurfaces).
The latest episode of the saga is the futility of using a custom editor
(with OnSelectEditor)