Wewt solution:
SCAR Code:friendChars := LoadChars2(AppPath + '\Fonts\friendChars\');
textBMP := CreateBitmapMaskFromText('TEXT', friendChars);
if FindBitmapMaskTolerance(textBMP, x, y, 0, 0, x1, y1, x2, y2) then
//do what you want when text is found







Reply With Quote
