toggle button apearance

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
the second idea is the better but it would be better if u could help me for
implemeting this :)
 
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
 
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...
 
i think you can buy any book about access and spend feew hours reading it -
this will give you an idea about Access programing
 
Back
Top