Many thanks,
Peter
"Peter Gumbrell" <pe...@orillia.net> wrote in message news:#0JxEYQZAHA.388@tkmsftngp04...
Peter
"Dale Fye" <df...@REMOVEiitri.org> wrote in message
news:#W0oMnQZAHA.1928@tkmsftngp02...
Sandra Daigle
"Peter Gumbrell" <pe...@orillia.net> wrote in message
news:#0JxEYQZAHA.388@tkmsftngp04...
When you have designed the appearence your TexBox'es as CommandButtons and
will that they behave as CommandButtons .... why don't you use
CommandButtons instead? As for me, I had preferred set of two ComboBoxes
instead - selection in first modifyng RowSource of second.
Arvi Laanemets
Peter Gumbrell <pe...@orillia.net> wrote in message
news:#0JxEYQZAHA.388@tkmsftngp04...
--
John
Please reply to the newsgroup and not by e-mail. That way, more
brain cells get to work on the problem!
Sandra Daigle
"Peter Gumbrell" <pe...@orillia.net> wrote in message
news:Ov9mCiXZAHA.1844@tkmsftngp04...
the click event does fire if the text box is locked, however if you
lock and set enabled to no the click event cannot fire
Mark
Thanks
Peter
"Arvi Laanemets" <ar...@tarkon.ee> wrote in message
news:919qae$826$1...@kadri.ut.ee...
(infact I have used labels as pseudo buttons on many occasions because more text
fits in one and it can't maintain a focus - ie you can't use the enter key to
activate a faked-label button and users can't change its content directly :-)
An un-attached label has all the events you need.
Use its click event as you normaly would.
With its' MouseDown & MouseUp events you can change its appearance to fake a
pressed effect
ie. Me.LbHeading1.SpecialEffect = 2 'sunken ; 1 = raised
or what ever you like (change the background colour, etc)
To fill the label caption with the results you want, add code to the AfterUpdate
event of your preceding combobox with something like
.... your existing code here in combos AfterUpdate event
Me.LbHeading1.Caption = "What Ever Result Your Code found :-)"
... any other label headings you want to change
Probably a select case would be the best approach here.
Hope that's enough to get you started or follow one of the many other usefull
suggestion already recieved :-)
bilt
_____________________