🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.vb
Article #5

Re: VB Controls in VBA

#5
From: Dave
Date: Tue, 12 Aug 2003 09:53
44 lines
2721 bytes
Access help files ...

Circle Method - draw ellipses using aspect ratio
Line Method   - lines and rectangles
Print Method  - Text output

also have a look at the DrawMode, DrawStyle, DrawWidth properties etc.

The help mentions these functions in relation to a report, but maybe you can
add a subreport to your form and use it as a drawing area.

hth,
Dave


"jim_w" <jwarrington*noSteekin*@*Spam*worldnet.att.net> wrote in message
news:EDTZa.94225$3o3.6590086@bgtnsc05-news.ops.worldnet.att.net...
> hi HB,
>
> AFAIK, the vb "circle" (or shape) is an intrinsic(?), light-weight(?),
> implicit(?) control, in other words that is not a control per se, vb just
> draws the circle on your form for you.  As such, there is no "control" to
> use with vba.
>
> However, since you asked in an api group, there is an api way to do it, by
> calling the ellipse api.
>
> If you don't like calling api's, then you could just use a simple graphics
> package (paint will do) and create a circle graphic, then show it using an
> image control (which forms 2.0 DOES have)...
>
> cheers, jw
>
>
> "HB" <frmnook@telus.net> wrote in message
> news:W6QZa.1406$Rm1.686@edtnps84...
> > Please Help
> >
> > Is there any way I can use the Circle Control from Visual Basic in my
VBA
> in
> > Access. I need to make ellipses etc
>
>
Technical Details
Message-ID: <Ohi1OeLYDHA.2032@TK2MSFTNGP10.phx.gbl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!feed2.news.rcn.net!rcn!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!t-online.de!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
References: <W6QZa.1406$Rm1.686@edtnps84> <EDTZa.94225$3o3.6590086@bgtnsc05-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104093,a9d4d978a76cd875
X-Google-Attributes: gid104093,public
X-Google-Thread: fb992,a9d4d978a76cd875
X-Google-Attributes: gidfb992,public
X-Google-Thread: ff48e,a9d4d978a76cd875
X-Google-Attributes: gidff48e,public
X-Google-Thread: 10b392,a9d4d978a76cd875
X-Google-Attributes: gid10b392,public
X-Google-Thread: fd7de,a9d4d978a76cd875
X-Google-Attributes: gidfd7de,public
X-Google-ArrivalTime: 2003-08-12 02:54:21 PST
From: "Dave" <nomail@nomail.com>
References: <W6QZa.1406$Rm1.686@edtnps84> <EDTZa.94225$3o3.6590086@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: VB Controls in VBA
Date: Tue, 12 Aug 2003 11:53:16 +0200
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ohi1OeLYDHA.2032@TK2MSFTNGP10.phx.gbl>
Newsgroups: alt.comp.lang.vb,alt.comp.lang.vba,basicworld.public.vb.tools,comp.lang.visual.basic,microsoft.public.vb.winapi
NNTP-Posting-Host: mail.gabo.de 195.30.62.97
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!feed2.news.rcn.net!rcn!kibo.news.demon.net!demon!newsfeed00.sul.t-online.de!t-online.de!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl