Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to move parent form pointer change size,son form cha
Message
From
10/05/2011 08:41:52
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01510136
Message ID:
01510150
Views:
34
ok la~~~ thank you , but if i want to base on parent form change size? ...
How to current location - before location ?
Private Sub MainForm_SizeChanged(ByVal sender As Object, ByVal e As EventArgs)
        Dim f As Form = DirectCast(sender, Form)
        ChildForm.Width = f.Width / 2                          <?
        ChildForm.Height = f.Height / 2                      <?
        'Or whatever
    End Sub
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform