ApGetTextRes()
Get a translated text string from a widget database
Synopsis:
#include <Ap.h>
char *ApGetTextRes( ApDBase_t const *db,
char const *name );
Description:
ApGetTextRes() extracts the translated text string from the database identified by db using name as the widget instance name identifier.
Returns:
The translated text string if successful, NULL if not found, or name or db if invalid.
Examples:
ApDBase_t *mydbase; char *string; mydbase = ApOpenDBase( ABM_mypicture); string = ApGetTextRes( mydbase, "msg1" );
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
ApGetBitmapRes(), ApGetImageRes(), ApOpenDBase(), ApOpenDBaseFile()
Accessing PhAB Modules from Code chapter of the Photon Programmer's Guide
