Jump to content

Herhangi Bir Objenin Boyutlarını Almak


nightmare3519
 Share

Recommended Posts

  • 2 hafta sonra ...

 

Buyur kardeş

result = Button.GetSize("Button19");
aaa = result.Width
bbb = result.Height
Dialog.Message("Notice", aaa .. " " .. bbb, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);

Yanlış anladınız beni yeni başlamadım ams'ye veya programlamaya :))

 

Plugin yazıyorum Bütün objelerin posizyonunu boyutunu tek bir kod ile ayarlamak istiyorum yakında sunacağım proje içinde lazı.

 

Dönen değerin table olmasını istiyorum yani şu şekilde

 

nPos= Object.GetPos("Flash1")

x = nPos.X

y=nPos.Y

 

gibisiden.

 

Pairs abi bişeyler yazmıştı ama forum geri alındı mantığını anlayamadım..

Link to comment
Share on other sites

  • Editor

Örnek olarak fonksiyonu bu şekilde tanımlarsın APM de.

 

B8xPPud.png

 

Daha sonra kod kısmında ise.

 

fbFwzfm.png

 

bu şekilde geriye döndürürsün ams de ise dönen değeri

 

X = MSAccess.GetObjectPosition("Flash1")[1];

Y = MSAccess.GetObjectPosition("Flash1")[2];

 

şeklinde kullanabilirsiniz.

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...