Questions tagged [tabstop]

124 questions
2
votes
1 answer

TabNavigation to select ListBox's first item

We're using tabnavigation for people, who dont want or can't use the mouse. When i navigate via tab into the Listbox, the first item will be focused but not selected. When i tab again, the second item will be selected as well. For me it's a strange…
2
votes
1 answer

Remove tabulation or space of multiple lines in text

You all probably know the keyboard shortcut (Shift + Tab) to remove tabulation or space of multiple lines in various text editors. I want to do this with my string in C#. I know how to do it in a very unoptimized and not very error save way. But is…
Someone
  • 43
  • 8
2
votes
3 answers

Parse special characters (\n\t) from HTML input element

I'm currently writing a utility in pure JS (no jQuery) that performs string replacements on a given input text: It looks for occurences of a string and replaces them with another. To that end, I want to allow the user to specify the desired…
ParaDice
  • 133
  • 5
2
votes
0 answers

Why is JTextArea breaking my tab order?

Why is the JTextArea control ignoring/breaking my tab order? Here you can see the problem The shown tab order property is from the java.awt.Container --> getContentPane() from the JFrame. I use the eclipse WindowBuilder PlugIn .
IceTeaC
  • 21
  • 3
2
votes
1 answer

How do I set and use tabs in PDFsharp?

I'm trying to figure out how to use tabs in PDFsharp. I have a simple document with tabs set at 1", 2", 3" and 4". Each tab space is 1" wide. Each are left justified. How do I set the tabs and how do I print to each tab. Can anyone help?
Terry Neckar
  • 137
  • 1
  • 8
2
votes
3 answers

How To Create A Table in Python

I've posted this before, but I'm reposting it with more detailed information. This is my assignment: And, so far, this is my code: # Define a function that caculates average test scores def calculate_average(score1, score2, score3, score4,…
Baroness Sledjoys
  • 121
  • 1
  • 4
  • 9
2
votes
1 answer

TabStop and Focus on a GroupBox

I have created a custom control which extends GroupBox. This control supports collapsing and expanding and I use the GroupBoxRenderer and ButtonRenderer to make it look like a typical GroupBox that has a Button in the corner. I have handled all the…
steinybot
  • 5,491
  • 6
  • 37
  • 55
2
votes
1 answer

Disable DatePicker tab stop

I am using the DatePicker control in the original WPF toolkit. I am trying to remove the DatePicker from the tab order. Setting properties like IsTabStop or TabIndex or KeyboardNavigation.IsTabStop don't really work. Setting TabIndex to -1 for…
Harald
  • 1,007
  • 1
  • 14
  • 27
1
vote
1 answer

Locating the first WPF tab stop

Thanks to an answer on a previous question (Previous Question), I now have a body of code that navigates WPF tab stops (shown below). It works fine except for the first tab stop. Calling this.MoveFocus(...First) and followed by…
Michael Hewitt
  • 275
  • 1
  • 2
  • 8
1
vote
1 answer

What happens when the tab button is hit in a WPF rich text box?

Ok. So I get that when the tab key is hit once (with AllowTab = true), that the paragraph's textIndent property is set to 20. What I don't understand is this. When I hit the tab key twice, the paragraph is indented twice. So I would assume that it's…
Toadums
  • 2,772
  • 8
  • 44
  • 67
1
vote
1 answer

PDF sourcecode of text with tab/tabstop or fixed width trick

I have this s variable string: ID#9NAME#9VALUE How this string look like in PDF? (ID) Tj (NAME) Tj (VALUE) Tj I have to convert the s variable to PDF string. How can I change the #9 character to a working tabstop character? I can change the #9…
peteri77
  • 15
  • 3
1
vote
1 answer

In a vscode snippet, is it possible to delete both open curly brace and close curly brace just by one key press?

I have this VSCode JavaScript snippet which is used to create an arrow function. { "test1": { "scope": "javascript", "prefix": [ "test1" ], "body": [ "(${10:}) => ${20:{}${40:}${30:\\}}" …
Just a learner
  • 26,690
  • 50
  • 155
  • 234
1
vote
1 answer

How to set .vimrc for c programs?

How should I set up my .vimrc so that macvim will set my tab to 4 spaces for c programs?
grok12
  • 3,526
  • 6
  • 26
  • 27
1
vote
1 answer

How can I uncheck radiobuttons in C# while still allowing only the first radiobutton to be tabbable?

Not sure if the title makes much sense, so here is the full context: I'm coding in C#. I've made an app with several UserControls, each one with many textboxes and radiobuttons. All radiobuttons are placed in a panel in a set of 2, looking like…
Itiel
  • 13
  • 4
1
vote
1 answer

FireMonkey control with TabOrder = 0 is not focused at runtime

I have 3 custom tRectangle on a form. When creating the custom tRectangle, I set CanFocus = True;, so the tRectangle can be focused. On FormCreate event, I set the TabOrder to 0 to the first tRectangle, to 1 to the second tRectangle and to 2 to the…
user2383818
  • 709
  • 1
  • 8
  • 19
1 2
3
8 9