Welcome!
Log In
Create A New Profile
Home
>
WinDev Forum
> Topic
Advanced
change border color on gotfocus
Posted by Javier.pcs.crosspost
Forum List
Message List
New Topic
Javier.pcs.crosspost
change border color on gotfocus
July 15, 2009 12:26PM
Hello. How can I change the border color of an edit control when it takes the focus for the user to quickly identify which field is edited.
Thank you.
Message forwarded from pcsoft.us.windev
Reply
Quote
Marc De Swert
Re: change border color on gotfocus
July 15, 2009 01:20PM
Yo javier
Simple:
RETURNTOCAPTURE FIELDNAME //to get focus
FIELDNAME..BrushColor = BrushColor = iLightYellow //or any color you specify
Marc :cool:
Reply
Quote
Marc De Swert
Re: change border color on gotfocus
July 15, 2009 01:21PM
Sorry, misstake in copy and paste
RETURNTOCAPTURE FIELDNAME //to get focus
FIELDNAME..BrushColor = iLightYellow //or any color you specify
Marc :cool:
Reply
Quote
DW
Re: change border color on gotfocus
July 16, 2009 02:38PM
Javier
The easy way without code is using styles. Take the Zune Style is changes color when you hover and when it gets focus.
<a href="[
tinypic.com"
]; target="_blank"><img src="[
i25.tinypic.com
]; border="0" alt="Image and video hosting by TinyPic"></a>
Dennis W
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Author:
Your Email:
Subject:
Help information
BBcode help
Smileys help
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
[Please, enable JavaScript to see the code]
Enter code:
Message:
[Please Enable JavaScript]