?
Solved

Moving and sizing components at runtime ala designer

Posted on 1998-11-05
1
Medium Priority
?
214 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
[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
1 Comment
 
LVL 4

Accepted Solution

by:
dwwang earned 1600 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

764 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