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

Re: Allow missing components (or detect them in project)


Le 12/01/2026 à 14:52, Bruce Steers a écrit :


Eek. that last part sounds scary.
Sometimes Inheritance is just not enough.
For example my Keystroke macro recorder for TextEditor only works because i create a fake Key.class called MKey.class and use a direct copy of the View_Keypress() event modified to use MKey.class not Key.class. This cannot be done via Inheritance because the View_Keypress event contains Private variables not accessible with Inheritance.
(although i'm sure gb.form.editor isn't a dependency for anything)

Why don't you just use an event observer to catch the keyboard events on the editor?

And in that cas which private variable would you need?

--
Benoît Minisini.


Follow-Ups:
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
References:
Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Allow missing components (or detect them in project)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Allow missing components (or detect them in project)Bruce Steers <bsteers4@xxxxxxxxx>