DWUTKA at marlow.com
DWUTKA at marlow.com
Wed Apr 27 13:00:36 CDT 2005
You can give 'labels' the focus, just not the default focus. My new MiniCalendar (which I'll get around to finishing one of these days) has nothing but labels on it. Because of that, you can 'move the focus' from one label to another. It's simply a matter of internally noting what has the focus, and what's next, and then changing the look of the label, so that it shows to have the focus. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, April 27, 2005 12:44 PM 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