Activate scrollPane Scrollbbars at runtime

Hello,
I'm having an issue here trying to make scrollPane scrollbars to apear and work
I'm creating one scrollPane at runtime with
var sp_veiculos:ScrollPane = new ScrollPane();
sp_veiculos.name = "sp_veiculos";
addChild(sp_veiculos);
then I want to have an if statmento to make the scrollbars apear if I need like
if (numero_veiculos < 3) {
     sp_veiculos.verticalScrollPolicy = "OFF";
     sp_veiculos.horizontalScrollPolicy = "OFF";
} else {
     sp_veiculos.verticalScrollPolicy = "ON";
     sp_veiculos.horizontalScrollPolicy = "OFF";
this does not work...
Any help please?
Thanks
Pluda

Refplace following piece of code and it should work.
import fl.controls.*;
var numero_veiculos = 4;
if (numero_veiculos < 3)
     sp_veiculos.verticalScrollPolicy = ScrollPolicy.OFF;
     sp_veiculos.horizontalScrollPolicy = ScrollPolicy.OFF;
else
     sp_veiculos.verticalScrollPolicy = ScrollPolicy.ON;
     sp_veiculos.horizontalScrollPolicy = ScrollPolicy.OFF;
  sp_veiculos.refreshPane();

Similar Messages

  • How to disable/activate Triggers after/before Runtime

    Hi All,
    D/b having triggers say all triggers running on day 25th of every month.
    Is there any way so that i can disable all the triggers when it is not in use/running except on the day 25th of every month and activate it before run time.
    Thanks in Adv.
    Junu

    Can't think of a reason for this requirement, but if you are using 10g you could use
    ALTER TABLE tablename ENABLE ALL TRIGGERS;
    ALTER TABLE tablename DISABLE ALL TRIGGERS;
    Regards,
    PP

  • SOAP Runtime Exception: CSoapExceptionTransport :(100101) please help me!

    Hi,
    there is not any problem to test the connection of ADS in SM59 but i have a problem when activating interactive forms.
    An error during activate the form 'SOAP Runtime Exception: CSoapExceptionTransport :(100101)'
    How can i solve this problem? Can somebody help me please?
    Thanks.

    Hello,
      Have a look at this thread
    adobe document services communication problem
    Regards

  • Runtime Error when generating Backend Adapter

    Hi All,
    I have a problem when im trying to generate a backend adapter for a data object with two nodes. it is just a simple data object with a root node and a child node having sales order header data & item data.
    when im trying to activate i get a runtime error which is listed below.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Except.                CX_SY_OPEN_SQL_DB
    What happened?
        An exceptional situation has occurred in the ORACLE software,
        possibly due to an error.
        This is not an error in an application program.
    actual source code trigger location: modify seocompodf from table modify_seocompodf.
    Please help me with this if possible.
    Thanks & Regards,
    Malinda

    Hi Malinda,
    Below link would be usefull:
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/runtime-error-dbif_rsql_sql_error-2649777
    Above link mention why problem is coming
    Runtime Errors DBIF_RSQL_SQL_ERROR & Exception: CX_SY_OPEN_SQL_DB
    According to above link, its problem with database and your Basis team to set up the database according to the note 1005758. It will definitely solve your problem.
    Regards,
    Abhishek Joshi

  • Modelled deadline with  multiline container  subworkflow woes

    Hi,
    In a modelled deadline I am trying to put a subworkflow step with a mutliline container element
    ( ie when deadline reached, run the subworkflow once for everything in the container.
    Workflow(s) compile and activate ok, however at runtime
    I get the following error :
    Inconsistent workflow definition: Join for fork node no. 158 not found       
    (this is the subworkflow node)
    Extras -> Special functions -> Block correction didn't find anything. Tried saving & activating, logging on and off, sacrificing chickens.. well maybe not the last one
    yet !   Any ideas ?
    PS Binding : &W_FC_MGR[&_WF_PARFOREACH_INDEX&]&  =>  
                &W_AGENT&

    Hi Ian,
    Always mention system/version when asking questions.
    On older systems (4.6c I think) I've had some strange things happen when creating modelled deadlines manually. So I got into the habit of using the wizard to intially create all my modelled deadlines on pre-620 systems.
    Failing that, most of the time I've seen those type messages I was right and the WF builder was the confused one. The time-saving route is often to simply delete and recreate the offending step.
    Failing that, try creating it elsewhere in the WF and seeing if that checks out OK. If so, then cut-n-paste it to where you want in your deadline. If it complains after that (unlikely), log it with OSS.
    Cheers,
    Mike

  • Whats the role of mirror servlet in extending an ABCS?

    Hi
    I am trying to extend an ABCS service.
    I went to ProcessSalesOrderSiebelReqABCSImplExtensionV2 partner link and wsdlRuntimeLocation property points to http://SOA_HOST:SOA_PORT/AIAComponents/ExtensionServiceLibrary/Siebel/ProcessSalesOrderSiebelReqABCSImplExtensionConcrete.wsdl.
    When I checked this wsdl; its referring to <soap:address location="http://SOA_HOST:SOA_PORT/MirrorServlet/mirror" /> .
    My doubts are:
    1. What is the role of this MirrorServlet or its just a placeholder?
    Lets say I have a bpel service that will provide me required data to enhance ABM/EBM. Now what steps I need to follow.
    2. Do I need to change wsdlRuntimeLocation with actual service location? If yes then I need to change ProcessSalesOrderSiebelReqABCSImplExtensionAbstract too but this service contains all 4 possible operations to extend an ABCS. So for that I need to create a service which will contain all 4 operations and implement necessary logic. Is this the right approach?
    Please suggest a standard approach to extend ABCS.
    Thanks
    Vibhor

    First see this thread: ABCSExtension - Invoking custom Service
    The MirrorServlet is used by Oracle QA as a stub extension service to allow testing of activating/deactivating the extension points in ABCS's. The servlet can of course be used by customers for the same purpose.
    If you intend to activate and implement more than 1 of the extension operations for an ABCS, then yes you would need to implement each operation in a single service. You don't need to implement all 4 operations, only the one(s) you intend to activate and use at runtime.

  • Push button and menu

    1.Can we increase the height of push button in screen painter?Iam able to drag it increasing the length,but how to increase height?
    2.Can we deactivate,activate menu in the runtime which is built using menu painter?
    Thanks

    Hi,
    Try this out
    Create a image like button to a suitable height and with corresponding text. And put it in mimes folder (\src\mimes\Components\<pkg name>\ ex.jpeg)
    In the property of the button, imageAlt Assign that image
    Regards,
    Omkar.

  • TransportBindingException: Invalid Response code (401). [Unauthorized].

    Hello Experts.
    I have create an ABAP provider system with SAP_DEFAULT_PROFILE for WS. I have set the runtime authentication as technical user and I am also able to see the web service when I ping the provider system.
    When I try to test this web service through WSNAVIGATOR I get the following error message
    TransportNindingException: Invalid Response Code (401). Server [http://<server>:<port>/sap/bc/srt/rfc/sap/zwam_get_approver_agent_wsd/400/zwammi_srv_apprv/zwammi_srv_apprv] returned message [Unauthorized]. Http Proxy Info: none
    Please provide your valuable inputs.
    Thanks & Regards
    Gaurang Dayal

    Hi All,
    I am working on PI-Trex connection for payload based message search.
    After configuring all of the steps as per the guide.
    when i tried to activate Index Administration for Runtime workbench for Adapter Engine I got this runtime exception.
    An error occurred: Class: com.sap.aii.rwb.web.trex.CentralTrexException : Message: RemoteException in Method: CentralTrexManager: activateIndex( String ). TrexException: Failed to activate Trex service. Message: Service call exception;
    nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://pitestdaea9d:57000/TrexProcessor/basic?style=document"; To-String: java.rmi.RemoteException: Service call exception;
    nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://pitestdaea9d:57000/TrexProcessor/basic?style=document"
    does any body have any clue ?
    Regards,
    Divyesh

  • Invalid Response Code: (401) Unauthorized.

    Hi,
    I am calling a WebService from a Adobe Form designed using WebDynpro.
    When the Webservice is called an exception is raised and the following message is shown.
    "Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized"
    Anbody has any idea why this exception is raised.
    Thanks,
    Sameer

    Hi All,
    I am working on PI-Trex connection for payload based message search.
    After configuring all of the steps as per the guide.
    when i tried to activate Index Administration for Runtime workbench for Adapter Engine I got this runtime exception.
    An error occurred: Class: com.sap.aii.rwb.web.trex.CentralTrexException : Message: RemoteException in Method: CentralTrexManager: activateIndex( String ). TrexException: Failed to activate Trex service. Message: Service call exception;
    nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://pitestdaea9d:57000/TrexProcessor/basic?style=document"; To-String: java.rmi.RemoteException: Service call exception;
    nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://pitestdaea9d:57000/TrexProcessor/basic?style=document"
    does any body have any clue ?
    Regards,
    Divyesh

  • Disable / Hide a substep in GAF

    Hi folks,
    I have a requirement where I need to conditionally hide or atleast disable certain substeps in the runtime in my GAF application.
    I cannot create static substep variants since the conditions that drive the visibility/enablement are not static. They are driven off a table (Implying a condition which states that I show a substep today could change tomorrow to hide the same substep). However, currently I don't seem to be having any option to hide / disable a substep. The only method seems to be there in IF_FPM_GAF to enable_mainstep, but this applicable only to the mainstep and not the substep.
    Any pointers will be helpful.
    Thanks,
    Puja

    Thanks for your reply. Yes, I did activate the substeps in runtime. However, I was unable to manipulate it in runtime.
    Its a great idea to have the UIBB loaded dynamically in the substep based on the scenario as you have suggested. However, I am not very sure how would I handle  the navigation in the substeps, since that too is also dynamic.
    Hence currently I have implemented it as such:
    - I have a GAF application with 3 main steps.
    - It is in the second step that I needed to have a dynamic substep roadmap option. Since I was unable achieve the dynamicity in the substep, I wanted to explore the option of having a tabbed component within the main step. I was unable to do this either. All I got in the screen was a blue line within the main step. I think it is an issue with the SP level we are on. I did not find a not for this either. Hence, my last , but non elegant approach was to embed a UIBB within the Mainstep2. The UIBB has a tabstrip UI component in it which I am loading dynamically. Hence my goal has been achieved. However I would have been happier had I been able to implement it via a dynamic substep approach.
    Thanks a lot for all you answers Bhaskaran. You are extremely helpful.

  • How to use runtime.exe to activate the native file coping commands

    How to use runtime.exe to activate the native file coping commands.(It might include using process(), and such.. but how?

    Why would you want to do this? It's harder than copying the file in Java (by reading the file and writing it to a new file) and you'll need to write new code each time you want to port your code to a new OS.

  • Could not activate InfoObject (Runtime Error = UNCAUGHT_EXCEPTION)

    Dear Experts,
    I got stuck on activating an existing InfoObject-A after changing one attribute.
    Situation
    - there was no data in the InfoObject at all.
    - change attribute from InfoObject-B1 to InfoObject-B2
    - activate InfoObject-A
    - got short dump
    Short dump detail
    - Runtime Error = UNCAUGHT_EXCEPTION (An exception that could not be caught occurred.)
    - Except. =  CX_SY_SQL_ERROR
    - What happened?
    The exception 'CX_SY_SQL_ERROR' was raised but was not caught at any stage in the call hierarchy.
    Since exceptions represent error situations, and since the system could not react adequately to this error, the current program, 'RSDRS_MSSQL_ROUTINES', had to be terminated.
    Any suggestion for resolving this case would be appreciated.
    Thank you very much.
    -WJ-

    Hi,
    try to activate the infoobject with following program using transaction SE38:
    RSDG_IOBJ_ACTIVATE
    Hope you will get solution to your problem

  • Activate runtime statistics

    Hi guys,
      In configuration if we not activate the runtime statistics(OMDR) for our plant means what type of error will come and at which transaction this error will get impact.

    Namaste Kumar,
    You will not get any error if this config is not maintained.
    Hope that has answered your question
    Alex Dixon

  • How to Activate the Table which Doesn't Exist - Can I create Table in SE11

    Hi Gurus,
    I am a BASIS Person ..so, I don't have much idea about ABAP Developement side . But, while applying patches to one of  the SAP Component, I get the following error message ( usr\sap\trans\log ) :
    Phase Import_Proper
    >>>
    SAPAIBIIP7.BID
    1 ED0301 *************************************************************************
    1 EDO578XFollowing objects not activated/deleted or activated/deleted w. warning:
    1EEDO519X"Table" "WRMA_S_RESULT_DATA" could not be activated
    1EEDO519 "Table Type" "WRMA_TT_UPDTAB_DSO" could not be activated
    1 ED0313 (E- Row type WRMA_S_RESULT_DATA is not active or does not exist )
    2WEDO517 "Domain" "WRMA_KAPPL" was activated (error in the dependencies)
    2WEDO517 "Data Element" "/RTF/DE_FISCPER" was activated (error in the dependencies)
    2WEDO517 "Data Element" "/RTF/DE_FISCVARNT" was activated (error in the dependencies)
    2WEDO517 "Data Element" "WRMA_DE_RCLASV" was activated (error in the dependencies)
    2WEDO517 "Data Element" "WRMA_DE_RMA_AMNT" was activated (error in the dependencies)
    2WEDO517 "Data Element" "WRMA_DE_RMA_INV" was activated (error in the dependencies)
    2WEDO517 "Data Element" "WRMA_DE_RMA_OBJ" was activated (error in the dependencies)
    2WEDO549 "Table" "V_WRMA_TRCLASVER" was activated (warning for the dependent tables)
    2WEDO549 "Table" "V_WRMA_TRCLASVPE" was activated (warning for the dependent tables)
    2WEDO549 "Table" "V_WRMA_TRCLPERCL" was activated (warning for the dependent tables)
    2WEDO549 "Table" "WRMA_S_STOCK_SELECTION_DATE" was activated (warning for the dependent tables)
    <<<
    Now, I checked Domain WRMA_KAPPL  in SE11 and it diplays that it is partially active :
    " The obeject is marked partially active for the following reasons :
       Errors occured when adjusting dependent Objects to a change. Some of the dependent objects could not
       be adjusted to this change. To adjust the dependent objects, you must perform the following actions
       the next time you activate this object.
                        - SET THE SYNP TIME STAMP IN THE RUNTIME OBJECT OFALL DEPENDENT OBJECTS
    My question is - how to activate this SYNP Time Stamp.. ?
                          - Once I activate this SYNP Time Stamp.. How do I activate this ..in SE11 or some other
                            TCode..
    Any / ALL Help is highy appreciated and would be rewarded with appropriate Reward Points.
    Thanks,
    Regards,
    - Ishan
    >> Ok, Now I forcefully activated the Domain and then all the 5  Data Elements in SE11 ...now I have error
         that table  WRMA_S_RESULT_DATA  and WRMA_TT_UPDTAB_DSO Could not be activated...
         ..And in SE11 > Input the first / Second Table  > Excute > Output : Table Does not Exist !!!
          - Now, How do I activate something which does not exist in the first place ?
        Any Input about this ?
    Thanks,
    Regards,
    - Ishan
    Edited by: ISHAN P on Jun 19, 2008 3:44 PM

    Read note 1152612 - Incorrect component type in structure WRMA_S_RESULT_DATA.
    The error occurs in Release BI_CONT 703 Support Package 9.
    If you require an advance correction for Support Package 9, make the following manual changes if the InfoObject 0TCTLSTCHG is inactive in your system.
    1. Use transaction RSA1 to call the Data Warehousing Workbench.
    2. Check whether the InfoObject 0TCTLSTCHG was already activated by the compilation process the first time you called transaction RSA1.  You can use transaction RSD1 to check this by entering 0TCTLSTCHG in the "InfoObject" field and choosing "Display".  Proceed as follows if the InfoObject is still not active:
    3. Go to BI Content activation.
    4. Select "Object Types".
    5. Open the "InfoObjects" tree and select "Objects".
    6. Search for the InfoObject 0TCTLSTCHG and select it.
    7. Transfer the object and activate it.
    These steps activate the required component type /BI0/OITCTLSTCHG. You can check again in transaction RSD1 to ensure that the InfoObject 0TCTLSTCHG is available as active.
    Jacek Fornalczyk

  • Error When Activate Adobe Form?

    hi,
              When i save layout and come out from there and than when i am save adobe form and trying to activate form it ask me in the dialog window,
    Enter your user name and ID
    Resource     AdobeDocumentServices/Con
    User name   
    Password
    if i enter my logon id & pwd it shows me status message,
    SOAP Framework Error ; SOAP Runtime Error : CSoapExceptionTransport : HTTP Send returned with status code (100,101).
    Please try to resolve and get back to me ..
    Thanks,
    Saurin Shah

    Hi,
    Please check below link
    http://help.sap.com/saphelp_nw70/helpdata/EN/4f/a00d41921bf023e10000000a155106/content.htm
    Regards
    Jana

Maybe you are looking for

  • How can I get a document from apple online store with IMEI number on it?

    Hi I got my iPhone stolen, and currently have insurance requesting a document with IMEI number on it, I called apple and they say this doesn't exist? I tried to explain to insurance, but they won't listen. I have sent in packing list, shipping notifi

  • Hello! I need some help please.

    Hi there! My problem is the following. As i want to turn the internet sharing on combined with a security password a little window comes up and says : system preferences wants to make changes, put your password in order to do so. The thing is that i

  • [SOLVED] Firefox does not check spelling

    I have checked "Check my spelling as I type" in my Advance menu. Last edited by CanisMajorWuff (2012-08-09 18:37:38)

  • How to make pdfs above 8MB open in browser?

    Pdfs whose size is below 8MB open in the browser while those above 8MB open in an Acrobat window. How to make pdfs irrespective of their size open in the browser window only?

  • 3.0.0RC2 MappingTool producing bad SQL

    It looks like <jdbc-field-map type="many-many" table="TestServiceKeyArray" element-column ..pk="keyArray" ref-column.pk="parent" order-column="seqno"/> is producing bad SQL through MappingTool. It gives the following exception when run as "kodo.jdbc.