C
C#13mo ago
PhoenixXeme

❔ Why is this selected?

When i run my app this shows that its selected and then when i click on a diff button it goes away
6 Replies
PhoenixXeme
PhoenixXeme13mo ago
i want to make nothing selected when i run my app
chef drone builder
$details
MODiX
MODiX13mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
HimmDawg
HimmDawg13mo ago
We need your UI framework and the code that affects the buttons
ZacharyPatten
ZacharyPatten13mo ago
he is using winforms. The most likely reason is the TabIndex. In winforms you can use the TAB key on your keyboard to cycle through the controls so you can use keyboard rather than only allowing mouse. The TabIndex property determines priority. Every time you press TAB it will move to the control with the lowest TabIndex greater than the current control. The control with the lowest TabIndex is focused by default when your form loads. https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.control.tabindex?view=windowsdesktop-7.0 if it is not TabIndex... then yeah we would need more info
Accord
Accord12mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts