tabs

changing tabstop from 4 to 2 after using expandtab (with minimum manual effort)

For some time I have used tabstop=4 in my source files. Now that I write lot of javascript that has deep indentations, a tabstop of 4 seems wasteful, so I want to convert it to 2. The problem is I use "set expandtab" too. So merely setting tabstop=2, won't help. Any suggestions on how I can convert all my files quickly to tabstop 2? My...

How to make QTabWidget without pages

I with to use the tabs of QTabWidget but I don't need the pages as containers. I need only the tabs. Is there a way I can hide or disable the page containers and display only the tabs? ...

Setup QTabBar position

If I use QTabWidget i can call setTabPosition to change it to "South" and have tabs appear at the bottom. Is there a similar behavior for QTabBar? Currently on Mac the top left and right corners are rounded and the bottom ones are not. I wish to invert this look and feel - the top corners to be square and the bottom ones to be rounded. ...

Flex Spark: How to add a Cancel button on the TabBar Button?

Hi All, I'm trying to add a cancel icon to my TabBarButtons in Flex 4.0 (Spark), and I've gotten close, but now I'm stuck on getting the icon to be "clickable" I have seen other approaches, like FlexWiz Blog (http://flexwiz.amosl.com/flex/spark-tabs-with-close-button/), but was hoping to figure out something cleaner. Using the similar...

Creating tabs in the Windows titlebar area in C#

Can someone tell me how to create tabs in the title bar area of a C# Winforms application? I'm looking for something similar to how Google Chrome looks. Each tab in Chrome is docked in the title bar of the main application window. ...

Change content of tab on button click

I have been reading a lot of comments on how it is more lightweight to use views instead of intents in setContent when using tabs. Since I will be creating an app with tabs, I am trying to implement this instead of having intents inside setContent. However, I am having a difficult time looking for examples or straightforward tutorials o...

Tabbed nav with radios

<label><input type="radio" name="group1" selected="selected" /> one </label> <label><input type="radio" name="group1" /> two </label> <fieldset id="one"> one </fieldset> <fieldset id="two"> two </fieldset> I'd like to show one fieldset at a time based on the radio selected. I know how to do with <a>s but radios seem difficult. Thank...

Silverlight - tab navigation with arrow keys

How to cycle between controls with arrow keys. I want the same effect as I get with Tab key. Is it even possible? ...

TinyMCE: Nested lists if tab key is pressed

if you create an unordered list in tinymce and hit the tab key the code created looks like this: <ul> <li><span style="white-space: pre;"> </span>list item 1</li> </ul> however, if you click on the indent button in the editor's toolbar (instead of the tab key), the following code is created: <ul> <li>list item 1 <ul> <li>list item 1....

Android Orientation problem

I am using Eclipse and developed an app that has 3 tabs using Android 1.5. The program works just fine. 1st problem--whenever the app is run, it change orientations, but does not show the scroll bars, thus allowing to scroll down(or up). Is this suppose to be happening? And how is it corrected? 2nd problem--if you are on say tab2, th...

Show tab bar after its hidden

Hi folks, Is there any way to show a tab bar after it has been hidden? Got a tabbar-nav structure. For one of the tabs, I need to hide the tab bar for its 2nd and 3rd level view. But at the same time I will need to show its 1st and 4th view. The sample code from Elements isn't really applicable here I think. Any help is greatly appr...

Third tab panel is not accessible in Ajax tab container

Hi, I have an ajax tab container in an aspx page. Earlier I had 2 tab panels in the tab cotnainer. Now I want to add third tab panel. I could add the third panel but I am able to access the third panel, i.e. When I click on third panel, the panel is not shown(I didnt even get the handy cursor when i place the cursor on the third tab pane...

How to create a 'blog settings' tab in drupal to move all blog related edit forms to one place

I dont know if im asking the impossible, but i want to have a tab in my user edit area that houses all blog related items (ie blog theme, blog info, user blogroll) as opposed to them being inside the user/%/edit and user/%/edit profile. Im putting together a multi-user site and this is crucial for user-friendliness. Thanks for any idea...

How can I make a tab active on load

Hello everyone! I'm using jquery to create a tab-based featured content area on my website - http://www.gregmalkin.co.uk - but am having trouble getting the first tab to be 'active' on load, and then the active state to change to the selected tab when it auto changes. When I click on a tab it becomes active, but I want them to be set ...

"Tab" in the middle of line. Indent instead of making a tab. (VS 2010)

Hi, I think the headline says it all. But when I'm hitting the tab button in the middle of a line of code I want it to indent the whole line instead of making a tab which is not very useful - I never use tab in the code besides indenting and if I have to use a tab in a string I use \t. I know it´s only saving me two buttons each time (o...

Different sized tabs in Android

I have an application with 4 tabs. By default every tab width is 1/4 of the screen width. How can I override this? I need the tabs to have a different width for each one. Any ideas on how to accomplish that? ...

jquery tab communication

How to create tabs corresponding to the main vertical menu.... Say I have a vertical menu submenu 1 submenu2 submenu3 Menu 1 Menu 2 Menu 3 ect . Now on clicking i need to show the submenu in tabs as above ...and each time I click previous submenu will disappear and new will appear in the same place ...

Android tabs - avoid recreating activities on tab clicks

I've put a little app together that has three tabs to show three different web pages. It does work however I am bit worried I haven't got enough control over how this whole thing works. When I click a tab, I get a web page loaded (see code sample below), now when I click another tab another page loads in another view. When I go back to t...

Where is the basic Control-TAB (MRU) behavior in XCode?

In most multi-document editors for windowing environments, Control-TAB will utilize an MRU list to bring the user back to the last visible file. What is the appropriate command to accomplish this in XCode 3.x? I currently have Ctrl-TAB mapped to "View|Previous File", however this does not appear to be an MRU. Worse yet, if it hits the ...

Google Maps and Street View display problem

This problem was already discussed in this thread I did implement the solution but it didn't work. In brief, I have two DIVs, one for Google Maps and the other is for Street View. They are synced, you move the first, the latter also change the position. Now I implement tabs, I made them myself and didn't use jQuery UI. It doesn't work. ...