Jump to content

X,y Koordinat


korasoglu
 Share

Recommended Posts

Arkadaşlar aşağıdaki örneği nesne üzerinden değilde maus ilgili koordinatlara gelince yapmasını istiyorm.

Yani şu koordinatta gözük bu koordinatları çıkınca kaybol. Zannedersem en sağlıklısı Timer ama beceremedim nesnenin üzerine gelince çalışcak

istenilen koordinatları çıkınca timer kapanak yardımlarınızı bekliyorum.

http://s3.dosya.tc/server14/dSWBJr/deneme.rar.html

 

Kalabalık olmasındiye burada sormak istedim Sgl de arapça bir metin ekleyip nasıl gösteririz bir tane kayıt olan küçük bir örnek yeterli.

RichText manuel yazdırıyorum ınputa ekliyorum ama kaydedip geri alamıyorum.

Yani arapça herhangi bir şeyi ekleyip gösterelim yeter.

Edited by korasoglu
Link to comment
Share on other sites

 

mPos = System.GetMousePosition(true);
x = mPos.X
y = mPos.Y


if (x == "buraya X pozisyonunu" and y == "buraya Y pozisyonunu") then
----bu işlemi yap
end

Arapça yazı olayı ise biraz sıkıntılı arapça stringler unicode'dir ams de bunu desteklemiyor string.byte diye bir function oluşturup arapça stringleri ansi ye çevirmen lazım yapmıştım hatta ben bunu haa birde timere hiç bulaşma on mouse movede yap sıkıntı yaşamazsın

 

Edited by milano88
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...