473,511 Members | 16,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

increasing and changing the tick box

I would like to change the look and feel of a tickbox. Is there anything
that I can do????

I want to make it bigger and I want to make it look less like access....

Any help greatly appreciated.

Nicolaas
---
Please immediately let us know (by phone or return email) if (a) this email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 02/06/2004
Nov 13 '05 #1
5 1625
WindAndWaves wrote:
I would like to change the look and feel of a tickbox. Is there
anything that I can do????

I want to make it bigger and I want to make it look less like
access....

Any help greatly appreciated.

Nicolaas


You could just manipulate some images using the on-click event... a
picture of a box, one ticked one not ticked... but tis a lot of extra
effort;)

--
regards,

Bradley
Nov 13 '05 #2
Very easy.

Drop an image control (not an object frame) on the form and load it with a
"ticked" image. Set its Visible property to false.

Drop a second image control with the same size picture of an unticked
checkbox right on top of it.

Then use the OnClick events of each image to set up event procedures like
this:
Private Sub Image1_Click()
Image1.Visible = False
Image2.Visible = True
End Sub

Private Sub Image2_Click()
Image2.Visible = False
Image1.Visible = True
' any extra processing can go here
End Sub

You can also check the "checkstate" at any time by testing to see which
image is visible.

Ian.

"WindAndWaves" <ac****@ngaru.com> wrote in message
news:s5*****************@news.xtra.co.nz...
I would like to change the look and feel of a tickbox. Is there anything
that I can do????

I want to make it bigger and I want to make it look less like access....

Any help greatly appreciated.

Nicolaas
---
Please immediately let us know (by phone or return email) if (a) this email contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 02/06/2004

Nov 13 '05 #3
great ideas guys. thank you.

would it be possible to turn this into a class module, kind of like an
active X that you can just drop into a form??? Or something somehow that
makes the code easily reuseable???

"Ian Hinson" <pp******@bigpond.net.au> wrote in message
news:S2****************@news-server.bigpond.net.au...
Very easy.

Drop an image control (not an object frame) on the form and load it with a
"ticked" image. Set its Visible property to false.

Drop a second image control with the same size picture of an unticked
checkbox right on top of it.

Then use the OnClick events of each image to set up event procedures like
this:
Private Sub Image1_Click()
Image1.Visible = False
Image2.Visible = True
End Sub

Private Sub Image2_Click()
Image2.Visible = False
Image1.Visible = True
' any extra processing can go here
End Sub

You can also check the "checkstate" at any time by testing to see which
image is visible.

Ian.

"WindAndWaves" <ac****@ngaru.com> wrote in message
news:s5*****************@news.xtra.co.nz...
I would like to change the look and feel of a tickbox. Is there anything that I can do????

I want to make it bigger and I want to make it look less like access....

Any help greatly appreciated.

Nicolaas
---
Please immediately let us know (by phone or return email) if (a) this

email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 02/06/2004


---
Please immediately let us know (by phone or return email) if (a) this email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 02/06/2004
Nov 13 '05 #4
"WindAndWaves" <ac****@ngaru.com> wrote in message
news:UF*****************@news.xtra.co.nz...
great ideas guys. thank you.

would it be possible to turn this into a class module, kind of like an
active X that you can just drop into a form??? Or something somehow that
makes the code easily reuseable???


An alternative that might be "lighter" would be to use a TextBox with the
WingDing font. That has characters of both a checked and unchecked box. Then
you just use the font size to control the size.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #5
"WindAndWaves" <ac****@ngaru.com> wrote in message
news:UF*****************@news.xtra.co.nz...
great ideas guys. thank you.

would it be possible to turn this into a class module, kind of like an
active X that you can just drop into a form??? Or something somehow that
makes the code easily reuseable???
Yes! You can make the images and code reusable in multiple positions on a
form.

I don't know how you would build your own control type, but I can suggest a
simpler and quicker way to achieve the same thing.

