Questions tagged [tabcontrol]

A tab control is a control in graphical user interface which contains multiple tab items that share the same space on the screen.

A tab control is useful for minimizing screen space usage while allowing an application to expose a large amount of data. It enables a developer to arrange visual content in a compacted and organized form.

References:

2206 questions
0
votes
1 answer

Server process running on Indy10 partially stops responding when OnConnect event interacts with a TTabControls Tabs from another form in Lazarus

Tried to describe most of my problem in the title, and I mostly did. Basically, I've made my own little TCP Server with Indy 10 in Lazarus. All it does is it accepts packets in form of bytes that contain a certain char representing a letter from…
Michael
  • 548
  • 6
  • 23
0
votes
2 answers

I want to know how to change the Tab Control style

I'm playing around with C# and I'm using the TabControl, I would like to know how can I change the "looks" of the default tabcontrol from this: to something "smoother" and nicer, something like this perhaps How would I do this ? at the moment I'm…
Christiaan
  • 639
  • 1
  • 8
  • 18
0
votes
1 answer

Requery Form Record Source on Tab Control Page - By Control Type?

I have a tab control with a number of pages, each with 1 or 2 sub forms. One of the page/subforms affects the visibility of most of the other pages and their corresponding sub forms. If someone adds a record to this one sub form, I set that…
missscripty
  • 529
  • 2
  • 11
  • 30
0
votes
1 answer

Click on current tabItem of TabControl (in WPF)

I have ScrollViewer on my TabItem, what I want to do is when user touch header scrolling up, and I call this code ScrollMyProduct.ScrollToVerticalOffset(0); But TabItem hasn't support clicking on only header of it, and SelectionChanged isn't…
0
votes
1 answer

How to override general style with trigger in ControlTemplate?

I have a TabControl that displays a different Tab header foreground and background for a selected tab. But I would like to set a general foreground color for TextBlocks within the tab item content control. What is happening instead is all the…
Will
  • 421
  • 2
  • 8
  • 23
0
votes
3 answers

Set focus to a button in a new TabItem

I use a TabControl to display a list of items. The ItemView is a separate control I wrote.
Jan
  • 295
  • 2
  • 4
  • 11
0
votes
1 answer

c# select url from database to web control

I am trying to put the url from database to webcontrol. I create 4 tab control each tab control consist of webcontrol; I want to use the url that I get from database: first url put to tab1(browser inside tab) second url put to tab2 ... How can i…
tee
  • 155
  • 2
  • 6
  • 12
0
votes
1 answer

How can I conditionally hide the TabPanel portion of a TabControl in its entirety?

I've found a lot of variations of this question, but the conversation always seems to revolve around the individual TabItems, and not the TabPanel as a thing unto itself. My main window has a TabControl on it. The tabs are views. One of those…
DonBoitnott
  • 10,787
  • 6
  • 49
  • 68
0
votes
0 answers

TabControl doesn't load the tab content any time if switching the tab

I use WPF MVVM and have a Binding in my TabControll like this (XAML):
Fardey
  • 5
  • 3
0
votes
2 answers

Get the DataTemplate Object of an ItemsSource

I have a TabControl which looks like this:
hullunist
  • 1,117
  • 2
  • 11
  • 31
0
votes
1 answer

TabControl.SelectedIndex being changed, but SelectedIndexChanged even not firing

All, I have a TabControl in an application that started behaving strangely. Some background... This program was converted from VB6 to VB .NET 2008, and used to refer to forms using their class names. In other words, I might have a form class…
Superhuman
  • 149
  • 1
  • 2
  • 13
0
votes
0 answers

C#.net draw on tabcontrol and specific tabpage

recently i tried draw a rectangle on win from and this is the code namespace GDI1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object…
Rouzbeh Zarandi
  • 1,047
  • 2
  • 16
  • 34
0
votes
4 answers

How do I add form on tab control in c#

I have a form page with text boxes and data grid view and other forms that contain a tab control. I want to add the first form tab in the second form. I tried to write the code for the form to appear but it is larger than the tab container and…
waleed jab
  • 31
  • 1
  • 1
  • 2
0
votes
3 answers

WPF How to execute command for current active tabitem?

I'm using prism TabControl Region inside the shell view. Each TabItem contains AView and AViewModel. I can determine the currently active TabItem using a property IsActive property in AViewModel. IsActive property is set to true only for the current…
IBRA
  • 1,502
  • 3
  • 24
  • 56
0
votes
1 answer

How to add a Rich Text Box to a Tab item so that can be added to a Tab Control in MVVM?

How to add a RichTextBox to a Tab item so that can be added to a Tab Control and display corresponding content in the RichTextBox dynamically in MVVM format. ViewModel private ObservableCollection TabControl() { …
AJAY KUMAR
  • 77
  • 7
1 2 3
99
100