By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,475 Members | 954 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,475 IT Pros & Developers. It's quick & easy.

increasing and changing the tick box

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.