?
Solved

change form starting position

Posted on 2003-11-28
6
Medium Priority
?
195 Views
Last Modified: 2010-04-05
i know this question is easy but i cant figure it out
all i want to do is when i start the application it will start were i tell
it to in an X,Y point say 554,312 or something like that
please help thank u
0
Comment
Question by:amjedmsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 3

Accepted Solution

by:
JDuncan earned 320 total points
ID: 9838549

Just set Form1.Left,Form1.Top to new coordinates in the FormShow or FormCreate event.
0
 
LVL 2

Expert Comment

by:TheLeader
ID: 9838578
you can use registry, if you would like or ini
or also you can ClientOrigin property of the form.

anyway, check these examples:
http://greatis.com/delphi/forms-setposition.html
http://www.webtechcorp.com/web-developer-training-delphi-tip-7.htm
http://kanadepro.com/delphistuff/sampcode.mv?listTipsScreen+6#15

full code written

hope it helped ...
0
 
LVL 3

Expert Comment

by:JDuncan
ID: 9838593

Just set Form1.Left,Form1.Top to new coordinates in the FormShow or FormCreate event.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:TheLeader
ID: 9838600
if the user's display resolution has changed then the form will be in bad postion
you should read the 3rd link above
0
 
LVL 7

Expert Comment

by:sftweng
ID: 9838622
Why not position it at design time and set Form1.Position to poDesigned?
0
 

Author Comment

by:amjedmsa
ID: 9842718
JDuncan u did it
thank u every one for your help iam very pleased with ur ansewers
and i would give u all the points JDuncan for getting exactly what iwant to do thanks again and to u all
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question