|
-
May 10th, 2010, 06:59 AM
#1
Thread Starter
Addicted Member
non-hilighted
) When the PNT button is clicked and the user closes the pop up box without selecting any, the PNT button remains hi-lighted but noTHING is displayed.
i need to have PNT button not hi-lighted.
i have code for hi-lighed in click PNTBUTTON.
unhi-lighted when the user not select anything where do i changed the code.
-
May 10th, 2010, 07:38 AM
#2
Re: non-hilighted
Sorry what is PNT button?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
May 10th, 2010, 07:41 AM
#3
Re: non-hilighted
Move focus to another control that can receive focus.
-
May 10th, 2010, 07:46 AM
#4
Thread Starter
Addicted Member
Re: non-hilighted
anhn
i did there are 4 command button
either one select it highlight the button
when the user dont select the button it needs to remain unhighlighted.
but i fail where do i change the code
-
May 10th, 2010, 08:16 AM
#5
Re: non-hilighted
Only you and God know where to change your code because no one on earth see your code.
-
May 10th, 2010, 08:27 AM
#6
Re: non-hilighted
1) You haven't answered my question....
2) In a VBA UserForm there is a control property called .TakeFocusOnClick, which can be set to False at Design Time or at Run-Time. This prevents the dashed-line from showing up when the User clicks on a CommandButton. However for this to work, you need more that one control which can take focus... Also the .TabIndex property of the relevant control should not be 0
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
May 10th, 2010, 09:09 AM
#7
Thread Starter
Addicted Member
Re: non-hilighted
Kool
i dont see the property TakeFocusOnClick,in user form.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|