473,320 Members | 2,092 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,320 software developers and data experts.

Positioning forms

vdraceil
236 100+
My form layout window(vb6.0) doesnt show any forms in it,but i want to position my forms..is there any settings i should change?or is there any alternative to position my forms(by coding)?
Oct 12 '07 #1
5 1206
My form layout window(vb6.0) doesnt show any forms in it,but i want to position my forms..is there any settings i should change?or is there any alternative to position my forms(by coding)?
Hi,
I think you are asking to do the forms size and position so try with the StartUpPosition property that will solve the problem.
You can use Height and Width property of form to set the size of form.
Oct 13 '07 #2
vdraceil
236 100+
I want to position my forms using code and not sizing.
Oct 13 '07 #3
Ali Rizwan
925 512MB
I want to position my forms using code and not sizing.
Hi,
Use this code

Expand|Select|Wrap|Line Numbers
  1. Me.Left= Position on left
  2. Me.Top= Position on top
GOODLUCK
ALI
Oct 13 '07 #4
Killer42
8,435 Expert 8TB
Expand|Select|Wrap|Line Numbers
  1. Me.Left= Position on left
  2. Me.Top= Position on top
Also consider the .Move method. It lets you combine everything into one statement.
Oct 14 '07 #5
Ali Rizwan
925 512MB
Also consider the .Move method. It lets you combine everything into one statement.
Yeah,
But in move form will directly to X and Y positions both but in .Left and .Top user can enter only a single command.
No it can be done by .move also.
.Move is good.

Thanx
Oct 15 '07 #6

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

Similar topics

12
by: Tom Szabo | last post by:
Hi, Just wondering if there are any disadvantage in absolute positioning controls on a page? In example instead of putting the text fields into a table to align properly, one would absolute...
9
by: Bryan R. Meyer | last post by:
Hello Everyone, The problem of browser resizing has become an issue for me. While redesigning my webpage, I set the left and right margins to be auto so that my content would be centered. ...
4
by: Jane Withnolastname | last post by:
I am trying to re-work an old site by replacing the html with css. On the main page, I have a logo image which I needed centred on the initial screen. I found the solution here:...
1
by: Chris McGarry | last post by:
Hello, I'm new to style sheets and have been fighting with browser compatibility for two days. I'm developing a image selection page (similar to Ebay where the visitor can select and enlarge 1-6...
2
by: r pasadhy via .NET 247 | last post by:
Hi, I am new to this list. So please forgive me if this question is arepeat. Basically, there is this big aspnet form on which I have a lot ofdropdown listboxes. When the selected index changes on...
2
by: Henry Wu | last post by:
Hi,.. I have 2 forms with the same width & height, one with 100 opacity and the other with 50% opacity. Since I'm in an MDI application, the form with the 50% opacity cannot be a MDI Child or else...
1
by: Hamed | last post by:
Hello I have a question about CHILD forms in an MDI form. How can I have a neat positioning of child windows in an MDI form? When I open a new child window in my MDI form it is opened in a...
2
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
6
by: Mark | last post by:
hi, i'm trying to position something in the top right corner of a container, but i can't seem to figure out how to get it working. here's the html <div class='thumb'><a href='image.jpg'><img...
0
by: sknonline | last post by:
Greetings. I am having troubles using absolute positioning in IE6. When I establish the width as 100%, it's not spanning the entire width of the browser. It works in Firefox, Safari, and IE7.......
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.