Arsip: eksekusi onmouseenter Timage?

 
user image
more 14 years ago

ianhade

tmn2 mo minta bantuan nih. sy lagi buat program yang mengcreate image ketika runtime, dan pada saat runtime bisa dilakukan pengubahan property&event komponen image tsb. misal :

gbr:=TImage.Create(form1);
with gbr do
begin
  Visible:=True;
  Left:=X;
  Top:=Y;
  Picture.LoadFromFile('images/note.bmp');
  Name:=newKd;
  Parent:=ScrollBox1;
  Transparent:=True;
  //OnMouseEnter:=ShowInfo(newKd); ???
end;
nah yang sy bingung ketika membuat event OnMouseEnter cara ngisinya gmana ya? sy ingin bs mengeksekusi prosedur showinfo.
user image
more 14 years ago

ianhade

jawabnnya dah ketemu(dijawab sendiri hehe), cuma deklarasi procedure nya aja yg diubah.... syntax dasar dr help. type TNotifyEvent = procedure (Sender: TObject) of object;
user image
more 14 years ago

DelphiExpert

Maaf telat menanggapi: hihihi :mrgreen:
user image
more 14 years ago

ianhade

ga pa2 hehe... :D yg penting dah ketemu solusinya, nanya sndri djwb sndiri hihihi. pgn bantu jg jwb thread tmn2 yg laen, tp blum bs sehebat momod disini hehe. jd cuma br bs nanya. thx.
more ...
  • Pages:
  • 1
Share to

Random Topic

Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com