[AccessD] Using text boxes as fake buttons

Bobby Heid bheid at appdevgrp.com
Wed Apr 27 13:11:16 CDT 2005


I think that the hidecaret api function will do what you want.

Here's a VB example:
http://www.vb-helper.com/howto_hide_textbox_caret.html

Bobby

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark
Sent: Wednesday, April 27, 2005 1: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




More information about the AccessD mailing list