11-12-2010, 02:27 AM
إقتباس :sample displays the file from the cursor:
يقصد عندما يكون مؤشر الفئرة فوق المكون ExFileView1 ... و ليس من سطح المكتب .
لتجريب هذه المكونات ...
ثم من الدالفى
Component --> Import Active x Control
ثم اختر ExFileView...
ثم فى حدث MouseMove
كود :
procedure TForm1.ExFileView1MouseMove(Sender: TObject; Shift: TShiftState;
X, Y: Integer);
var
f: string;
begin
f := ExFileView1.FileFromPoint[X, Y];
if Length (f) > 0 then
Caption := f;
end;
