[AccessD] Using text boxes as fake buttons

John Clark John.Clark at niagaracounty.com
Thu Apr 28 10:08:09 CDT 2005


Thank you! As usual, I have asked, and I have received. And, also as
usual...I'm not sure this is a good thing...I've gotten enough back,
that I have gotten more in depth. I am looking forward to checking out
Bryan's example, but for now I have gone with Don and Charlotte's
"hit-myself-in-the-head-why-didn't-I-think-of-that" idea of using an
invisible command button over the top of a label. 

BTW Don, I'm not getting any flickering, so this should definitely work
for me. 

Thanks again!

John W Clark

>>> donald.a.Mcgillivray at mail.sprint.com 4/27/2005 2:12:06 PM >>>
John, 

I experimented with something similar, but I used transparent command
buttons over labels.  This allows you to use all the capabilities of
command buttons without being limited by their fixed visual style. 
The
result of my experiment was pretty cool, but it was kinda flickery, so
I
didn't actually use it for anything.

Don

-----Original Message-----
From: accessd-bounces at databaseadvisors.com 
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark
Sent: Wednesday, April 27, 2005 10:44 AM
To: accessd at databaseadvisors.com 
Subject: [AccessD] Using text boxes as fake buttons


I am whipping up a new program and I wanted to try something new for
the
interface on the menus. I've had this "look" in my head, and I figured
I'd try it out on this program...the program seems pretty small and
easy, so it would be a good time to spend the extra time on some new
interface ideas.

Anyhow, I usually use command buttons, and I change the text color as
I
mouse over them, or when the gain focus via the keyboard. I wanted to
try something slightly different and am experimenting with labels and
text boxes. Labels quickly proved unworthy of the task, because they
can't get focus...unless I am missing something here...so I have
focused
my energy on developing text box buttons. I have them pretty close to
completion, and I like them, except they highlight the text and/or put
a
cursor in them. Is there any way to not highlight the text inside and
to
not get a cursor in the text box, even when it is clicked?

Thanks 

John W Clark
-- 
AccessD mailing list
AccessD at databaseadvisors.com 
http://databaseadvisors.com/mailman/listinfo/accessd 
Website: http://www.databaseadvisors.com 


-- 
AccessD mailing list
AccessD at databaseadvisors.com 
http://databaseadvisors.com/mailman/listinfo/accessd 
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list