How to know the Control type using event param???

Hi,
I wrote a function on MOUSE OVER EVENT. I called this
function from a LIST and DATAGRID using addEventListener.
Now i got a requirement like on event fire.. i wanna alert
the control type i.e., whether the action fire from LIST or
DATAGRID. I can create two different function for both LIST and
DATAGRID. But requirement is like cannot reapeat the code.. code
minimization.
Is there any property to know the type of control(Like its
LIST or DATAGRID) using event parameter??
Thanks & Regards
PRatap

You can try using flash.utils.describeType or
flash.utils.getQualifiedClassName on event.target property and
figure out the control type.

Similar Messages

  • How to know the output type for particular tcode

    Hi
    how to know the output type for the VL10D & VAL TCODES.
    Can anybody help me out.
    Thanks and Regards
    Krishnarao

    Hi Krishna,
    GO to NACE and select your application and click on output types and in the next screen select your output type and and dbl click on Processing routines.
    Here you will come to know about which driver program is used for which smartform or Script.
    and for Program details you can refer table: REPOSRC
    Regards,
    Sachin

  • How to retrieve the content type used in a document library (C# - Client Model).

    Hello,
    I need to know if it's possible to retrieve the content type used in a document library, so I can know the columns active and used in this document library. I am using the Client Model in C#.
    Thanks

    First, retrieve your document library as a List object. Then, use the
    List.ContentTypes property to iterate through all the content types assigned to the list.
    Blog:
    blog.beckybertram.com |
    RSS | @beckybertram |
    SharePoint 2010: Six-in-One

  • How to know the platform type

    Hi
    I would like to know the platform type am using in the frontend..am trying to use the static method
    cl_gui_frontend_services=>GET_PLATFORM...it returns '5'..am not able to interprete the importing parameter
    Please suggest
    Regards
    Panda

    PLATFORM_UNKNOWN     -1
    PLATFORM_WINDOWS95     1
    PLATFORM_WINDOWS98     2
    PLATFORM_NT351          3
    PLATFORM_NT40          4
    PLATFORM_NT50          5
    PLATFORM_MAC          6
    PLATFORM_OS2          7
    PLATFORM_LINUX          8
    PLATFORM_HPUX          9
    PLATFORM_TRU64          10
    PLATFORM_AIX          11
    PLATFORM_SOLARIS     12
    Regards,
    Rich Heilman

  • How to extract the mime type using HttpExchange?

    Hi,
    I am using Sun httpserver to implement an HTTP Server. I am implementing the class HttpHandler and so implementing the method,
    public void handle(HttpExchange t) throws IOException
    }I just need to know, in the above method, is there a proper way to know the Content-type to know the mime type? Or I would have to traverse through all the headers?
    Regards,
    Kashif

    [HttpExchange.getRequestHeaders()|http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/HttpExchange.html#getRequestHeaders%28%29] returns a Map...

  • How to know the column name using the index name for a particular table

    Hi All,
    I have small query regarding, I have index name and table name so by using this how can I know the column name associated with that index of that particular table specific to Oracle9i.
    Thanks
    Sudheer

    select *
    from user_ind_columns -- or all_ind_columns
    where table_name = UPPER('&table_name')
    and index_name = UPPER('&index_name');
    Regards
    Arun
    Gurgaon

  • How to know the proxy type??

    How can I know the type of proxy I am connecting to?? like whether its SOCKS, or HTTP etc...which all are enabled....
    thanks in advance....

    I get an error java.net.SocketException: Malformed reply from SOCKS server while connecting through the proxy.That indicates that there isn't a SOCKS proxy at the indicated host:port.
    Is there any other chances of errors than socks not being enabled?You could have got the host or port wrong.
    and how can I know if it is really enabledThe connection will work ...

  • How to know the connection type?

    Hi guys,
    I need to know what's the connection type (3G or WIFI) of a mobile device (Android and iOS) is enabled. Is it possible? I'm using Flex 4.5.1.
    Could someone help me?
    Thanks,
    Luis

    Hi guys,
    I found the answer:
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    var interfaces:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();
    for(var i:uint = 0; i < interfaces.length; i++) {
                        if(interfaces[i].name.toLowerCase() == "wifi" && interfaces[i].active) {
                            lbl.text = "WiFi connection enabled";
                             break;
                        } else if(interfaces[i].name.toLowerCase() == "mobile" && interfaces[i].active) {
                            lbl.text = "Mobile data connection enabled";
                            break;
    http://cookbooks.adobe.com/post_Detecting_the_network_connection_type_with_Flex_4_-18791.h tml

  • How to know the DB objects using the particular tablespace

    Hi All
    I have tablespace which is used by different database objects.
    I want to know which objects are using that tablespace.
    How can I know this??
    Thanks

    I have tablespace which is used by different database objects.
    I want to know which objects are using that tablespace.
    How can I know this??
    select owner,segment_name,segment_type,tablespace_name from dba_segments where tablespace_name='&TBS';

  • How to know the tcode by using tdid , tdname , tdobject

    hi friends,
    I know the tdobject, tdname  and tdid how can I know on which tcode this text is maintained .
    points will be rewarded.
    Thanks with advance.
    prasad

    Hi
    There is no such rule to know the tcode with these parameters
    but by the values of the Object and Objectname we will know the tcode
    for example
    if the Object is EKKO and Objectname is a PO number then it becomes the PO header text which belongs to ME21N tcode
    similarly if the Object is EKPO  it is PO item text
    if the object is VBBK then it is the Sales order header text (va01 Tcode)
    see the table STXH for the Std texts with these parameters
    Regards
    Anji

  • How to know the system configuration using Java.

    Hello Everyone,
    I wanna know the system configuration (Hard Disk size,Ram capacity,Processor speed) .Can we know it using Java API? Or else is there any API which makes my life easier?
    Can someone let me know,please?
    All ur answers r most welcome.
    Thanks

    --> provides you with some basic info on os user and os but my best bet is to find a windows system file that maintains this information and then read the data from it
    import com.sun.servicetag.SystemEnvironment;
    SystemEnvironment se = SystemEnvironment.getSystemEnvironment();
            System.out.println(se.getCpuManufacturer());
            System.out.println(se.getHostId());
            System.out.println(se.getHostname());
            System.out.println(se.getOsArchitecture());
            System.out.println(se.getOsName());
            System.out.println(se.getOsVersion());
            System.out.println(se.getSerialNumber());
            System.out.println(se.getSystemModel());
            System.out.println(se.getSystemManufacturer());Edited by: emmanuel.putti on Nov 11, 2008 6:43 AM

  • How to know the select stmt used in creating a table?

    Hi,
    If we create a table by selecting some records form another table, can we see the select statement used to create that table.
    example: Create table emp2 as select * from emp where deptno=20;
    is there any data dictionary table which stores select * from emp where deptno=20
    Thanks in advance.
    Edited by: 805791 on Jul 28, 2012 9:01 PM

    No. The SELECT statement is not associated with the table in the data dictionary.
    If the statement was executed recently, you may find the entire CREATE TABLE in the V$SQL view. Or, if you have licensed the AWR, you may find it in the DBA_HIST_SQLTEXT view. But there is no guarantee that the query will be in either view.
    Justin
    Edited by: Justin Cave on Jul 29, 2012 3:46 AM
    Additionally, this question doesn't appear to relate to the Oracle Call Interface so it should probably have been asked in a different forum. The General Questions forum or the SQL and PL/SQL forum would have been more appropriate.

  • How to know the program type?

    Hi,
    I want to know what type of execution method a certain concurrent program has, ( e.g if it is SQL*PLUS, REPORT, SPAWN, PL/SQL etc)
    I run the following sql at apps/apps
    1* select distinct execution_method_code from fnd_concurrent_programs
    SQL> /
    E
    R
    H
    P
    I
    K
    Q
    M
    A
    J
    X
    B
    S
    L
    E
    Where do I get the corresponding meaning of this code please.
    How do I query at the form level all the PROGRAM name with execution type SQL*PLUS?
    Thanks a lot

    Hi,
    Where do I get the corresponding meaning of this code please.Try the queries in the following links:
    PSP PL/SQL API for Customizations Tracking
    http://dbaanswers.blogspot.com/2007/11/psp-plsql-api-for-customizations.html
    Query 9: SQL to view all types of request Application wise
    http://knoworacle.wordpress.com/2009/01/12/oracle-application-top-useful-sql-queries/
    Display Module Wise Reports
    http://oracle-applications-rama.blogspot.com/2007/05/display-module-wise-reports.html
    Or, refer to eTRM and see if it is documented there.
    eTRM
    http://etrm.oracle.com
    How do I query at the form level all the PROGRAM name with execution type SQL*PLUS?From System Administrator responsibility, navigate to Concurrent > Program > Executable, Press F11, select "SQL*Plus", Ctrl + F11
    Regards,
    Hussein

  • How to know the var Type

    Hallo. I need a help. I wish to know if the user input is a correct uint type or int type or Number type.. Is there any way to know it?
    Thx
    Max

    Hi Max,
    You can use the operator "is":
    var myInt:Number;
    trace(myInt is Number); // true
    trace(myInt is int); // false
    trace(myInt is uint); // false
    Regards,
    Pablo Souza

  • How to know the class type of an element in a List?

    I got a list of something. Is there a method that is used to return what type of an element is?
    Thanks.

    Peter__Lawrey wrote:
    Not sure how generics will help. A list with a generic has no more methods than a list without generics.
    There is no method like
    List<T> list;
    Class<T> elementClass = list.getElementClass();
    I was thinking of:
    List mysteryList;
    //versus
    List<Meatball> meatballs;

Maybe you are looking for

  • Help! I Can't See My Web Page!

    Good evening fellow Dreamweaver users,     I recently tried centering one of my web pages using a code that I received from Nadia for another one of my pages.  The code worked for that page, but when I entered it into my second page it didn't work. 

  • Uicode Conversion Project - Question on transaction UCCHECK

    Hello, We are about to start an Unicode conversion Project. We have SAP 4.7C & we are going to make it Unicode enabled. In order to plan the ABAP/4 resource requirements precisely, I ran transaction UCCHECK to get the list of the development objects

  • User Exit / BADI to Modify EKPV-TRAGR in Purchase Order Creation ME21N/ME59

    Hi, I have a requirement to modify the Transportation Group (EKPV-TRAGR) on creation of Purchase Order. Can you please suggest me a suitable User Exit of BADI to accomplish this Task? Thanks, Kannan

  • New window opens maximized

    I press the "Print" button in google maps. It opens a new window that is windowed, not maximized. Now it suddenly opens maximized. How do I change it back? firefox 29.0.1

  • Upgrading problem again??????

    I'm upgrading my digital audio 466mhz g4 to a mercury 1.2 ghz processor. I have installed the firmware 4.28f1 and installed the processor. Once the processor was installed the computer would not power up @ all. Any suggestions?