Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference

> ## buildWidgetTable

> This procedure builds a temp-table of widgets that might require translation by walking the widget tree for the given frame handle. It does not actually do the translation. The temp-table must then be passed to the `translateWidgetTable` procedure for subsequent translation.

> If the window handle is known and passed in, then an entry is created in the temp-table for the window translation. If the object name is passed in as blank, then only translations for the objects in the window are retrieved.

> Location: af\app\aftrnmngrp.i

> Parameters:

> `INPUT pcObjectName AS CHARACTER`

> The object name, with path stripped if passed in. Blank = all.

> `INPUT pdLanguageObj AS DECIMAL`

> The language object number, or 0 for the login language.

> `INPUT phWindow AS HANDLE`

> The window handle (`CURRENT-WINDOW`), if title translation required.

> `INPUT phFrame AS HANDLE`

> The frame handle (`FRAME {&FRAME-NAME}:HANDLE`).

> `OUTPUT TABLE FOR ttTranslate`

> The temp-table of widgets for translation.

> Notes: Since the frame handle is not available on the server, this procedure is only valid when run on the client.

> Examples: See the `buildTranslations` procedure in `af\cod2\aftemlognw.w`.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095