SRL Archive - SRL Archives

Function IsUpTextAcc


Dark_Sniper

2006-06-14 19:20:48

….. somtimes text doesent work for me so i have to use all is up text procedures just to make it more acc well i got tired of writing them all out so :p i made this function :p



Function IsUpTextAcc(Text : String) : Boolean;
begin
if (Option2 ( Text )) or
(GetOption = Text ) or
(GetUpText = Text ) or
(ReadUpText ( Text )) or
(IsUpText ( Text )) then
Result:=True;
end;

XxKanexX

2006-06-15 02:17:00

Option 2 always works perfect for me. Just aslong as there isn't a white background or something that is in tolerance with the text's color you should be fine with it.

IsUpText normally results as true alot, even if the text isn't there. Might be fixed now, but it did this to me and Pyro.