[Gambas-devel] TabStrip bug?

Daniel Campos daniel.campos at ...103...
Sat Feb 19 16:32:15 CET 2005


Hi Benoît:

I do not understand very well the "Current" property from TabStrip control.
The code returns the object itself:

BEGIN_PROPERTY(CTABSTRIP_current)

  THIS->index = WIDGET->currentPageIndex();
  RETURN_SELF();

END_PROPERTY

However the property is defined as:

GB_PROPERTY_READ("Current", "i", CTABSTRIP_current),

It returns a reference to the object as an integer ?????

I think this is a bug, and should be replaced as:

GB_PROPERTY_READ("Current", ".Tab", CTABSTRIP_current),


Is this true?


Regards,

D. Campos





More information about the Devel mailing list