P2Pprogrammer 2 programmer

Home > Programmer2Programmer.NET Forum> VB.NET, C# and .NET Core Development >> left width top vb 6 to vb.net 2008...

Welcome Guest My Thread | Search | Active Topics | Members | Log In | Register

NOTE : Log In required to post Replies for this discussion.
left width top vb 6 to vb.net 2008
messbah Posted: Tuesday 02, April 2013 04:49:20 PM     
   
Private Sub ArrangeControls()
Dim wid As Single

    Width = picImage.Left + picImage.Width + Width - ScaleWidth
 + 120
    Height = picImage.Top + picImage.Height + Height - ScaleHei
ght + 120
    wid = ScaleWidth - txtMessage.Left - 120
    If wid < 120 Then wid = 120
    txtMessage.Width = wid
    txtPassword.Width = wid
End Sub


how to do the right and width left on vb.net???
Back to Top ^  
 AJProfessionals Posted: Sunday 14, April 2013 10:00:54 AM
  
   
You can set Location(x,y) of form control 
Back to Top ^ 


Home > Programmer2Programmer.NET Forum >VB.NET, C# and .NET Core Development >> left width top vb 6 to vb.net 2008...