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