473,394 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to fix position of form built with skincrafter

284 100+
I had download the trial version of skin crafter www.skincrafter.com and want to use it with vb6.

I am facing some problem, I had a MDI form and some child forms, I want my child form to be somewhere in the center of the screen, but when i place the form in the center it first comes some where else on the screen for a split of seconds and then come to the center, which looks too odd.

To show you exacltly how its happen, please see a very small video

http://s653.photobucket.com/albums/u...rent=Error.flv

If you want to see my sample code , you can download it from

http://www.ziddu.com/download/9964970/Sample.zip.html

How can i place the form accurately so its wont look odd? Did this problem is due to my graphic card or system is slow etc or something else?
May 23 '10 #1
5 2119
vb5prgrmr
305 Expert 100+
Without looking at your form or your code, it is a real simple matter to make your form come up in the center of the screen... in design view set its startupposition property to center owner or center screen...
May 23 '10 #2
muddasirmunir
284 100+
@vb5prgrmr
When i set the property startupposition i got error "Invalid Property Value"
May 23 '10 #3
vb5prgrmr
305 Expert 100+
>in design view set its startupposition property to center owner or center screen...
May 24 '10 #4
muddasirmunir
284 100+
@vb5prgrmr
I set the property to center but as soon as i change the property at desing time i am getting error "Invalid Property Value" , i donot know why?
May 24 '10 #5
vb5prgrmr
305 Expert 100+
Is it a mdi child form? It must be as I just checked... I was thinking you were talking about your parent MDI form and not the child. (Well I guess that is what I get for thinking... :) )

Okay, so you want to have the mdi child show up in the center of the mdi parent...
Expand|Select|Wrap|Line Numbers
  1. Option Explicit
  2.  
  3. Private Sub Form_Load()
  4. Me.Left = (MDIForm1.ScaleWidth / 2) - (Me.Width / 2)
  5. Me.Top = (MDIForm1.ScaleHeight / 2) - (Me.Height / 2)
  6.  
  7. End Sub
  8.  


Good Luck
May 25 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Gordon - Adelphia | last post by:
I have a question regarding xhtml. Why, why, why does the ELEMENT <body> allow “unblocked” text. HTML does not (though, most browsers will render). Xhtml (transitional) however allows text nodes...
6
by: Terry | last post by:
I'm real new at this, so this may be a basic question, but I want to get off on the right foot. I thought it would be reasonable to use the following on a page: body { margin: 3em;...
6
by: Patrick | last post by:
Hi I am a newbie struggling a little with css.It is hard to get it right in all browsers, so i decided to read the CSS2 specification on the w3 site. What is the following from the CSS2...
4
by: John Scott | last post by:
Hi There. I have a small c# problem. I am trying to create a dynamic email body. The body may be larger than the maximum number of characters a string can have (256?). I build the string like...
7
by: Tony Johansson | last post by:
Hello!! Assume I have a handle body pattern with classes called Handle and Body. In the Body class I store one int value for example 7 or some other integer value. In the Handle class I have...
0
by: Tony Johansson | last post by:
Hello! Here I have two classes these are called Handle and Body and a main. You have the class definition below. Some basic information. In the Handle class is there a pointer to the Body. Each...
0
by: cpavon | last post by:
Hello everyone, I am fairly new to MACT, I am currently trying to parse the oResponse.Body to retrive a dynamic values...store in an array and then randomly post those values. Does anyone...
1
by: owgur2000 | last post by:
The SkinCrafter Light downloaded at https://msdn.microsoft.com/vstudio/express/register/ one of those things to try. Everything else I downloaded from the site seemed to work. But even the sample...
4
by: sadieslc | last post by:
I'm working on a PHP script, and the info from the form shows up in the headers of the email that I receive, but it doesn't show up in the body of the email. Can you please help me figure out what...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.