dBASE Programming - Drawing arrows

This is Interesting: Free IT Magazines  
Home > Archive > dBASE Programming > May 2005 > Drawing arrows





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Drawing arrows
Jan Hoelterling

2005-05-28, 5:48 pm

Hi everybody,

I need to draw some arrows ina digram I need to create programmatically.
Before I start playing woith lines and shapes and all that good stuff, I was
wondering if anybody out there had already done something like this and
could give me some pointers?

Thanks for any suggestions!

Jan


Bob Buchanan

2005-05-29, 2:47 am

Hello Jan:

Not sure what you mean by creating a diagram programmatically - but using
just dBASE commands to do that sorta thing is cumbersome and can use a ton
of resources. My approach has been to do the diagram in a graphics package
first (I use Paint Shop Pro). I then make that BMP the link to an Image
control and use that as a background and superimpose dBASE controls on top
of it. I use the Image vs. form.background as it gives me more control over
the sizing of the graphic on the form. In my case, I don't want the image to
cover the entire form background.

Regards, Bob

RLB & Associates
(916) 761-8737
www.rvspacemanager.com


"Jan Hoelterling" <jan@hoelterling.com> wrote in message
news:5o2ikM8YFHA.1760@news-server...
> Hi everybody,
>
> I need to draw some arrows ina digram I need to create programmatically.
> Before I start playing woith lines and shapes and all that good stuff, I
> was wondering if anybody out there had already done something like this
> and could give me some pointers?
>
> Thanks for any suggestions!
>
> Jan
>



David Stone

2005-05-29, 2:47 am

Jan Hoelterling wrote:

> I need to draw some arrows ina digram I need to create programmatically.
> Before I start playing woith lines and shapes and all that good stuff, I was
> wondering if anybody out there had already done something like this and
> could give me some pointers?


Give you some pointers? Arrows--yeh...funny! ;-)

How is the diagram itself going to be created? Is it part of a form or all of
it? Might be easiest to just create a simple arrow class (using 3 lines) with a
start point and an end point and a thickness and some, um, trig? Although lines
don't mix well with form objects...everything covers them up.

David

Jan Hoelterling

2005-05-30, 5:50 pm

Hi Bob,

thanks, that's a very interesting idea. I'll have to play with this a little
bit.

Jan


Jan Hoelterling

2005-05-30, 5:50 pm


"David Stone" <dlstone@wholegrain.com> wrote in message
news:42996841.2E900B8A@wholegrain.com...
> How is the diagram itself going to be created? Is it part of a form or all
> of
> it? Might be easiest to just create a simple arrow class (using 3 lines)
> with a
> start point and an end point and a thickness and some, um, trig? Although
> lines
> don't mix well with form objects...everything covers them up.


Hi David,

I was going to draw it as part of the form. It's really just a bunch of
buttons with arrows in between. I was thinking along the lines of making a
class as you describe, just trying to see if my approach is feasible or,
better yet, if someone would come back with "already done, see codelib". <g>

Thanks,

Jan


David Stone

2005-05-30, 8:47 pm

Jan Hoelterling wrote:

> I was going to draw it as part of the form. It's really just a bunch of
> buttons with arrows in between.


So kinda like the query designer where the arrows indicate relationships between
tables. But those are pretty fancy, going diagonally and around corners and
stuff. If you can get away with only horizontal and vertical arrows, it'd be a
pretty easy class to create.

> I was thinking along the lines of making a
> class as you describe, just trying to see if my approach is feasible or,
> better yet, if someone would come back with "already done, see codelib". <g>


Ask the CEO!

David



David Stone

2005-05-30, 8:47 pm

Oops, I meant the CTO. ;-)

David


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com