How to change the button dynamically?

Hi,
    My Application is that,when i will press the button(on state-Enliglish text will come on the button,off state-Hindi Text will come on the button).
So,my problem is that i can't write hindi text on the button,so only way is that i can port the image from the file,so how cal i do this without customizing the button.
With Regards
Dibya

Broken Arrow wrote:
Baji wrote:
Place a boolean button in the LabVIEW front pannel and right click>>Advance>>Customize. ......
Message Edited by Baji on 05-29-2009 04:23 PM
The question, for whatever reason, was how to do this without customizing the button, although your solution is obviously the best way to do it, and how it is meant to be done.
So, my question to the original poster, why can't you customize the button like Baji has suggested?
Agreed.
I would also encourage posting both in English and your native tongue to try and clarify the issue.
Looking forward...
Dynamic language changes are best handled using property nodes to change the captions and text of all FP objects. It is a lot of work to set-up the first time but once completed, maintaining the code is straight froward.
If there are issues with just changing properties not fullfilling all reqs then a Picture Control takes care of most of the "all other cases" rather well (but is seldom trivial).
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • How to change the images dynamically in a table.

    Hai,
                     How to change the images dynamically in a table based on the condition in webdynpro abap.
    Edited by: Ravi.Seela on Oct 13, 2011 2:17 PM

    This has been much discussed earlier. Do search posts.
    For your scenario i would do the following.
    inside your node which is binded to the table, i create a new node image with cardinality 1 ..1 and a attribute called path of type string.
    create a  supply function for the node image .
    Supply method now has a Element (Parent element ) and node.
    Based on your record in element, set the right image source to path attribute and bind the node.
    This will make sure that the framework calls the image supply function for every row in a table.

  • How to change the image dynamically depend upon the input parameter

    Hi All
    I have one report running depend upon the Organization specific, I have 15 operating unit and 15 different logo for each operating unit.
    How to change the Logo dynamically depend upon the input passed by the user.
    If I have three or four logo i can add in my layout using if else statement and its works fine but i have more that 10 logos so its no possible to keep these in My RTF Template.
    Is it possible to change the logo according to the input without keeping this in Template.
    I have seen this link but its not working fine
    http://erpschools.com/articles/display-and-change-images-dynamically-in-xml-publisher
    Regards
    Srikkanth.M

    Hi,
    I have not completed fully,so sorry i cant able to share the files, could you please give me some tips and steps to do.
    Without having the logo in RTF if it possible to bring the logo depends on the user input (Ie Operating unit).
    Regards
    Srikkanth

  • How to change the button's clicked color

    Dear all,
    How to change the button's clicked color
    I want it to be white in color as my button's background color is white
    Thanks

    How to change the button's clicked colorvia the UIManager

  • How to change the button image in theme editor

    How can i change the button image in theme editor. If i upload another button image in theme editor it doesn't show me the full image. it cuts it from the right. how can i view  the full image as a button.
    Thanks

    HI,
      Check this link
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/modifying%252bthe%252blogon%252bpage
    Custom logon page
    Portal Customizations Intro - Login Part 1
    Change the portal logon page image programmatically
    Branding
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a000df6b-586a-2910-e6be-9fee831d5a30
    Thanks,
    Gopi

  • How to change the button colour automatically????

    i want to change the button color automatically ,if there is no data in next page ....plzz help

    Hi,
    create a binding for the data collection displayed on next page and do
    styleClass=#{bindings.iterator.estimatedRowCount<=0?'redClass' : ''}
    Then define a custom skin (see how to skin an application in the web developer guide) and use
    .redClass .af|commandButton{background-color:red}
    in this skin. Now when the page renders or when you PPR the button, the color should apply or not. Btw, the same EL on the disabled property or the rendered property would do the same trick (probably better than just a color change)
    Frank

  • How to change the button size of Calendar prompt

    I want to change the button size in Calendar prompt. How to change it?
    Thank you!

    I think it is not necessary to modify the Calendar button size.
    The Calendar button actual size is 20X20.
    But the gif file which is used by Calendar button is not filled by icon.
    It seems that the height is smaller than the other buttons.
    Edited by: user12291797 on Dec 3, 2009 12:59 AM

  • How to change the font dynamically in SAP script

    Hello,
    There are three fields for a line item to be printed in SAP form (Through Script). The font of one field has to be bigger than rest of the two.
    Can anybody tell me how to change the font of a specific field in a line of an SAP-script?
    Regards
    Kiran

    Hi,
    Its like any other character format. you can have any field with a character format.
    --Ragu

  • How to change the button lable for LOV ??

    when you press for lov you will get this LOV pop up. At the pop up, there are button , CANCEL,OK and FIND. i want to change to different word.
    any idea...how to do it.
    hairol

    see.. this is my problem,
    i'm writing a program to be used by users who don't speak english. I can change the prompt, lable and since the character set used is similar to english and that language is not supported so we use english.
    the problem is that these three button cannot display correct word for it. so my application will become half english and half other language.
    It believe it looks ugly.
    can't oracle do something to solve this problem.
    hairol

  • How to change the Button content as CamelCasing in Windows phone 8.1 Message dialog

    This was already raised in
    Stack over flow, While showing the native Message dialog in Windows phone, i cant change the captions as camel case of command buttons. Is this a bug with windows phone 8.1(WinRT) are is there any workaround to fix this issue?
    Sankar

    This isn't recommended and violates the system style.
    If you want a custom dialog you need to use a different control. The MessageDialog always lower cases the buttons to match the system style and is not generally customizable.
    If you use a ContentDialog you can customize it fairly extensively, and it doesn't try to fix the case of its buttons. You'll probably want to create your own ContentDialog class (there's a template under Add.New Item...) with your desired contents, but here's
    a quick content-free example:
    ContentDialog cd = new ContentDialog();
    cd.Title = "My Title";
    cd.PrimaryButtonText = "CoNtInUe";
    cd.SecondaryButtonText = "sToP";
    await cd.ShowAsync();
    Also note that the guidelines
    for message dialogs suggest using clear and specific verbs rather than generic OK/Cancel.

  • How to change the content dynamically by date wise

    Hi,
    In my application, i have a survey module.
    In that i have to change the question by every week, which iam getting
    from the Database.
    Iam using java,and mysql DB, framework struts.
    How can i update the question for every week ??
    What is the procedure to attain it.
    Give me suggestions and tips to startup.
    Thanks,
    Mohan

    The cron command would do that on Linux and Solaris. On Windows, use a similar command.

  • How to change the geometry dynamicly

    Hello,
    I'm a newbie for java3d. I'm developing a degning tool with java3d, and need to change the geometry frequently therefore. However, the 3d result always shows the initial data only. Can someone gives me a hint about what's the problem, and how can I solve it?
    Thank you very much!
    xiaoni
    Following is the relative codes:
    private SimpleUniverse su;
    private BranchGroup sceneBG;
    private BoundingSphere bounds;  // for environment nodes
    public void paintComponent(Graphics g) {
            setLayout(new BorderLayout());
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            Canvas3D c = new Canvas3D(config);
            add("Center", c);
            c.addKeyListener(new KeyHandler());
            su = new SimpleUniverse(c);
            createSceneGraph();
            initUserPosition();        // set user's viewpoint
            orbitControls(c);   // controls for moving the viewpoint
            su.addBranchGraph(sceneBG);
        public void createSceneGraph() {
            sceneBG = new BranchGroup();
            bounds = new BoundingSphere(new Point3d(0,0,0), BOUNDSIZE);  // for environment nodes
            lightScene();         // add the lights
            addBackground();      // add the sky
            sceneBG.addChild( new CheckerFloor(affine).getBG() );  // add the floor
            addBuilding();
        //    sceneBG.compile();   // fix the scene
       private void addBuilding(){
            BranchGroup floorBG = new BranchGroup();
            ArrayList groundArray = new ArrayList();
            int num;
            Point3f p1;
            Vertex v1;
            for (int n = 0; n < buildings.size(); n++) {
                ground = buildings.get(n).getGround();
                num = ground.getNumber();
                for (int i = 0; i < num; i++) {
                    v1 = ground.getVertex(i);
                    p1 = new Point3f(v1.x,v1.z,v1.y);
                    groundArray.add(p1);
                floorBG.addChild( new ColouredObj(groundArray, white) );
            sceneBG.addChild(floorBG);
        }note:
    1. buildings is a global variable, which stores the geometry data. When the data is changed somewhere else, the 3D result does not change therefore.
    2. ColouredObj is a class extented from Shape3D, which transfer the format from arrayList to quadArray, providing both gemetry and appearance.

    Ok, thank you for your reply.
    In fact, it doesn't change anything on my OBJ objects : they always look strange (Java interpretation of faces more than 3 points is quite strange for me)... I will try to decompose each faces of my objects into triangles, but if you know an other easier method, it would be great !
    So, I consider this topic solved, thank you for your help !!!
    Regards.

  • How to change the Button Style

    I have some buttons(all are submitt buttons) in my page, when i run my page locally the styles are same but when i deploy it in server the button style changes to rectangular, i tried by giving attribute set value to /oracle/apps/fnd/attributesets/Buttons/Go, even then the same problem, can any one give me the solution for this

    Babu,
    Can you confirm Self Service Accessibility Features profile value is set to "Standard Accessibility".
    --Mukul                                                                                                                                                                                                                                                                                                       

  • How to change the skin dynamically

    Hi
    I have six projects in my application.so each project has trinidad.xml file for Skin configuration. My problem is if I changed the skin at one project it should reflect in all other projects .
    When I moved from one .jxpx in a project to another one .jspx in another project within the application the skin need to be set in Trindad-config.xml file
    Can u plz post your ideas?????

    Thanks for your reply Frank,
    Actually Im following the steps you have mentioned,
    1.I used selectOneChoice in a .jspx file in the 2nd project to set the skins in the database using the managed beans
    2.In the managed bean itself I tried to set in the trindad-config.xml file by setting in the following EL #{sessionScope.skinFamily} and used to refresh the page by redirecting to that particular URL.I have given the following code used in the managed bean
    String skin;
    public void changeSkin(ValueChangeEvent valueChangeEvent) {
    this.skin = (String)valueChangeEvent.getNewValue();
    int result = 0;
    CommonAppModuleImpl appModuleImpl =
    (CommonAppModuleImpl)BackingUtils.getApplicationModuleForDataControl("CommonAppModuleDataControl");
    result = appModuleImpl.updateSkin(this.skin);
    FacesContext context = FacesContext.getCurrentInstance();
    if (result == 1) {
    ELContext elContext = context.getELContext();
    ExpressionFactory ef =
    context.getApplication().getExpressionFactory();
    ValueExpression ve =
    ef.createValueExpression(elContext, "#{sessionScope.skinFamily}",
    Object.class);
    ve.setValue(elContext, skin);
    } else {
    System.out.println("*****Skin value did not change in DB*****");
    String currentView = context.getViewRoot().getViewId();
    String actionUrl =
    context.getApplication().getViewHandler().getActionURL(context,
    currentView);
    try {
    ExternalContext eContext = context.getExternalContext();
    String resourceUrl = actionUrl;
    eContext.redirect(resourceUrl);
    } catch (IOException ioe) {
    System.err.println("Problem trying to reload the page:");
    ioe.printStackTrace();
    3.While Im moving from some1.jspx file in the 2nd project to some6.jspx file in 5th project,
    I used the following steps,
    In the beforePhase() of the some6.jspx, I called a managed bean and retrived the skin value from the database and set it in the EL but It will not reflect in the trindad-config.xml because when we hit any URL in the project then only the xml files configured.
    But while Im trying in the __onLoad()_ in the pageListener controller class_ it works.
    this works fine..
    this works fine..
    this works fine..
    But now my problem_ is In my some2.jspx file in 2nd project Im using four panelBox ,in these panel box they used to call the some4.jspx file in the 4th project as inline frame by some URL[] methods.As a beginner I dont know about that.can you please give me Idea about this method
    the follwing InlineFrame is used in the panelBox
    <af:inlineFrame id="iframe1"
    shortDesc="#{bindings.PanelTitleList.items[1].label}"
    source="#{url[bindings.PanelUrlList.items[1].label]}" //please note this source url[] method
    styleClass="Panel"
    partialTriggers="refreshLink1"/>
    can you please give me information about this url[[] method
    Thanks in Advance,
    Felix

  • How to change the pattern dynamically in an Entity Level RegExp Validation?

    Hi,
    In entity attribute level, i gave a Regular Expression Validation. In validation i hardcode the pattern like [A-Z a-z]{0,25}. Is it possible to assign the Pattern of RegExpValidationBean in Entity from a property file or a EL for getting the pattern.
    Example:
    <validation:RegExpValidationBean
    Name="FirstName_Rule_0"
    ResId="SHOULD_BE_ALPHABET"
    OnAttribute="FirstName"
    Pattern="PATTERN_ALPHABET"
    Inverse="false"/>
    Can anyone help me regarding this???
    Thanks & Regards,
    Perumal S

    Hi,
    Its like any other character format. you can have any field with a character format.
    --Ragu

Maybe you are looking for

  • Flash Player Doesn't Work

    I have a dell laptop running win xp and the latest i.e. browser and I've installed the flash player and get that cute spinning sign saying it's installed but when I go to any site that uses flash (examples: youtube.com, karibyron.com) I can't do squa

  • K7n2g-l

    Hi, i have a little problem with the sound. I set to use the 5.1 option, i listen the front speaker good, but the others, rear, center and sub speaker, very, very low. I tried with the NVIDIA and REALTEK drivers, and i can´t loud the sound. WHY??????

  • What's the Manufacturer of the Super-drives for all three Unibodies 13-17"?

    FOR: 13, 15, and 17" Just wondering, thanks!

  • Path to FLV on FMS to play in FLVPLayback?

    I have FMS 4 and using AS3, no matter what I do I can't get any of my recorded FLVs to play in FLVPlayback. Is there somethign I'm supposed to install on FMS to get it to play properly? WHat should  my path be? I've been told that the flv are living

  • REQ table is not populated

    Hello experts, in my IDM envt, when I submit request, REQ table never gets populated. All the requests can be seen in REQUEST table. Is it an issue or that's how it is designed in 11.1.1 ? can you please clarify ? thanks