TOlfFMXTextImageFrame.getImageIndexOfChar Method
Definition
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.
Delphi
function getImageIndexOfChar(AChar: string; CallOnGetImageIndexOfUnknowCharIfNotFound: boolean = False): integer
Parameters
- AChar
- string
- CallOnGetImageIndexOfUnknowCharIfNotFound
- Boolean
Returns
Integer
Remarks
Don't use True for CallOnGetImageIndexOfUnknowCharIfNotFound in your OnGetImageIndexOfUnknowCharIfNotFound events or you'll have infinite loops.