customcontrols focus?
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
hello,
someone knows how to make this possible?
let say i have a form and i load 5 controls in a panel
now what i need is
when i select a control in a panel the backcolor will color.
and when i select a other control in the same panel i want to delete the backcolor so it focused on the other control.
it its like you select something and unselect it again
anyone?
thanks
someone knows how to make this possible?
let say i have a form and i load 5 controls in a panel
now what i need is
when i select a control in a panel the backcolor will color.
and when i select a other control in the same panel i want to delete the backcolor so it focused on the other control.
it its like you select something and unselect it again

anyone?
thanks
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
couldnt you use a tag on each button or control so when the mouse hovers it sees the tag and sets the backcolour to that so for example
button1.tag = "brown"
public sub button1_hover (by val) handel button1.mousehover
panel1.backcolor = button1.tag
end sub
That code is off top of head so might well actually will need work but it shows the conecpt
button1.tag = "brown"
public sub button1_hover (by val) handel button1.mousehover
panel1.backcolor = button1.tag
end sub
That code is off top of head so might well actually will need work but it shows the conecpt
thanks #muttley1968,
i used gotfocus and lostfocus
thanks anyway.
i used gotfocus and lostfocus

thanks anyway.
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023