1) Create a small form and drop the images on it, and use code as suggested
in my last message.
2) Resize this form so that it is no bigger than the image controls.
3) Switch off scroll bars, navigation buttons, and record selectors, and
dividing lines.

Now you can drop this mini-form onto a parent form as many times as you
like.
The toggling of images operates independently on each subform.

You can also set the each subform control's properties to flat & transparent
borders so that the fact that the images are sitting on different subforms
cannot be seen.

HTH,
Ian.
Building your own control type is something you can

"Ian Hinson" <pp******@bigpond.net.au> wrote in message
news:S2****************@news-server.bigpond.net.au...
Very easy.

Drop an image control (not an object frame) on the form and load it with a
"ticked" image. Set its Visible property to false.

Drop a second image control with the same size picture of an unticked
checkbox right on top of it.

Then use the OnClick events of each image to set up event procedures like this:
Private Sub Image1_Click()
Image1.Visible = False
Image2.Visible = True
End Sub

Private Sub Image2_Click()
Image2.Visible = False
Image1.Visible = True
' any extra processing can go here
End Sub

You can also check the "checkstate" at any time by testing to see which
image is visible.

Ian.

"WindAndWaves" <ac****@ngaru.com> wrote in message
news:s5*****************@news.xtra.co.nz...
I would like to change the look and feel of a tickbox. Is there
anything that I can do????

I want to make it bigger and I want to make it look less like access....
Any help greatly appreciated.

Nicolaas
---
Please immediately let us know (by phone or return email) if (a) this

email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 02/06/2004


---
Please immediately let us know (by phone or return email) if (a) this

email contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.698 / Virus Database: 455 - Release Date: 02/06/2004

Nov 13 '05 #6

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

Similar topics

1
1674
by: Christa Waggett | last post by:
Hi, I'm not a programmer but would appreciate some help with the following. I've been looking at various sites but cannot find the information I require. I have a table of strata plans and if we...
2
1892
by: Darryn | last post by:
Hi Please help... i am running an application where one of my data validation funtions linked to a Dataset event ColumnChanging keeps throwing a StackOverflowException!!! My code is fine, i...
10
2171
by: Martin Eyles | last post by:
Hi, I want to make a scale on a graph, by telling asp to insert empty divs of class tick, and the setting the style in css. I am trying to get a 3D effect by using colored top and bottom borders...
2
1235
by: jake johnson | last post by:
I'm running PG 7.4.1 on FreeBSD 5.2.1_RC1 and experienced a general 40% drop in performance after increasing Shared mem buffers to 2000 (from the 1000 default setting) and the Sort Mem to 1024 from...
2
2341
by: boyleyc | last post by:
Hi all the following code works perfectly well. Basically it populates a series of check boxes on my form, depending on whether dlookup finds an associated record. The problem i have is that...
4
8254
by: Rahul B | last post by:
Hi, I was getting the error: sqlcode: -911 sqlstate: 40001 , which is "The maximum number of lock requests has been reached for the database." So i increased the locklist size to 200 from the...
9
7276
by: appelsinagurk | last post by:
Hi I'm fairly new to .Net programming so I'll try to explain my problem as easy as I can, and in advanced sorry for my poor english. I've got some spare hours where I work, so I've decided to...
1
2110
by: Inaccessable | last post by:
This is probably very simple but still beyond me. I have a table that stores text in a number of different languages. Each entry has a unique ID number. Each language version of the same text...
4
3187
by: paul.bentley | last post by:
I am trying to get a "Date entered" box to automatically fill when a tick box = true, without success so its over to the experts for some much needed help Thanks in advance
18
3076
by: sweeneye | last post by:
Hi, I'm basing a query on the variables used in a form. The database contains lots of problems, say with a computer and a tick box for the apropriate component like monitor, keyboard, mouse etc....
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7355
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7423
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...
1
7081
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...
0
7510
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4737
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...
0
1576
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 ...
0
447
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...

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.