|
-
Oct 14th, 2000, 07:06 PM
#1
Thread Starter
Lively Member
Hi,
Is there a way to show 4 square forms (equal areas)at the same time, all coinciding at 1 point = screen center.
Thank you
0101011001000010
01101111011011100110110001101001011011100110010101110010
-
Oct 14th, 2000, 07:10 PM
#2
transcendental analytic
Using the same form? The same width and height?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 14th, 2000, 07:16 PM
#3
Either set the StartUpPosition Property to 2 or use this:
Code:
Form1.Left = Screen.Width / 2 - (Form1.Width / 2)
Form1.Top = Screen.Height / 2 - (Form1.Height / 2)
Form2.Left = Screen.Width / 2 - (Form1.Width / 2)
Form2.Top = Screen.Height / 2 - (Form1.Height / 2)
Form3.Left = Screen.Width / 2 - (Form1.Width / 2)
Form3.Top = Screen.Height / 2 - (Form1.Height / 2)
Form4.Left = Screen.Width / 2 - (Form1.Width / 2)
Form4.Top = Screen.Height / 2 - (Form1.Height / 2)
'...Change Formx into whatever....'
-
Oct 14th, 2000, 07:18 PM
#4
transcendental analytic
You could set startup object to sub main and paste this in that module:
Code:
Private allforms As New Collection
Sub main()
For x = 0 To 3
allforms.Add New Form1
With allforms(x + 1)
.Move (Screen.Width - .Width) / 2, (Screen.Height - .Height) / 2
.Show
End With
Next x
End Sub
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|