LB-Get string

From Vectorlab
Jump to: navigation, search


Function to return the string in a LB, ignores the image (if any). By Orso B. Schmid

{ Orso ******************************************** }
{ returns string of a LB row directly }
FUNCTION LB_GetStr(d, LB: LONGINT; row, col: INTEGER): STRING;
	VAR
		temp_i : INTEGER;
		temp_s : STRING;
	BEGIN
		LB_GetStr := '';
		IF GetLBItemInfo(d, LB, row, col, temp_s, temp_i) THEN
			LB_GetStr := temp_s;
	END;