[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'objpas' (#rtl)

ResourceStringCount

Return number of resource strins in table

Declaration

Source position: objpas.pp line 101

function ResourceStringCount(

  TableIndex: LongInt

):LongInt;

Description

ResourceStringCount returns the number of resourcestrings in the table with index TableIndex. The strings in a particular table are numbered from 0 to ResourceStringCount-1, i.e. they're zero based.

For an example, see GetResourceStringDefaultValue

Errors

If an invalid TableIndex is given, -1 is returned.

See also

SetResourceStrings

  

Set values of all resource strings.

GetResourceStringCurrentValue

  

Return current value of resourcestring

GetResourceStringDefaultValue

  

Return default (original) value of resourcestring

GetResourceStringHash

  

Return hash value of resource string

GetResourceStringName

  

Return name of resource string.

ResourceStringTableCount

  

Return number of resource string tables

The latest version of this document can be found at lazarus-ccr.sourceforge.net.