Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[VB6] Form Position


shado360
 Share

Recommended Posts

Hi there! I have a question about the startup position of a form. I want my chatbox's form to load onto the bottom left hand corner of the picScreen. How do I do this.

Thanks,
Païn

P.S: I have tried frmChat.Left = frmMain.PicScreen.Left & frmChat.Top = frmMain.picHotbar.Top + 400 (Didn't work T_T)
Link to comment
Share on other sites

I did that! Look:   
    frmChat.Left = frmMain.picScreen.Left
    frmChat.top = frmMain.top + frmMain.picHotbar.top
                                ^                              ^
                        form's position        comp. position
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...