international languages with picture dbase

should we assume that the ‘@’ prefix has little or no benefit for
instance names when widgets are created from a picture dbase ?
Forgive me if this is addressed in documentation newer than ph1.13.

Regards,
Ron

Ron Groenenberg <rgroenenberg@atsautomation.com> wrote:

should we assume that the ‘@’ prefix has little or no benefit for
instance names when widgets are created from a picture dbase ?

A ‘@’ in a widget’s name prevents you from using ApCreateWidget() to
create that widget; but you can still create it as a child of another
widget, using ApCreateWidgetFamily() or ApCreateModule().


Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.

Wojtek Lerch <wojtek@qnx.com> wrote:

Ron Groenenberg <> rgroenenberg@atsautomation.com> > wrote:
should we assume that the ‘@’ prefix has little or no benefit for
instance names when widgets are created from a picture dbase ?

A ‘@’ in a widget’s name prevents you from using ApCreateWidget() to
create that widget; but you can still create it as a child of another
widget, using ApCreateWidgetFamily() or ApCreateModule().

Actually, I think I was wrong – I think ApCreateWidget() will let you
create a widget with a ‘@’ in the name.

Why exactly do you think that the ‘@’ is any less useful in a widget
database than it is anywhare else?


Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.

We have a PhAB tool that builds widgets based on a user’s choice of an
object name (user also determines qty of widgets). Since the int’l language
support seems to depend on instance names, I raised the question you
responded to. We don’t otherwise need or use instance names.
Ideally, the int’l lang support could just use a look up table of widget
text strings. It seems we’ll have to roll our own code that works this
way. i.e. cycles thru all widgets having text and does find’n’replace.

Wojtek Lerch wrote:

Wojtek Lerch <> wojtek@qnx.com> > wrote:
Ron Groenenberg <> rgroenenberg@atsautomation.com> > wrote:
should we assume that the ‘@’ prefix has little or no benefit for
instance names when widgets are created from a picture dbase ?

[snip]

Why exactly do you think that the ‘@’ is any less useful in a widget
database than it is anywhare else?


Wojtek Lerch (> wojtek@qnx.com> ) QNX Software Systems Ltd.

Ron Groenenberg <rgroenenberg@atsautomation.com> wrote:

We have a PhAB tool that builds widgets based on a user’s choice of an
object name (user also determines qty of widgets). Since the int’l language
support seems to depend on instance names, I raised the question you
responded to. We don’t otherwise need or use instance names.

In that case, they indeed don’t seem very useful to you. :wink:

Ideally, the int’l lang support could just use a look up table of widget
text strings. It seems we’ll have to roll our own code that works this
way. i.e. cycles thru all widgets having text and does find’n’replace.

The reason it uses the widget’s instance name rather than the original
string is because a string on one language can sometimes have several
different translations into another language, depending on the context.


Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.