|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Form postion
I am desighing a form in i want at start up
the startup position of form should be I am using following code. frm.startupposition=2 i will show me error pleasegive suggestion. |
|
#2
|
|||
|
|||
|
What kind of VB? VB6 has many form size, location, style and visibility properties, like top, left width, height, window style, etc.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
If you want to get this done in VB6, there will be a compile error when you execute the code :
frm.startupposition = 2 Suggestion: Instead of coding this out, just set the form's StartUpPosition property in the Properties Window (use 'F4' button to view it) to this value : 2 - CenterScreen. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Form postion |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|