Questions tagged [tabstop]

124 questions
0
votes
3 answers

How can I reuse this snippet throughout a project?

I have this code on each form in my app that has textboxes to prevent the textboxes that are ReadOnly from being tabbed to: private void FrmInventory_Load(object sender, EventArgs e) { foreach (var txtbx in Controls.OfType()) { …
0
votes
1 answer

Using argdo with set with vim

I'm attempting to run the command "set tabstop=4" and then "retab" on multiple files. I have gotten to point of getting my arglist like so args ~/workspace/**/*.java and I can see this work well when I'm just viewing the files using the args…
Rahul
  • 391
  • 4
  • 17
0
votes
1 answer

Tabstop and TRectangle

I'm have TTabControl with some controls (Delphi XE7 Firemonkey app). All works fine, tabstop too. Now I need to colorize one panel with CheckBox. Add TRectangle to this panel and set parent for CheckBox to this TRectangle. Interface looks fine but…
Alex Egorov
  • 907
  • 7
  • 26
0
votes
2 answers

Prevent user from exiting `UserControl` with pressing tab

I have a UserControl which contains a button and a textbox. User should eighter fill the textbox and click the button - so that the data is sent to the form and the usercontrol is hidden, or press Escape on the textbox - so that the form knows user…
Mahdi Tahsildari
  • 13,065
  • 14
  • 55
  • 94
0
votes
1 answer

Format columns in string nicely with bash tools

Let's say I have a file orders.txt which contains something like: # Description Amount Price Sum 1 Beermat 1000 0,01€ 10€ 2 Glass 100 1€ 100€ 3 Long description 1 10€ 10€ 4 An even longer description 1 10€ 10€ 5 An…
dersimn
  • 805
  • 9
  • 15
0
votes
1 answer

Using tabs in iText to indent multiline string

I use iText in my java app for generating pdf. The goal is generate paragraph which have on each row some name on left and value on right. Space between name and value is filled by dots: param1..............value1 param2..............val1,…
BrooksWasHere
  • 67
  • 3
  • 10
0
votes
1 answer

Prevent new windows/tabs opened from iframe

I searched a lot about this, but I have not found a solution. I need the contents of an iframe (different domain) cannot open new pages/windows/tabs on my browser. Within that iframe there are some javascript elements that clicking on it open new…
LopeGV
  • 96
  • 4
0
votes
0 answers

Find out default tab size in C# RichTextBox

The default size in pixels for a tab in a RichTextBox is apparently 48 pixels, regardless of font or font size. This is set as default by .NET without me touching the SelectionTabs array. I've checked in the RTF - there's no \tx control code or…
Dan W
  • 3,520
  • 7
  • 42
  • 69
0
votes
1 answer

Dashed tabulation fill in text blocks

I'm attempting to mimic in HTML the following text style: This is a style feature of Microsoft Word, which can be set by using Tab Fills. This is what I've accomplished so far: .legalese .paragraph:after { content:…
0
votes
1 answer

Is it possible to turn off TabStop for all StackPanels in a single global place?

I have a number of UserControl that each contain a number of StackPanels. The problem I have is that each StackPanel seems to think that I'm interested in tabbing to it before I tab to the contents of the StackPanel. If I want to tab from a control…
DaveDev
  • 41,155
  • 72
  • 223
  • 385
0
votes
0 answers

Adding tab stops to pdf

We use a library called Winnovative to create PDFs with inputs for digital signatures. I'm wondering if it is possible, and how, to add tab stops at these locations. I wish I could provide some kind of proof of an attempt, but I really don't even…
Phillip Schmidt
  • 8,805
  • 3
  • 43
  • 67
0
votes
2 answers

Word VBA Tabstop wrong behaviour

I have the following VBA code Private Sub CreateQuery_Click() Dim doc As Document Dim i As Integer Set doc = ActiveDocument i = doc.Paragraphs.Count doc.Paragraphs(i).Range.InsertParagraphAfter i = i + 1 For j = 0 To 1000 …
eric
  • 1,857
  • 5
  • 23
  • 33
0
votes
0 answers

Combo Box (dropdown) skipped on tab but works on shift tab

In win forms i have a drop down; no matter what i do the tab order wont work for it. tabIndex is right and tabstop is set to true ; control always skips this dropdown but when doing shift tab it works.All other controls are in tab order, any ideas?
PUG
  • 4,301
  • 13
  • 73
  • 115
-1
votes
2 answers

How do I get a snippet to insert a character only if the user typed something?

I have this snippet. SELECT 'SELECT * FROM ' + OBJECT_SCHEMA_NAME(o.object_id, DB_ID(${20:})) + '.' + name, * FROM ${20/$/./}sys.all_objects o WHERE name LIKE '%${10:hadr}%' ORDER BY o.name; And this is how it works: When the user types…
-1
votes
1 answer

How to set tab stop in CoreText

I want to set the tab stop in CoreText. I really need the code. The example is more good. Anyone can help me?
Rizki
  • 281
  • 1
  • 6
  • 19
1 2 3
8
9