Jump to content

Amsde Sayfayı Konumlandırma


ugur4721
 Share

Recommended Posts

Ekran Genisligi X

Ekran Uzunlugu  Y

Konum(Page1)= X-10 & Y-10

 

anlayacağınız çözünürlüğün yüksekiği ve genişliğinden 

10 çıkarılacak bu ise sadece 1. sayfanın Knumu olacak

 

 

Çözünürlükkodu: 

-- EKRAN ÇÖZÜNÜRLÜĞÜ BİLGİLERİ

cozunurluk= System.GetDisplayInfo();

x = cozunurluk.Width -- genişlik

y = cozunurluk.Height -- yükseklik

Yardım edebilecek varmı

Link to comment
Share on other sites

Ekran Genisligi X

Ekran Uzunlugu  Y

Konum(Page1)= X-10 & Y-10

 

anlayacağınız çözünürlüğün yüksekiği ve genişliğinden 

10 çıkarılacak bu ise sadece 1. sayfanın Knumu olacak

 

 

Çözünürlükkodu: 

-- EKRAN ÇÖZÜNÜRLÜĞÜ BİLGİLERİ

cozunurluk= System.GetDisplayInfo();

x = cozunurluk.Width -- genişlik

y = cozunurluk.Height -- yükseklik

Yardım edebilecek varmı

Sen Herşeyi Yapmışsın Ne Kalmış ki ??

Bu Komutu Hangi Sayfanın Boyutunu Düzenleyecekse O Sayfanın On Show Evresine Yerleştirmelisin...

x = System.GetDisplayInfo().Width
y = System.GetDisplayInfo().Height
x = x-10
y = y-10
Window.SetSize(Application.GetWndHandle(), x, y); ---------------Bunu Eklersen Pencere Boyutunu Senin Degerlerle Degiştirir.
Edited by Ex_treme
Link to comment
Share on other sites

 

Sen Herşeyi Yapmışsın Ne Kalmış ki ??

Bu Komutu Hangi Sayfanın Boyutunu Düzenleyecekse O Sayfanın On Show Evresine Yerleştirmelisin...

x = System.GetDisplayInfo().Width
y = System.GetDisplayInfo().Height
x = x-10
y = y-10
Window.SetSize(Application.GetWndHandle(), x, y); ---------------Bunu Eklersen Pencere Boyutunu Senin Degerlerle Degiştirir.

 

 

Bu Komutu Hangi Sayfanın Boyutunu Düzenleyecekse O Sayfanın On Show Evresine Yerleştirmelisin...  demiş zaten :)

Link to comment
Share on other sites

denedim olmadı

Benim Sana Verdigim İlk Verdigim Konut Ekran Boyutundan -10 Çıkarıp Ekran Boyutunu Yeni Deger Olarak Degiştiriyor.Bir Yanlış Anlama Olmuş sanırım...

Senin İstedigin İse Pencerenin Bulundugu Yeri Çözünürlülüge Göre Sabitlemek Sanırım.Aşagıdaki Komutu Kullanmalısın.

x = System.GetDisplayInfo().Width
y = System.GetDisplayInfo().Height
Xxx = x-10
Yyy = y-10
x = x-Xxx
y = y-Yyy
Window.SetPos(Application.GetWndHandle(), x, y);
Edited by Ex_treme
Link to comment
Share on other sites

 

Benim Sana Verdigim İlk Verdigim Konut Ekran Boyutundan -10 Çıkarıp Ekran Boyutunu Yeni Deger Olarak Degiştiriyor.Bir Yanlış Anlama Olmuş sanırım...

Senin İstedigin İse Pencerenin Bulundugu Yeri Çözünürlülüge Göre Sabitlemek Sanırım.Aşagıdaki Komutu Kullanmalısın.

x = System.GetDisplayInfo().Width
y = System.GetDisplayInfo().Height
Xxx = x-10
Yyy = y-10
x = x-Xxx
y = y-Yyy
Window.SetPos(Application.GetWndHandle(), x, y);

akşam deneyeceğim tekrar sağol

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