Thread View: alt.comp.lang.vb
3 messages
3 total messages
Started by HB
Mon, 11 Aug 2003 17:11
VB Controls in VBA
Author: HB
Date: Mon, 11 Aug 2003 17:11
Date: Mon, 11 Aug 2003 17:11
8 lines
1597 bytes
1597 bytes
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 in Form view In MS access but it can't be a dwg - must be a control. Access does not have a circle control in its forms. Thanks in advance.
Re: VB Controls in VBA
Author: jim_w
Date: Mon, 11 Aug 2003 21:11
Date: Mon, 11 Aug 2003 21:11
24 lines
2389 bytes
2389 bytes
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
Re: VB Controls in VBA
Author: Dave
Date: Tue, 12 Aug 2003 09:53
Date: Tue, 12 Aug 2003 09:53
44 lines
2721 bytes
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 > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads