Einhugur Framework for C++

Application.GetString Method

Gets a localized string from the Application Bundle.

public String GetString(
   String key)

Parameters

key
The key to fetch translation for.

Returns

String
A localized value as String.

Remarks

Example of putting a localized string on a PushButton when creating the button:

pushButton3 = new PushButton(groupBox1, CGRectMake(155,90,130,20), App->GetString(CFSTR("ShowAppPath")) ,false ,false );
pushButton3->ClickEvent.Bind(this,&Window1::pushButton3_Click);

See Also

Application Class