Tab page select

Hi All
I've posted this question a short while ago, but had no response, so I'm trying again with a very stripped down piece of code.
The attached vi is a simple one. It simply scrolls through 2 pages with a tab control, and reutrns to front page.
I'm using the pane "mouse down" event to do the above.
What I'm trying to do (with no success) is run a piece of code everytime page 2 is selected (at the moment I'm trying to turn on an LED).
Could somebody please give me a clue as to how ro do it?
Caveat.....must keep the pane "mouse down" event for page selection.
Thanks for any help
Regards
Ray
Solved!
Go to Solution.
Attachments:
TabControl.vi ‏17 KB

Ravens Fan
The code that was posted by Anan works if using the tab control to change pages.
Unfortunately, I cannot use the tab control to fire an event to change pages.
The postings seem to be wandering off my original post (or I'm really missing something in the above missives).
Let me try another approach.
The application this code is for is a large screen display on public viewing. The public do not (and should not) have access to a mouse or keyboard. In fact, the ONLY cobtrol to the screen for public uses is a mom push-button switch.
When the vi starts the mouse cursor (see my other posting) could be anywhere on the screen, and no way of guiding it to the tab controls at the top of the FP.
Therefore the client wants the public to use the PB switch to scroll through the pages...one after another. There will eventually be 4 pages of information and displays for public consumption.
The last page of the display will play a short movie (<30 seconds).
I hope that gives a clearer picture of why I need to use the pane "mouse down" event to change pages......
Thanks for your interest guys
Ray

Similar Messages

  • Trigger for Tab page selection

    Hi all,
    I have a form with a tab canvas with 3 tab pages. I have a multi record block in an tab page and I need to refresh the data in that block when i select the tab page. I have put the execute_query in when-new-block-instance of that block but, its not working. It will get queried only after i click on any fields of that block.
    Any ideas??
    With Regards,
    Yathish

    check this sample code used in when-tab-page-changed, topmost_tab_page value is what you need to know:
    DECLARE
    tp_nm VARCHAR2(30);
    tp_id TAB_PAGE;
    tp_lb VARCHAR2(30);
    BEGIN
    tp_nm := GET_CANVAS_PROPERTY('emp_cvs', topmost_tab_page);
    tp_id := FIND_TAB_PAGE(tp_nm);
    tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
    IF tp_lb LIKE 'Sa%' THEN
    SET_TAB_PAGE_PROPERTY(tp_id, label, 'SALARY');
    ELSIF tp_lb LIKE 'Va%' THEN
    SET_TAB_PAGE_PROPERTY(tp_id, label, 'VACATION');
    ELSE null;
    END IF;
    END;
    Message was edited by:
    Rondelek

  • Button/tab page selections fail to respond

    we have a number of web-sites built with VS 2012 that normally run okay, but on occasion internal tab or button selections that usually result in a page change within the application fail to respond.  When this occurs the mouse
    over will display the text "javascript;" instead of expected URL name.  Since it is only occasional and not all the time, I suspect it may have something to do with physical server load balancing, in that the URL is set to work on
    most of the servers where others may not have been configured the exact same when chosen or possibly it has to do with a server being too busy at the time, but would expect an error or wait message instead of a lack of response.  Is there an explanation
    and fix for this behavior?

    Hi,
    Tools>Internet Options>Security tab, click "Reset all zones to default".
    "When this occurs the mouse over will display the text "javascript;" instead of expected URL name. "
    indicates either
    Active Scripting is disabled in the zone where the site maps to (File>Properties)
    or
    Your AV product has disabled Active Scripting (javascript).
    To avoid confusing error messages and links 'not working' add <noscript> tags to your web pages.
    If possible please include a link to your website or a mashup with your questions.
    Regards.
    Rob^_^

  • Detecting the current tab page

    Hello All,
    I am working on a task for our current project which requires that I correctly identify the
    current tab page selected on the user's page.
    Toward that, I was passed some information about the function:
    wwpob_api_page
    function get_selected_tabs( p_pageid in number,
    p_store in wwsto_api_session,
    p_tabstring in varchar2,
    p_tabviewprivs in out wwsbr_type.boolarray,
    p_pages in out page_table,
    p_base in boolean
    return varchar2;
    which appeared in version 3.0.6.X.
    I was unable to locate this function in the 3.0.7 / 3.0.8 api installed on our machine, but since I
    only have access to view the public interface of this package, and wondered if this function was
    still available.
    Has the function been moved, or included elsewhere, or deleted?
    The success of this task depends on having a reliable way to determine which tab page is
    currently selected/viewable.
    Is there another / better method for accomplishing this?
    Any help would be most appreciated.
    Stuart Dautrich

    That isn't a supported API yet. I'm not aware of any current functionality that will allow you to find the current tab.

  • Unable to add Tab Pages in EH&S Configuring Tab Pages

    Hi,
    I am working on Integration of Time Management with Industrial Hygiene and Safety.
    In EH&S configuration under Industrial Hygiene and safety /Basic Settings/Configure Tab Pages ,When I select Object Type with work Area as 'AFP - Data on person affected' , I get the list of following tabs
    DESC     Treatment
    INJURY     Injury/Illness
    REPT     Ind Hyg. Safety Data
    I cannot see the TDAT  Time Data, when I tried to add new tabs , I can list the Time Data tab , but I cannot populate the selected Time data tab in the configuration.
    Please let me know if I need to do more settings and what settings should I do for this tab to appear.
    Please help me to resolve this issue asap.
    Thanks,
    Babitha

    Hi
    With SAP ECC 6.0 YOu must me having EHS 3.2
    With this TDAT comes as default setting,
    Although if it is not there what you can do is, Go to configure tab pages select object type work area as AFP. Click on append button. You will get field selection Client, Tab, Description. You tick mark on Clent and Tab. Select client 000 and Tab -TDAT and click on append.
    Hope this will work.
    Other wise if you wont to add new TAB you have to go to IMG activity "Assign Value Assignment Types to Classes "
    Create value assignment type, Give vategory, assign class then match up master data This will create new tab page. You have to create characteristics for the fields you want under this tab page.See the SAP help for this. Pl note that you can not create new tab using Configure tab pages.
    Regards
    Suhas

  • Tab pages not changed when selecting from TAB LIST

    Hi All,
    I have a form which has 15 tabs, 1st 10 Tabs are dynamic (enabled at new form instance, depending on configuration) and 11 to 15 are Static tabs visible for all.
    My problem is when i am clicking on tabs iam able to switch tabs, but when I select tab from Tab List I am not going to the selected TAB.
    Ex: when I am in TAB 1 and Select TAB15 from Tab list My form Still Stays in TAB1 and not moving to TAB 15
    Please provide me a Solution.
    My code in WHEN TAB PAGE CHANGED is
    DECLARE
    l_curr_rec NUMBER;
         BEGIN
              l_curr_rec := :SYSTEM.CURSOR_RECORD;
              --Get the Top Default Tab Page for the Form
              SHOW_VIEW('HDR_CANVAS_FIXED');
              :global.headers:=GET_CANVAS_PROPERTY('TAB_CANVAS', topmost_tab_page);
         IF(:GLOBAL.HEADERS='AS_REC_IMAGE')THEN      
    SHOW_VIEW('AS_REC_IMAGE');
    SET_VIEW_PROPERTY('AS_REC_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('AS_REC_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('AS_REC');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='TRIM_REC_IMAGE')THEN      
    SHOW_VIEW('TRIM_REC_IMAGE');
    SET_VIEW_PROPERTY('TRIM_REC_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('TRIM_REC_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('TRIM_REC');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='AS_SHIP_IMAGE')THEN      
    SHOW_VIEW('AS_SHIP_IMAGE');
    SET_VIEW_PROPERTY('AS_SHIP_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('AS_SHIP_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('AS_SHIP');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='TRIM_SHIP_IMAGE')THEN      
    SHOW_VIEW('TRIM_SHIP_IMAGE');
    SET_VIEW_PROPERTY('TRIM_SHIP_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('TRIM_SHIP_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('TRIM_SHIP');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='EXTRA')THEN      
                   ---Show the Export Canvas---------     
    SHOW_VIEW('EXTRA');
    SET_VIEW_PROPERTY('EXTRA',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('EXTRA',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('EXTRA');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSE -- DYNAMIC TABS
    --Hide all the other  static canvases
    IF (:GLOBAL.HEADERS='CT01')THEN
         GO_BLOCK('CT01');
    ELSIF (:GLOBAL.HEADERS='CT02')THEN
         GO_BLOCK('CT02');
    ELSIF (:GLOBAL.HEADERS='CT03')THEN
         GO_BLOCK('CT03');
    ELSIF (:GLOBAL.HEADERS='CT04')THEN
         GO_BLOCK('CT04');
    ELSIF (:GLOBAL.HEADERS='CT05')THEN
         GO_BLOCK('CT05');
    ELSIF (:GLOBAL.HEADERS='CT06')THEN
         GO_BLOCK('CT06');
    ELSIF (:GLOBAL.HEADERS='CT07')THEN
         GO_BLOCK('CT07');
    ELSIF (:GLOBAL.HEADERS='CT08')THEN
         GO_BLOCK('CT08');
    ELSIF (:GLOBAL.HEADERS='CT09')THEN
         GO_BLOCK('CT09');
    ELSE --ELSIF (:GLOBAL.HEADERS='CT10')THEN
         GO_BLOCK('CT10');
    END IF;
              END IF;
         END;
    Thanks,
    Durga Srinivas.
    Edited by: DurgaSrinivas_886836 on Dec 3, 2012 8:12 PM

    In your trigger, you are doing a SHOW_VIEW ('HDR_CANVAS_FIXED'); before you select the :GLOBAL.HEADERS information. I'm not sure what HDR_CANVAS_FIXED is, but I am wondering if that is what is messing you up. What happens if you either comment that out:
    DECLARE
      l_curr_rec     NUMBER;
    BEGIN
      l_curr_rec := :SYSTEM.CURSOR_RECORD;
      --Get the Top Default Tab Page for the Form
      --SHOW_VIEW ('HDR_CANVAS_FIXED'); /* <-------------------------------------------------------Comment it out */
      :global.headers := GET_CANVAS_PROPERTY ('TAB_CANVAS', topmost_tab_page);
      IF (:GLOBAL.HEADERS = 'AS_REC_IMAGE') THEN
        SHOW_VIEW ('AS_REC_IMAGE');
        .or if it is necessary move it to after the :GLOBAL.HEADERS:
    DECLARE
      l_curr_rec     NUMBER;
    BEGIN
      l_curr_rec := :SYSTEM.CURSOR_RECORD;
      --Get the Top Default Tab Page for the Form
      :global.headers := GET_CANVAS_PROPERTY ('TAB_CANVAS', topmost_tab_page);
      SHOW_VIEW ('HDR_CANVAS_FIXED'); /* <------------------------------------ Swap it with :global.headers */
      IF (:GLOBAL.HEADERS = 'AS_REC_IMAGE') THEN
        SHOW_VIEW ('AS_REC_IMAGE');
        SET_VIEW_PROPERTY ('AS_REC_IMAGE', VISIBLE, PROPERTY_TRUE);
        SET_TAB_PAGE_PROPERTY ('AS_REC_IMAGE', ENABLED, PROPERTY_TRUE);
        GO_BLOCK ('AS_REC');
      --Hide the other canvases except the Pricing Canvas
      ELSIF (:GLOBAL.HEADERS = 'TRIM_REC_IMAGE') THEN
        SHOW_VIEW ('TRIM_REC_IMAGE');
        .

  • Change the data selection tab page in an InfoPackage

    Hi SDN Community,
    Is it possible to have an Infopackage and change the data selection tab page ? Because  I would like to know if  I can change the select-options by a parameter.
    For example: Now you can enter 01.01.1950 as the start date and 31.12.9999 as the end date,
                          I only want that the user enter the start date.
    Thanks a lot,
    best regards.
    Ana

    Yes, I tried an abap routine option and the result is not good because the user can't put the information in the low (start date) parameter.
    Thanks

  • Firefox STILL does not open the home page when a new tab is selected

    I have just 'upgraded' to FF4 and expected that the irritating 'new tab homepage load situation' would have been resolved by now: sadly, it looks to STILL be around.
    MS IE has been loading the homepage DIRECTLY when a new tab is selected for about FOUR YEARS now, so I'm staggered that such a simple but very useful feature is not available in Firefox.
    The obvious question is WHY??
    In IE, you don't have to keep hitting the home page button to carry out a search in google when a new tab is selected, and IE does NOT need an 'add-on' to incorporate this functionality; it really is quite irritating that the function is still not built-in to FF, and the coding requiret to incorporate the function ain't rocked science Mozilla people - WHY has this not been put into effect by now?

    Some people prefer a blank tab because it takes no time to load. Some people prefer their home page. Some people prefer a list of most frequently used sites. It would be convenient if all of these options were built in, but obviously no one stepped up and made it a priority.
    By the way, another way to search in a new tab is: Using the search box (on the toolbar), after typing your query, either press Alt+Enter or Ctrl+click the magnifying glass. This opens the search in a new tab and saves that step.

  • R11i - Can tab pages be selected via the keyboard?

    On a form with multiple tab pages, is there a way to select a specific tab page using only the keyboard?
    I see that F2 will pop a small window listing the tab pages, but you still need the mouse to select one.
    And I don't want to press the TAB key thru all of the fields on a tab page to get to the next.
    Any ideas?
    Thanks!
    null

    Hello,
    Shan Pin Koh is correct...you can change the color of a Tab Control (from the "Array and Cluster" subpalette) with your paintbrush tool. There is currently no way to assign different colors to different pages, but this is a feature that will be available in the next release of LabVIEW.
    I hope this answer sheds some light on the situation for you. Have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Just upgraded to 5 from 3 - what happened to the page select icon? Can't find it in customize toolbars.

    Used to be you could select which page you wished to go back or forward to from the arrow icons on the navigation toolbar. The history menu item only shows 10 sites without having to open history for today. What happened? Is there another icon or a new plug in for this functionality? I used it all the time.

    ''what happened to the page select icon (Back/Forward)''
    The back/forward buttons have been moved to right-hand side of the navigation bar and the drop-down was removed. User right-click or hold click for one second to see the tab history. This is item #5 in my list.
    The History menu also has "Open Previous session" and "Open closed windows",
    to see more history use the History sidebar ("Ctrl+H") or the History Library List ("Ctrl+Shift+H") and sort or view by "Last visited".
    You can make '''Firefox 5.0.1''' look like Firefox 3.6.19, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 5.0.1, or 4.0.1, look like 3.6.*)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • Excise Invoice Tab Page/ Document Info  Tab Page is not appearing in MIGO

    Dear Friend
    For a particular job work PO , with account assignment category F & item category L, non valuaated material, when we are doing migo, excise invoice tab page/ Document Info tab page is not appearing in document header. From The said tab page we can select the challan.
    In J1ID, I have maintained Vendor PAN number and also material chpter id combination.
    Thanks
    Chandra

    Hi
    I maintained material chapter Id combination & vendor Excise Details. We do not maintain any plant -vendor combination. This is a non valuated material with material type unbw. Do I need to maintain cenvat determination tab for this material?
    Thanks
    Chandra

  • Document could not be printed - no pages selected to print

    I am running into this well-known issue with several documents, but unfortunately none of the fixes I have come across have worked. Some background:
    -Using Windows 7 Pro
    -Happening with both Adobe Reader XI and Acrobat X, clean installs. and happening on multiple computers, with multiple printers, with multiple domain users.
    -Have tried repairing both installations, no success.
    -Have tried disabling protected view, changing size of the fit, letting printer determine colors, printing in greyscale, changing setting for "view documents in PDF/A mode" to "never."
    -Print as image works, but quality is unacceptable.
    -It seems to be isolated mainly to Xerox printers, as I have no issues printing to an HP printer. I am trying different models of Xeroxes with no success, however. I have reinstalled printer driver and verified updated driver for all, issue persists. Printer models are Xerox ColorQube 8700X and 9203
    -The PDFs are from different sources, so I can't pinpoint it to one website. Documents contain various financial info, so I can't post here. Any help would be appreciated. I'm probably going to have to try a different pdf reader for these, but that is not ideal, since multiple people need to print these and are comfortable using Adobe software.

    I was also receiving the message "The Document Could Not be Printed" I am on 10.6.4 with Acrobat 9.4.1. I did not get the second part of the message though "There were not pages selected to print". Anyway, I got mine to work by going to Preferences - Print & Fax. I selected my printer and clicked Options & Supplies. Under the driver tab I changed the "Print Using:" box to Generic PostScript Printer. I'm not sure if this is what you are supposed to do. I'm not an expert but it worked for me so I am going with it.

  • "The Document Could Not be Printed" "There were no pages selected to print"

    OSX 10.6.6
    Acrobat Pro 9.4.1
    I am getting this error when printed from certain PDF files. My best guess is it is a font conflict because if I change the font in the document and re-export the file the document prints fine. But changing the font (and it happens with multiple fonts) is not an option.
    Most of my documents are very large (up to 1,500 pages) and I use an InDesign plug in to merge data to create my PDFs.
    I can print the document out of InDesign CS3 without any problems. If I open the file in Apple's Preview it prints or if I log out and log back in under a different user it prints.
    But when this documents are printing out of acrobat I get those errors. It won't print to any of my mupliple printers (USB or network).
    Spent an hour on the phone with Adobe today and got no answers at all. They are telling me it a corrputed user issue. (that is only effected in acrobat when printing certain documents.... OK).
    With all the messing around I have done I'm guessing it has something to do with certain fonts during the export of the PDF from InDesign.
    If anyone has any ideas or suggestions, please let me know. I have been fighting with this issue for a while now and today it is causing a major issue.
    Just let me know if you need any additional information and thanks in advance for your help.
    Coyote

    I was also receiving the message "The Document Could Not be Printed" I am on 10.6.4 with Acrobat 9.4.1. I did not get the second part of the message though "There were not pages selected to print". Anyway, I got mine to work by going to Preferences - Print & Fax. I selected my printer and clicked Options & Supplies. Under the driver tab I changed the "Print Using:" box to Generic PostScript Printer. I'm not sure if this is what you are supposed to do. I'm not an expert but it worked for me so I am going with it.

  • Tab pages in oracle forms

    hi ,
    I have two different Content Canvases in oracle form 6i and my requirement is such that i need to have these two
    content canvases in tab canvas pages.
    can Any one please tell me how i have to join these two content canvases in two tab pages.
    since i don't have idea about forms.
    if any one could give coding for these issue it would be nice.
    say one canvas name a and another canvas name b and i have pages namely taba and tabb
    now i have to write trigger for tab canvas pages . if any one suggest any idea i could implement it.
    once it is ready i would be implement in oracle apps as well .
    other informations are.
    it have one window
    iam using oracle form 6i,
    help me in this regard .

    say one canvas name a and another canvas name b and i have pages namely taba and tabb
    now i have to write trigger for tab canvas pages . if any one suggest any idea i could implement it.
    once it is ready i would be implement in oracle apps as well .
    HI , Your Logic is okay.
    What you have to do is,
    Open your existing from
    In Canvas - Create New canvas with Type 'TAB'
    And Create Two Tap Page - A & B.
    select existing each items in existing canvas and select main canvas and TAP page -A or B
    Once completed you can run your form as like before without any coding changes,
    Regarding your question for TAB trigger code, generally you do not need any code as it is auto select.. by mouse.
    CHeck and reply back with you further queries

  • Scrollable stacked canvases on tab pages

    I am in the design phase of a project and I have been building some 'mock-up'screens for the user to review. I have been trying to build a form which has a scrollable canvas stacked on a tab page.
    This works fine, however there is a dynamic element to the page which is controlled by selection of a radio button, which displays another stacked canvas on top of the first one.
    This all works well and good, until you try and scroll the first stacked canvas by its scroll bar. The content of the stacked canvas scrolls ok, but the second stacked canvas remains in situ and doesn't move.
    I have trawled all the online documentation and both the Metalink and Technet fora, but can't find any guidance on this.
    Am I trying to acheive something which Forms 6i can't do, or is there a bug, or am I missing something?
    For your information here is what I'm running:
    Forms: 6.0.8.8.0
    WinNT: 4.0 SP5
    RDBMS: 8.1.6.0
    Here's a schematic of the form I'm trying to build....
    | Content Canvas !
    -------------+ !
    ! tab1 ! tab2 ! !
    !------+ +------------------------------!
    ! ! Stacked canvas (scrollable) ^ ! !
    ! ! Radio Group (o) ( ) # ! !
    ! ! ! Stacked canvas (dynamic) ! # ! !
    ! ! ! Hidden or Displayed depending ! # ! !
    ! ! ! on above radio buttons. ! # ! !
    ! ! V ! !
    Thanks in advance,
    John G. Williamson

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by carusab ():
    I think a stacked canvas "stays put",
    a stacked canvas has no relation to
    another canvas so it will not "know" that
    its "parent" canvas has moved.
    I wish there were a WHEN-SCROLLBAR-* trigger
    and that scrollbars would be objects of
    their own... maybe in Forms7?
    /Charles<HR></BLOCKQUOTE>
    I suspect you're correct. I am going to have to something long-winded with 'set_item_property'. As you say, let's hope Forms 7 can cope with this.
    Many thanks,
    John
    null

Maybe you are looking for

  • "error" message while  installing OS X Tiger from DVD

    I get through the first disk OS X Tiger DVD ok, and on to the second, iLife '06 installs fine, but on the second disk when it's in the middle of installing GarageBand, the "error...please try again" message comes up and ejects the disk. These are the

  • Ipad wont sync - HELP!!

    today I updated my iPad to ios5 but since then my iPad will not sync, it says an unknown error occurred. please help as I can not sync my music and apps. thanks in advance.

  • Choosing a value based on newest date, and newest value

    Good Afternoon, I'm in search of help on a statement Im trying to perform in a Query transform in my ETL. So this is the scenario. I have a Value called SGSGVL which is "CYW" and in our descriptions table for the VALUE CYW we have 3 different Descrip

  • Changing error message for mandatory field in me21n

    Hi, We had made the field "Collective no." of the additional data tab of the me21n transaction mandatory. We also change the name of that field to a custom name. Now if the user doesn't enter text in that field we get the error "Please enter Collecti

  • Reg:USEREXITS & IDOCs

    hi gurus, can anyone help me out briefly about userexits and idocs by giving an example, and in which type of scenarios we normally use those. thanks&regards Rajashekar...