[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: evenment fonction handle
[Thread Prev] | [Thread Next]
- Subject: Re: evenment fonction handle
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Sun, 24 Aug 2025 08:42:07 -0400
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 8/24/25 4:17 AM, Fabien Bodard wrote:
Hi, How can I know if a function handle has been set in the parent class ? I meen ... is it this way ? if object.class(object.parent(me)).exist(...) ? then or there is another way. I need to test it to know if I use a default function instead. Thank you
Object.Parent(me) is going to give you the default event observer "me" is attached to, not its parent (inherited) class. I think what you need is Object.Class(me).Parent.Exist(...) ' Note: not tested. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
evenment fonction handle | Fabien Bodard <gambas.fr@xxxxxxxxx> |