toggle button apearance

V

vassilis

hello..i was wondering if i can change the toglle control appearance between
the situations check/uncheck..the default form with gray and dark gray its a
little inconviniante and not so clear...or maybe if i can use 2 different
embended pics for on and off...i have no idea about programing or if this is
possible but any help is important.
thanks
 
A

Alex Dybenko

Hi,
perhaps you can just use checkbox instead?
else you can make such toggle button using 2 images with check/uncheck and
show/hide appropriate control in click event
 
V

vassilis

the second idea is the better but it would be better if u could help me for
implemeting this :)
 
A

Alex Dybenko

Well, dont know how far are you with VBA...

something like this:

in form calss module
declare a private variable:
dim fToggle as boolean

make a public finction there with following code:

me.imgChecked.visible=fToggle
me.imgUnChecked.visible=not fToggle

fToggle=not fToggle

and call this function from both imgChecked and imgUnChecked click events
 
V

vassilis

ihave no idea about VB actually im new in access...if there is any site for
that work and can help me it would be nice...otherwise i must forget it...
 
A

Alex Dybenko

i think you can buy any book about access and spend feew hours reading it -
this will give you an idea about Access programing
 
Top