Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Access 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2003 VBA Programmer's Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein; ISBN: 9780764559037
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2003 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 5th, 2005, 06:42 AM
Registered User
 
Join Date: Jun 2005
Location: bebington, cheshire, United Kingdom.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default drawing

i would like to draw rectangles and boxes with dims, using access VBA
Reply With Quote
  #2 (permalink)  
Old June 5th, 2005, 09:32 AM
Friend of Wrox
 
Join Date: Nov 2004
Location: Seattle, WA, .
Posts: 248
Thanks: 0
Thanked 1 Time in 1 Post
Default

This forum is specifically for the "Access 2003 VBA Programmer's Reference" book. A more appropriate place to ask this question would be this P2P forum: http://p2p.wrox.com/access-vba-80/

I'll provide an answer. But I suggest future questions be diverted to the other forum.

The easiest way to do this would be to create the object on the form or report and set the Visible property to No. Then in your code, manipulate that object as desired setting the Left, Top, Height and Width and whatever other properties you want to set. When you have the object set the way you want, set the Visible property to True.

Of course you can go through the trouble to define the object in code. To do so, you would Dim the object as a Control and then use the CreateControl method to create the control. From there you're on your own. I'd use the first method because it's so much easier. :D

Randall J Weers
Membership Vice President
Pacific NorthWest Access Developers Group
http://www.pnwadg.org
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drawing Shapes cbulutlar Javascript 2 March 6th, 2006 01:25 PM
drawing fergo Access VBA 0 June 6th, 2005 12:35 PM
Drawing in C# stripytiger VS.NET 2002/2003 4 August 25th, 2004 10:01 AM
drawing with VBA cutovoi Excel VBA 1 February 19th, 2004 06:22 PM



All times are GMT -4. The time now is 12:21 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.