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
Solved

Moving and sizing components at runtime ala designer

Posted on 1998-11-05
1
210 Views
Last Modified: 2010-04-04
I'm working on a designer editor where you can drop components and size and move them. The only but is
that I want to do this visuallly.

I already tried various options

1. Overriding windowproc of control dropped
2. Made a customcontrol (transparent) with same
    dimensions as control dropped.
3. Tried to make a bitmap of the component but for
    some reason non visual components cannot be
    copied to a bitmap.
4. The last method I'm still working of it works a bit
    but it is not what I want. I have a designerform
    with has a mousedown, mouseup and mousemove
    I also use the same method 2 for making the object
   clickable without activating it. And let the designerform
   handle the moving functions.

Shorthly I'm creating a designer ala delphi visual basic and I can't seem it to make it work the way I want.

Can someone help me out with some kind of source, the
most easy way is to create bitmaps of the controls however the controls are none visual.

Regards,

Ronald
0
Comment
Question by:Ronald Buster
1 Comment
 
LVL 4

Accepted Solution

by:
dwwang earned 400 total points
ID: 1345777
I can mail you a full source implementing this function, or you can download it from the site:

http://myhome.netsgo.com/wyb330/defaulte.htm

Select and download the Handel.
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

Suggested Solutions

Title # Comments Views Activity
Syntax Check Delphi Seattle IOS app without MAC ? 1 105
Help on project with Soap 10 57
tidtcpserver connection lost handle 2 102
Delphi: Connect to running MS Outlook 4 120
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 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