[AccessD] Using text boxes as fake buttons

Charlotte Foust cfoust at infostatsystems.com
Wed Apr 27 16:03:43 CDT 2005


Use labels.  You can put an invisible button on top of them to get the
focus and handle the clicks.

Charlotte Foust


-----Original Message-----
From: John Clark [mailto:John.Clark at niagaracounty.com] 
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



More information about the AccessD mailing list