Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2004, 01:48 PM
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default Graphics Control

Hi there,
  I'm looking for a control that will allow me to work with graphics.

  That in and of itself doesn't sound complex...there are some additional requirements.

  The graphics need to be able to be zoomed/resize while maintaining aspect ratio.
  Be printed on various sizes of paper from 8x11 to plotter size.
  I need to be able to place my objects on top of the graphic and have it remember the locations.

  If anyone knows a control or a can point me in a direction that would be great. I really don't want to have to build this custom control.

Thanks,
Mike
 
Old March 5th, 2004, 03:08 PM
Authorized User
 
Join Date: Feb 2004
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'd have a peek at www.lebans.com for information on how to do some of this yourself. I'm not sure what you mean about placing 'objects' on a graphic but Stephen Lebans has done a good deal of work with graphics classes including zooming and a simple graphic editor. I find I bump into memory/size issues when I work with large graphics so I'm not sure about hi res plotter output unless you are willing to go vector graphics and that doesn't really integrate with conventional Access controls.

A useful resource which was my graphics bible for several years was a Wrox book called Instant Visual Basic Animation by Michel Leroux (ISBN 1-874416-78-8 published in '96). It was written to go with VB4 using the Win 32 API so all the information is still valid and the classes pretty much drop into Access.

There was a demo about placing and storing grid references on a graphic available for download at the Dec 4, 2001 meeting of www.vbad.edmonton.ab.ca/. Click the link to previous meeting agendas and scroll to the Dec 4 2001 meeting. It wasn't very sophisticated but seemed to have met the requirement.

Ciao
Jürgen Welz
Edmonton AB Canada
jwelz@hotmail.com
 
Old March 5th, 2004, 03:48 PM
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jürgen,
  Thanks for the information. The download from the Dec 2001 seems to be the closest to what I'm looking for. I think I can modify the application to support my needs...it will take a lot of work.

   Need to be ale to zoom the graphic.
   Different objects need to dragged onto the diagram. Some of those objects need to be resized to encompass various parts of the diagram using shading as to not cover the other objects on the diagram.
   The properties for the dragged objects needs to be greatly enhanced. Not just a label property.

   I think I was just making a mental list with the items above, not necessarily looking for a solution...unless of course there is a control that would allow me to do these type of things.

   If I have to move to vector graphics, it makes no difference to me. Just so long as I can place/edit my objects within the graphic.

   I'm taking a walk on the wild side with respect to creating a new type of interface for a program.

Thanks again,
Mike





Similar Threads
Thread Thread Starter Forum Replies Last Post
c/c++ graphics hafizmuhammadmushtaq C++ Programming 0 October 19th, 2007 11:33 PM
graphics in c++ himutg C++ Programming 1 December 12th, 2006 08:22 AM
Help on graphics steparths C++ Programming 0 June 30th, 2006 02:09 PM
graphics in C++ MASTER_1st C++ Programming 2 November 28th, 2005 12:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.