BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

help with shapes

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Eagle
Guest





PostPosted: Fri Jan 21, 2005 10:10 pm    Post subject: help with shapes Reply with quote



Hi,

I'm wanting to test my Delphi on a simple paint program that drops shapes
onto a canvas (form, paintbox), but allows the user to resize the shape by
supplying handles/grips. I can get the shapes on to the canvas, select
them, move them etc.. I can add a caption to them, and if the cpation is too
large to fit inside hen reshape, but I'd rather be able to resize with the
mouse using 'handles'.

Any pointers in the right direction would be much appreciated.

Thanks



Back to top
David Reeve
Guest





PostPosted: Fri Jan 21, 2005 11:53 pm    Post subject: Re: help with shapes Reply with quote



"Eagle" <news (AT) eagle136 (DOT) fsnet.co.uk> wrote

Quote:
Hi,

I'm wanting to test my Delphi on a simple paint program that drops shapes
onto a canvas (form, paintbox), but allows the user to resize the shape by
supplying handles/grips. I can get the shapes on to the canvas, select
them, move them etc.. I can add a caption to them, and if the cpation is
too
large to fit inside hen reshape, but I'd rather be able to resize with the
mouse using 'handles'.

Any pointers in the right direction would be much appreciated.


One of my many stalled projects does something like this. The following
unit, http://users.bigpond.net.au/dreeve/delphi/stateobj.pas describes an
eliptical object which has a 'hot spot' manager to control 'handles' on its
surface..... their visibility, snap characteristics and so forth. Hope it
helps.

Dave



Back to top
AlanGLLoyd
Guest





PostPosted: Sat Jan 22, 2005 8:58 pm    Post subject: Re: help with shapes Reply with quote



In article <csr2j6$oht$1 (AT) news6 (DOT) svr.pol.co.uk>, "Eagle"
<news (AT) eagle136 (DOT) fsnet.co.uk> writes:

Quote:
but I'd rather be able to resize with the
mouse using 'handles'.

Delphi Developer's Handbook (D3) by Marco Cantu (& others) has a
TDDHSizerControl in Chap 8 which will put re-sizing handles on any component.

You may find it by Googling, or on the publisher's (Sybex) site.

Alan Lloyd
[email]alanglloyd (AT) aol (DOT) com[/email]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.