Arsip: Mengatur posisi Form dengan 2 monitor

 
user image
more 11 years ago

mimamima

Misi nubi numpang tanya. Saya mau bikin program yang nantinya 1 pc disambung dgn 2 monitor. monitor primary nya saya tampilkan form1 dan monitor secondarynya saya tampilkan form 2. gimana caranya biar form 2 posisinya ada di secondary monitor? apakah bisa diatur dr property form? atau harus dengan prosedur tertentu. matur nuwun sanget
user image
more 11 years ago

mimamima

oh iya, udah aku searching kemana2 gak nemu :D
user image
more 11 years ago

DelphiExpert

// Self = AForm
Self.SetBounds(Screen.DesktopLeft + Screen.DesktopWidth, Self.Left, Self.Width, Self.Height);
Pada prinsipnya cukup mengeset posisi X, Y (Left, Top) form ke workarea monitor. Ilustrasi: [code:1:5b447b7a56] Mon 1: Mon 2: dst. X, Y X = Mon1.X + Mon1.W ------------ ------------ | | | | | | | | ------------ ------------[/code:1:5b447b7a56]
user image
more 11 years ago

n3o_cybertech

mungkin bisa begini :

with Screen.Monitor[1] do
begin
 Form1.Top := Top;
 Form1.Left := Left;
end;
:D
user image
more 11 years ago

mimamima

nuwun sanget nggih
more ...
  • Pages:
  • 1
Share to
Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com