HandyOrg / HandyOrg/HandyControl
Combobox和Password控件的焦点问题
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
在使用过程中发现hc:ComboBox在设置了ShowClearButton="True"后,按下Tab键,按钮ButtonClear可以获得焦点;在Demo中通过比对发现,hc:TextBox就算设置了ShowClearButton="True",按下Tab键,按钮ButtonClear是不能获得焦点的。


在hc:password控件中,就算设置了TabIndex为1,password的焦点也不能按预期获得,而是在按下tab后,所有能获取焦点的控件都获取完一次焦点后,password才能获得焦点。

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Tab-key behavior for hc:ComboBox and hc:TextBox with ShowClearButton="True", then test hc:Password with TabIndex="1" in the demo. Done means the clear button follows the TextBox focus behavior and the Password control receives focus in the expected Tab order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100