[Gambas-user] Obj Name property not passed to completed app

Benoit Minisini gambas at ...1...
Thu Aug 30 01:06:14 CEST 2007


On mercredi 29 août 2007, Harvey, Lewis (Contractor) wrote:
> In my automation effort I see that Gambas has an object property called
> name.  But in when automation the tool captures the object properties
> and the name is always unnamed.  And it does not matter what I set the
> name to inside of Gambas when creating my app it is not passed all the
> way through to the resulting object on my application.  Does anyone know
> how I can set the name property so that it is passed all the way through
> Qt and to the resulting object in my application?  The same for group
> and caption?

The "Name" property is a Gambas property, it has nothing to do with the widget 
name Qt property. (hopefully, as these names are used by the Qt & KDE 
libraries, so you should not touch them).

The "(Group)" property is syntactic sugar from the IDE, it does not exist in 
Gambas at all.

As for the 'Caption' property, which is a synonymous of the 'Text' property, 
it is usually reflect in an equivalent Qt widget properties. But it depends 
on the Gambas control.

Regards,

-- 
Benoit Minisini




More information about the User mailing list