473,614 Members | 2,351 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

circular form control

Does any one know if there exists a form control that can function much like
a rectangle control but is circular (or 6 sided say)? Can I make a custom
control called circle that groups 6 instances of the line control and
functions exactly like the line control (props, events etc) . I think I can
do it with net but don't want to learn it, hopefully I can do it with access
or VBA

Please help steer me in the right direction

Thanks

Brian
Nov 12 '05 #1
5 3875
Well - I just noticed lines don't have events so that won't work either> but
I still need to make a circle control that can have events and properties
much like a rectanagle
Brian Rypstra" <bn****@teluspl anet.net> wrote in message
news:aUyib.9324 $x97.6521@clgrp s13...
Does any one know if there exists a form control that can function much like a rectangle control but is circular (or 6 sided say)? Can I make a custom
control called circle that groups 6 instances of the line control and
functions exactly like the line control (props, events etc) . I think I can do it with net but don't want to learn it, hopefully I can do it with access or VBA

Please help steer me in the right direction

Thanks

Brian

Nov 12 '05 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Perhaps you can create an circle icon & place that in an Image
control's Picture property. Then use the click events of the Image
control. You can also put an icon on a CommandButton.

Using the form's or control's MouseDown event you can determine where
on the form/control the mouse was clicked by examining the X & Y
parameters of the event procedure (numbers start from the top left
corner).

- --
MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP4r18oechKq OuFEgEQJ+awCg5a Z12V6mlFHw6/9uDb2MVHl09ywAn ixR
xSIlZvYxyLbiJ2U lViWreKkJ
=YUtv
-----END PGP SIGNATURE-----

Brian Rypstra wrote:
Well - I just noticed lines don't have events so that won't work either> but
I still need to make a circle control that can have events and properties
much like a rectanagle
Brian Rypstra" <bn****@teluspl anet.net> wrote in message
news:aUyib.9324 $x97.6521@clgrp s13...
Does any one know if there exists a form control that can function much


like
a rectangle control but is circular (or 6 sided say)? Can I make a custom
control called circle that groups 6 instances of the line control and
functions exactly like the line control (props, events etc) . I think I


can
do it with net but don't want to learn it, hopefully I can do it with


access
or VBA

Please help steer me in the right direction

Thanks

Brian



Nov 12 '05 #3
Place a command button over whatever you have drawn and set the Transparent
property.

"Brian Rypstra" <bn****@teluspl anet.net> wrote in message
news:lc******** **********@news 1.telusplanet.n et...
Well - I just noticed lines don't have events so that won't work either> but
I still need to make a circle control that can have events and properties
much like a rectanagle

Nov 12 '05 #4
At one time, Albert Kallal posted a way to do "shaped" forms, such as
circles, polygons, etc. It utilities the Win API. I don't have the URL any
more. Perhaps Albert would be so kind as to provide that info again?

HTH
Ruben

"Brian Rypstra" <bn****@teluspl anet.net> wrote in message
news:aUyib.9324 $x97.6521@clgrp s13...
Does any one know if there exists a form control that can function much like a rectangle control but is circular (or 6 sided say)? Can I make a custom
control called circle that groups 6 instances of the line control and
functions exactly like the line control (props, events etc) . I think I can do it with net but don't want to learn it, hopefully I can do it with access or VBA

Please help steer me in the right direction

Thanks

Brian

Nov 12 '05 #5

"Brian Rypstra" <bn****@teluspl anet.net> escreveu na mensagem
news:aUyib.9324 $x97.6521@clgrp s13...
Does any one know if there exists a form control that can function much like a rectangle control but is circular (or 6 sided say)? Can I make a custom
control called circle that groups 6 instances of the line control and
functions exactly like the line control (props, events etc) . I think I can do it with net but don't want to learn it, hopefully I can do it with access or VBA

Please help steer me in the right direction

Thanks

Brian

Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2135
by: jason | last post by:
Is there a way to determine the form control type in asp...in other words, to confirm that a control is a eg checkbox when looping the form controls?
1
4064
by: DU | last post by:
Assuming you have a typical form built in this manner: <form action="..."> <p><input id="idInputText" name="nameInputText" type="text" size="20"></p> <p><input id="idCheckbox" name="nameCheckbox">optional</p> <p><input id="idRadio1" name="nameRadio">yes<input id="idRadio2" name="nameRadio">no</p> <p><select id="idSelect" name="nameSelect"><option value="a">a</option><option value="b">b</option><option value="c">c</option></select></p>
2
1627
by: Softwaremaker | last post by:
Hi all, I have created a Windows Form control that runs on a web form. This control is a composite control comprising of other textboxes (public scope). This control inherits from the Windows.Form.Control class. I have put it on a web form with the following code : <OBJECT id="MyWebControl" height="300" width="300"
3
1582
by: | last post by:
For a given web form, I want to know what the +simplest+ way to add an attribute to all of a particular control type on that page. For example, I might want to add an onClick attribute to all TextBoxes on the page, e.g. .Attributes.Add("onKeyUp", "dosomething(event);"); I know that I can create a custom user control or custom control or otherwise extend stuff with some work. I'm wondering if there's a quicker and dirtier way to do this...
2
1504
by: Shane | last post by:
I have this code that resizes a form control. i want to be about to do something like that in .net. the other version is in vb 6... here is the code Dim hgt As Single hgt = ScaleHeight - wbrURL.Top If hgt < 120 Then hgt = 120 wbrURL.Move(0, wbrURL.Top, ScaleWidth, hgt)
0
1938
by: aakash | last post by:
Hello Guys I am upsizing ms access project to give it a ms sql connectivity I am having problem in accessing form control values in ms sql function CREATE FUNCTION "ReportList DateRange"() RETURNS TABLE AS Begin RETURN
4
1696
by: Yo mama | last post by:
Hi! I have problem using simple custom form control on asp.net page. It does not do much. Just label and button. (It is for training purpose). My control works fine when I use it in my windows application but I have problem with asp.net. I use <object id="Cont1" classid="http:Cont.dll#Contr.SomeCont"> When I run my page for the first time it loads and works. When I change something in that control, build .dll and upload to root dir of...
1
4000
by: KMEscherich | last post by:
Using Access '97 Hi there, I have a form in which I am attempting to have a form control be hidden unless the CONTROL 1 = OTHER. This control is tied to a DROP-DOWN list and one of the options to select is OTHER. I have the following: Control 1 = SITE_LOC_CODE Control 2 = SITE_LOC_OTHER I need to have Control 2 be hidden unless OTHER is selected from CONTROL 1. At which time, I need to have Control 2 appear so someone can type in...
2
1219
by: Bhuwan Bhaskar | last post by:
Hi, I am new to asp.net. I want to know that, HTML and Web form control can work in same way example, using "runat = Server" attribute, html control can also executed at server, then what is the use of HTML control and is there is any specific condition when we use only HTML control or web form control. Thanks and regards, Bhuwan
0
8589
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8287
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6093
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5548
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4136
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2573
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1438
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.