TOlf FMXText Image Frame .get Image Index Of Char Method
Returns the index of the char in the image list. If it's not found this function can call the OnGetImageIndexOfUnknowCharIfNotFound event or do a default character swap to find the good one.
function getImageIndexOfChar(AChar: string; CallOnGetImageIndexOfUnknowCharIfNotFound: boolean): integer
Parameters
- AChar
- Type: System.string
- CallOnGetImageIndexOfUnknowCharIfNotFound
- Type: System.Boolean
Return Value
Type: System.Integer
Don't use True for CallOnGetImageIndexOfUnknowCharIfNotFound in your OnGetImageIndexOfUnknowCharIfNotFound events or you'll have infinite loops.