كل منا يمتلك مكتبة يحتفظ فيها بالشيفرات و الامثلة و الأدوات التي
يجمعها من هنا و هناك
ٍسأحاول أن أقدم لكم ما أمكن مما تحتويه متكبتي الالكترونية
من شيفرات و أمثلة و أدوات و كتب
التلميحات
Hints:
التلميح هو رسالة تظهر عند مرور الفأرة فوق الكائن
لكن ألا يمكننا أن نصمم تلميحاتنا الخاصة و أن نظهرها في المكان الذي نريد
طبعا مع ديلفي هذا ممكن
procedure TForm1.Button1Click(Sender: TObject); var h : THintWindow; r : TRect; begin with r do begin // // set the position and size // of the hint window // left := 10; top := 50; right := 200; bottom := 100; end; h := THintWindow.Create( Self ); with h do begin // // set the background color // Color := clRed; ActivateHint( r, 'hi there!' ); // // perform your tasks here // before closing the hint window // MessageBox( 0, 'Press any key to close the ' + 'hint window', 'THintWindow', MB_OK ); ReleaseHandle; Free; end; end;
