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

ResourceStringCount

Return number of resource strins in table

Declaration

Source position: objpas.pp line 80

function ResourceStringCount(

  TableIndex: LongInt

):LongInt;

Description

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

For an example, see GetResourceStringDefaultValue

Errors

If an invalid TableIndexis given, -1is 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