TabStripLayout-View: Where to set the text?

Hello,
I am using a view of the kind TabStrip. For your understanding> Not a normal view with a tabstrip. It is a view similar to Gridlayout, just TabStripLayout.
I can not find where to set the text for the individual tabs, e.g. TAB1, TAB2 etc.
Does anzbodz know?
Regards Thank Mario

I assume you are using a TabStrip layout of a viewset.  The tab 'captions' are set in the properties for the viewset.  In the explorer outline, expand Windows and click on the ViewSet and in the properties for the ViewSet it will have the captions listed for the tabs and you can change the text there.
Be aware that the tab strip layout for viewsets is a bit limited.  As far as I can tell the navigation plugs between views do not work.  There are other forum questions/answers on how to use a normal TabStrip element rather than a viewset to get around this.
-Cindy

Similar Messages

  • Newbie iPhone: How do I programatically set the text of a UIBarButtonItem?

    Hello,
    This is probably really more of a question on IBOutlets but here goes. I want to have an updateable label on my Toolbar. A label doesn't seem to "stick" on the toolbar so I figured I would drop a UIBarButtonItem on it and then just update the Title property of it to change the text as I needed. Problem is I can't figure out how to get a reference to the UIBarButtonItem in my code.
    With a pure label control, I can drag from the File's Owner to the label in my view to make it an outlet for my ViewController and then access the text property of the label in code. With the UIBarButtonItem, I can't make it an outlet. I know the button is more of an action thing but I don't need to respond to taps, I just want to change the text.
    Thanks for any help,
    Tom

    Tom,
    You should be able to assign the UIBarButtonItem to an outlet as long as:
    1) you have defined an instance variable in FilesOwner of UIBarButtonItem and prefixed it with "IBOutlet".
    2) FilesOwner is set to your custom view controller in the Interface Builder's Inspector panel. If it still thinks it's a standard UIViewController it won't pick up your custom outlets.
    All that being said, I'm not sure you can change the title without using a custom view. The default UIBarButtonItem has an initWithTitle: initializer that may be static (perhaps others know of a way to change it once set). But you can define a custom view for the button. That gives you the ability to add a UILabel and programmatically set the text of the label.
    Cheers,
    George

  • How do you set the text of a Hyperlink component in code

    I am using Visual Web pack in NB 6.0. How do you set the text of a hyperlink component in code?
    Please see screenshots at
    http://coba.usf.edu/departments/isds/faculty/agrawal/projects/java/
    I have a hyperlink in a grid panel. I am using
    hyperlink1.setText("Hello"); in prerender(),
    but the Hyperlink shows up with the text "Hyperlink", whereas I was expecting "Hello". However,
    hyperlink1.setUrl("http://www.usf.edu"); works as expected.
    I tried nesting a static text in the hyperlink as suggested in the Creator guide (ed 2, Google project). I deleted the "Hyperlink" text in the properties editor but then the page turned out blank.
    Thanks
    Manish

    Hi Manish,
    Great to know you were able to fix your issue. The following blog entry has the list of resources you would like to look at for future.
    http://blogs.sun.com/NetBeansSupport/entry/useful_resources_for_visual_web
    Thanks
    K

  • How to set the 'text' property of a 'Header' region dynamically?

    Hi,
    I have a requirement to display the 'text' property of a 'Header' region, based on a query.
    So I need to set the text property programatically in CO.
    Can I use setText("..") by getting the handler to the 'Header' region?
    If so, How to get the handler for the 'Header' region?
    Message was edited by:
    user594528

    How to get the handler for the 'Header' region to call the setText()?
    OAHeaderBean Header1 = (OAHeaderBean)...........................
    Header1.setText("....");

  • How to set the text as an image

    Is there a way to set the text to automatically change to an image? (In preference panel, you select "Sow text imaging indicator", then there comes a yellow sign over the text, meaning that the text will be a graphic in the browser) Some text does change to a graphic but some does not. It´s very annoying cause the text sometimes changes in the browser, some don´t. So is there not a way to select which text changes to a graphic?

    Okay I made a new text box and changed the font until the little graphic appeared. Now I know, but, I also know that a lot of the font I tried would not be on someone else's computer (specially windows) but it would not have converted I guess it would have been substituted. That is really not good because the look would be very different. Should we force a conversion then to insure that it looks like what we want? Then we no longer have any text we have mostly graphics and is that not bad to be found by the search engines?
    This is so complicated!
    Mireille

  • How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph)?

    Hello all,
    How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph) by default?
    Thanks very much for any help.
    Dmitriy Zhabrovets

    Hi,
    I had a look and don't ask me why but it seems that you can't add extra rectangles in a sub table. But weirdly, it seems possible to add tables.
    I mean you can't add a rectangle using
    app.activeDocument.textframes.tables.tables.cell.insertionpoint.rectangles.add
    //remove any reference, that's conceptual at this time.
    The idea I had at the first place but put aside cause to its heaviness is to cheat.
    Instead of adding the rectangle, we are going to copy & paste it.
    So let's keep all the things you need (rectheight & rectwidth).
    But this time, let's use
    var oRect = app.activeDocument.rectangles.add({geometricBounds:[0,0,rectheight,rectwidth]});
    //You may need to use app.activeDocument.pages[x]... if you have a multi pages doc.
    app.select(oRect);
    app.cut()
    app.select(oInsertionPoints.item(-1));
    app.paste();
    heavy but it works.
    Loic

  • How do you set the Text in an Accordion Interaction?

    When trying to set the text in the Accordion Interaction, it behaves very strange. You can't set it. It starts out at 13 and then changes to either 10 or 30.
    Can anyone give some advise on how to set this?
    Thanks.

    Hello,
    Logged that bug (as well, have a long list). Workaround depends on your hardware: for some scrolling the mouse wheel will allow to change font size (doesn't work for me). On my Lenovo Thinkpad I have to use the trackpad, that has a scrollbar, to change the font size. Very cumbersome, was promised that it would soon be patched, crossing my fingers.
    Lilybiri

  • The scroll motion where I set the fill is only scrolling down

    The scroll motion where I set the fill is only scrolling down, even when I set it to go up. Has anyone else expereinced this? Can you help me correct this?

    Hi Crystal,
    Could you please explain in details what you have done so that I can test it out at my end? Is there a live page where I can check the issue? Can you create a trial site on BC and then show it to me so that I can investigate the issue further? Thanks.
    - Abhishek Maurya

  • How to Set the Text of an Onstage TextField?

    I'm trying to set an onstage TextField instance's "text" property, while maintaining embedded fonts and its onstage appearance.
    Problem Encountered: Text doesn't show up when setting text via ActionScript on an on-stage TextField w/ embedded text.
    Workaround: Create and assign a TextFormat object:
    defaultTextFormat = new TextFormat('Arial', 100, 0x000000, true, true);
    Annoyance: This defeats the purpose of styling text with the IDE.
    Possible Solution: Import the embedded font to the library and export for ActionScript?

    My problem was actually that merely setting the *text* property caused my dynamic TextField w/ embedded font to not display any text. BUT, I just re-tested this with a new file, and the problem doesn't occur. Only thing I can think of is -- my FLA was created with an older version of Flash... possibly MX 200(4?). Could this be the issue?

  • Setting the text in ComboBox when nothing is selected

    Hi, I want to ask you, whether there is any possibility to set text of a JComboBox, when nothing is selected. I want something like "Choose One" to be shown when no option is selected. Thanks for any help.

    Never mind, I got it, you have tu create your own renderer and set the text for null value selected

  • Setting the text content of an Entity

    Hi all
    In some java code I'm writing, if I set the text content of an element, it wipes out any sub-elements that were there before. I just want to confirm that this is correct behavior and that I am doing this correctly. If an element has text, it can't have other children, correct?
    code from my TreeModel is below
         public void valueForPathChanged(TreePath arg0, Object arg1) {
              Object o = arg0.getLastPathComponent();
              if (o instanceof Attr) {
                   Attr attr = (Attr) o;
                   attr.setValue(arg1.toString());
                   mTree.updateUI();
              if (o instanceof Element) {
                   Element el = (Element) o;
                   //el.setNodeValue(arg1.toString());
                   el.setTextContent(arg1.toString());
                   mTree.updateUI();
              }

    I was wrong you can have text and data I had just screwed up my tree model :)

  • Setting the text on a label

    Ok, I am new to writing Java programs and I am having trouble setting the text on a label. I think I am following the syntax perfectly but my compiler wont accept it. This used to work for me then all of a sudden it didnt work.
    Here is the code that I was writing. I am trying to set the text of the Label lab1. What am I doing wrong?
    import java.awt.*;
    import java.applet.*;
    public class exer4 extends Applet
    Button but1;
    TextField txt1;
    TextField txt2;
    Label lab1;
         public void init()
         but1 = new Button("Click Me");
         add(but1);
         txt1 = new TextField(5);
         add(txt1);
         txt2 = new TextField(5);
         add(txt2);
         lab1 = new Label("This is a label");
         add(lab1);
    }

    Try this
    import java.awt.*;
    import java.applet.*;
    import java.util.*;
    public class pay extends Applet
    Button but1;
    TextField txt1;
    TextField txt2;
    Label lab1;
    public void init()
    lab1 = new Label("This is a label");
    Panel pan = new Panel();
    pan.add(lab1);
    add(pan);
    but1 = new Button("Click Me");
    add(but1);
    txt1 = new TextField(5);
    add(txt1);
    txt2 = new TextField(5);
    add(txt2);
    ps see you around

  • Is it possible to create a view where table in the From clause changes name

    is it possible to create a view from a from a table like this
    create view my_view as select id, col1, col2, result from <<my_latest_cacahe_table>>;
    the table in the from clause changes the name .
    I have another table which indicates the the latest name of my cache tables. Always there are two records there. The latest one and previous one.
    select * from cache_table_def
    table_name cache_table_name refresh_date
    my_table cache_table245 1/23/2012
    my_table cache_table235 1/22/2012
    create table cache_table_def (table_name varchar2(25), cache_table_name varchar2(25), refresh_date date);
    insert into cache_table_def values( 'my_table','cache_table245','23-jan-2012');
    insert into cache_table_def values ( 'my_table','cache_table546','22-jan-2012');
    create table cache_table245 (id number, col1 varchar2(50), col2 varchar2(20), result number);
    insert into cache_table245 values(1, 'test123', 'test345',12.12);
    insert into cache_table245 values (2, 'test223', 'test245',112.12);
    create table cache_table235 (id number, col1 varchar2(50), col2 varchar2(20), result number);
    insert into cache_table235 values (1, 'test123', 'test345',92.12);
    insert into cache_table235 values (2, 'test223', 'test245',222.12);
    what I need to do is find the latest cache_table name for my_table and use that in my view defintion
    When user select from the the view it always reurns the data from the latest cache_table
    is it possible to do something like this in oracle 11g?
    I have no control on the cache tables names. that is why I need to use the latest name from the table.
    Any ideas really appreciated.

    I've worked up an example that does what you ask. It uses the SCOTT schema EMP table. Make two copies of the EMP table, EMP1 and EMP2. I deleted dept 20 from emp1 and deleted dept 30 from emp2 so I could see that the result set really came from a different table.
    -- create a context to hold an environment variable - this will be the table name we want the view to query from
    create or replace context VIEW_CTX using SET_VIEW_FLAG;
    -- create the procedure specified for the context
    - we will pass in the name of the table to query from
    create or replace procedure SET_VIEW_FLAG ( p_table_name in varchar2 default 'EMP')
      as
      begin
          dbms_session.set_context( 'VIEW_CTX', 'TABLE_NAME', upper(p_table_name));
      end;
    -- these are the three queries - one for each table - none of them will return data until you set the context variable.
    select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
    select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
    select * from emp2 where 'EMP2' =  sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    -- this is how you set the context variable depending on the table you want the view to query
    exec set_view_flag( p_table_name => 'EMP' );
    exec set_view_flag( p_table_name => 'EMP1' );
    exec set_view_flag( p_table_name => 'EMP2');
    -- this will show you the current value of the context variable
    SELECT sys_context( 'VIEW_CTX', 'TABLE_NAME' ) FROM DUAL
    -- this is the view definition - it does a UNION ALL of the three queries but only one will actually return data
    CREATE VIEW THREE_TABLE_EMP_VIEW AS
    select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    union all
    select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    union all
    select * from emp2 where 'EMP2' =  sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    -- first time - no data since context variable hasn't been set yet
    SELECT * FROM THREE_TABLE_EMP_VIEW
    -- get data from the EMP table
    exec set_view_flag( p_table_name => 'EMP' );
    SELECT * FROM THREE_TABLE_EMP_VIEW
    -- get data from the EMP2 table
    exec set_view_flag( p_table_name => 'EMP2');
    SELECT * FROM THREE_TABLE_EMP_VIEW
    For your use case you just have to call the context procedure whenever you want to switch tables. You can union all as many queries as you want and can even put WHERE clause conditions based on other filtering criteria if you want. I have used this approach with report views so that one view can be used to roll up report data different ways or for different regions, report periods (weekly, quarterly, etc). I usually use this in a stored procedure that returns a REF CURSOR to the client. The client requests a weekly report and provides a date, the procedure calculates the START/END date based on the one date provided and sets context variables that the view uses in the WHERE clause for filtering.
    For reporting it works great!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I inadvertently pressed CTRL+ another key (possibly V or B or N) and the text size of my bookmarked page was significantly reduced in size. I can't read it. How do I re-set the text size?

    I mistakenly pressed CTRL + another key (possibly V or B or N or whatever), when I was reading my e-mail. The text size shrank to a size that is useless to me, but I cannot seem to get the text size re-set to normal. Indeed all of the formatting on the page has been reduced (symbols, instructions, frames etc). Existing Firefox and returning to the bookmarked page makes no difference. How do I re-set the system?

    Hi,
    Please try '''Ctrl''' + '''0''' (zero). Alternatively '''View''' ('''Alt''' + '''V''') > '''Zoom''' > '''Reset'''.
    [https://support.mozilla.org/en-US/kb/how-do-i-use-zoom?redirectlocale=en-US&redirectslug=Page+Zoom Page Zoom]
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]

  • How can I set the text feild in a form to print out the entire feild?

    Right now it's only printing out what shows in the box, I want the box to expand when printed and show all the text entered in the field, how can I set it to do that?

    I think that the font size has to be set in the form itself, not the FDF.

Maybe you are looking for

  • How do i save a picture to the camera roll from a text message in ios 7

    I am attempting to save a picture from a text message to my camera roll. However when i hold the picture the options are "copy/More" More gives the options to delete or forward via text message. And if i press copy it only copies it to be pasted. In

  • Safari 6.0.5 thinks my mac is a mobile device, what to do?

    Hello, I am running OS X 10.8.4 (Mountain Lion) with Safari 6.0.5. Half a week ago when I opened up Safari, I was redirected to a mobile version of Google and other pages I use. The rest of the week I was looking for a solution to fix this, but I hav

  • Is Creating Environment Necessary

    In the situations of connecting an Akai MPC or Korg Triton in Logic LE9? If so, this is really slowing me down in my creative process. I am use to plug and play in Steinberg Cubase. I have everything connected correctly and all I can do is use my MPC

  • Download internal containt in CSV

    Hi all there , I want to dowload containt of internal table into csv file format, I have used following code but it is giving error while downloading how should i give the path in wf_file or what could be the solution CALL FUNCTION 'SAP_CONVERT_TO_TE

  • Unresolved home sharing/internet disconnections

    Hi, This morning I'm trying to watch a movie via home sharing on my Apple tv and I keep losing connection on my Apple tv and on my Mac.  I lose not only home sharing but also internet just everything drops, although the wifi icon still indicates I'm