473,569 Members | 2,611 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 1628
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.

"WindAndWav es" <ac****@ngaru.c om> 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******@bigpo nd.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.

"WindAndWav es" <ac****@ngaru.c om> 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
"WindAndWav es" <ac****@ngaru.c om> 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
"WindAndWav es" <ac****@ngaru.c om> 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******@bigpo nd.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.

"WindAndWav es" <ac****@ngaru.c om> 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
1677
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 no longer manage the plan the date this occurs gets entered into a field. What I would like to happen is for all the fields in that record to...
2
1893
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 just have a deep method/function call going on.... how can i increase the stack from it's default size which i beleive to be 1mb?? Thanks
10
2181
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 on the divs, and setting their height to 0. The code bellow show an example tick, and it all looks beautiful in firefox, but in internet explorer,...
2
1238
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 16. After changing the .conf file back to the original values, performance didn't change back. Only after dropping the database and reloading...
2
2343
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 when the date (or xDate) goes over to the next month, dlookup returns NULL even though though there is a record. For example if CALWEEKSTART is...
4
8259
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 default value of 100. I wanted to know what other effects it will have on the database? Like, will the performance reduce, if the locklist size is...
9
7282
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 spend them learning C# .Net. I've done some smaller programming assignments and decided now to try a larger program. I'm trying to create a basic...
1
2115
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 shares the ID number. I have a column of tick boxes that show where this text is used. ie 1.0 English_text_record_1 tickcol1=y tickcol2=n...
4
3193
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
3086
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. and each has several eg problem 1 has a monitor and mouse problem My form then has what to look for tick boxes (tri-state) for each of these. I...
0
7615
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
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...
1
7677
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...
0
7979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5219
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...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
940
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...

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.