How to keep the list to show max.of 3 items at a time

i had a list, the rows are dynamically generated, the problem comes with when the item are more than 3. the 4th one is half visible which looks odd. i want to see 3 rows at a time, how is this possible.  i set rowCount, variablerowheight it didn't work.
thanks for reading.

package  Components{
 public
public  
class AdvancedLegendList extends List{
public function AdvancedLegendList(){
super();} 
override protected function measure():void
if(this.height>3) 
this.height=measureHeightOfItems(-1,1);}
and set the list as
<Components:AdvancedLegendList id="itemList"dataProvider="{_incentivesCopy}borderVisible="false" width="295"rowCount="
{Math.min(DataContext.Incentives.length, 3)}"variableRowHeight="true"selectable="
false"verticalScrollBarStyleName="sbTrackStyle" paddingRight="1"
<Components:itemRenderer> <fx:Component>
if i have override the measure() function in script, i dont know how to access this list.

Similar Messages

  • How do I keep the email address showing when i enter hotmail because every time a different user enters you have to completely log in again

    before everyone's address was always on screen so you could easily log in, now there is only ever one address and I don't know what to do to keep the configuration as it was before

    The website maybe using autocomplete=off to prevent Firefox from filling the name automatically.
    You can remove autocomplete=off with a bookmarklet to test that.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • How to retrieve the list price for u0093Free of Chargeu0094 items?

    Hi Gurus,
    I need an urgent help:  For the commercial invoice, I need to provide the “List Price” (PR00) value even for the “Free of charge” items.  But for TANN, PR00 is not retrieved.
    How can I still retrieve the list price(PR00) for “Free of Charge” items?
    Thanks.

    Hi,
    By giving item category as TANN in VBAP, you will be able to get all material numbers, and the document numbers.
    Using document numbers, get the doc condition no, in VBAK (VBAK-KNUMV)
    Now
    VBAK-KNUMV = KONV-KNUMV and
    VBAP-POSNR = KONV-KPOSN for VBAK-VBELN=VBAK-VBELN
    you should be able to extract the value of PR00 from KONV table.
    Hope this helps you
    Pls reward if this helps you

  • HT3215 How do you keep the clock face showing all the time without the screen going dark?

    How do you keep the clock face showing all the time without the screen going dark?

    Thanks.  I saw a number of answers to the same basic question after I posted my question and apparently there are ways to to keep it on but, as you said, it will drain the battery quickly.

  • How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?

    Hi All,
    We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
    Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.

    Hi,
    Here you go..
    1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
    Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
    2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
    3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
    This step you get query reference sheet or column or query general UUID for next step.
    4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
    Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
    Hope this helps.
    Please keep in mind, it might take more time depends on how many query elements you have in the system...
    Comments added for better DB performance by: Arun Thangaraj

  • How to keep the WBS & Order in account assignment tab of SD contract item?

    Hi Experts,
    If I remove the plant from the shipping tab in the contract item (the contract type is WV), I will be able to enter the WBS or Order in accounting assignment tab. However, if I enter the plant (in order to determine the tax in pricing), the WBS and Order are disappered and there is one new settlement rule button showed up.
    Do you know any configuration could keep the WBS and order in the accounting assigment tab even the plant is there.
    Thanks in advance!
    Norman

    Hi Chandra,
    Thanks for your answer. However, I even added the plant in the WBS, the tax (we use tax jurisdiction) still could not be determined.
    The problem is that SAP changes the account assignment tab screen (it suppresses the WBS and Order fields, but addes settlement rule) with the plant in the shipping tab. Do you know how to keep the same account assignment tab screen with the plant in the shipping tab?
    Thanks,
    Norman

  • How to get the list of database Views modifying the DB tools list tables.vi

    Hi,
    I have a problem, I just started using LabVIEW and in particular the LabVIEW connectivity toolkit and I am lookig fgor suggestion regarding how to get the list of database Views modifying the DB tools list tables.vi...
    Thanks in advance,
    Michela

    Hi Michela,
    since the VI you want to modify is part of a Toolkit, I suggest you to copy the whole block diagram in a new VI and then save it in a new location.
    Place the DB List Tables.vi on a block diagram, double click on it and go to the tab "Window -> Show Block Diagram "
    Select "Edit -> Select All" to select the whole block diagram and select "Edit -> Copy"
    Open a new VI and select "Edit -> Paste"
    Save the new VI
    In this way you can modify everything you want without overwriting the Toolkits VIs.
    Hope this can help.
    Regards, 
    Andrea N.
    Systems Engineer ATE & RF - Mediterranean Region
    National Instruments Italy

  • How to get the list of icc profile,which Photoshop loaded?

    I am developing a automation plugin,but I do not know how to get the list of icc profile,which photoshop loaded.
    I have read the log of "getter" and "Listener",and not find the way to get the list.

    Thank you for you answer.
    I find a icc profile has a "internal name" which show in the color setting menu in photoshop and a "external name" which is the file name. And the "internal name" maybe different with "external name".
    How I can get the "internal name" from the icc profile? I do not find the information in the ICC Profile Format Specification.
    Thank you very much!

  • How to get the list of top 10 tables grown last week or last few days

    Hi All,
    Please let me know, how to get the list of top 10 tables grown last week or last few days
    Thanks

    Please let me know, how to get the list of top 10 tables grown last week or last few days1.Oracle Version and OS info please ... ALWAYS
    2.Do you have licensing options (Tuning and/or Diagnostics Pack) ?
    3.Have you ran AWR/Statspack in last week or last few days
    1.Because Oracle do not store auto tack the history of tables growth. See below link where one user has showed the possible way of manual track of table(s) growth :
    Re: oracle tables growth
    2.MOS Note for How To Get Table Growth History Information? [ID 1395195.1]
    3.If you are in 10g than EM of 10g has something called Segmnet Statistics which can show you the growth of your table.
    4.Other clue :
    SQL> select * from table (dbms_space.object_growth_trend('SCOTT','EMP','TABLE'));
    TIMEPOINT                                                                   SPACE_USAGE SPACE_ALLOC QUALITY
    17-SEP-12 11.06.20.228000 AM                                                       1593       65536 GOOD5.A good script by Mice Ault for historical growth of segments within AWR:
    http://www.dba-oracle.com/t_table_growth_reports.htm
    Regards
    Girish Sharma

  • How to edit the list box items in labwindow/​CVI?

     how to edit the list box items in labwindow/CVI?

    Listbox items cannot be edited directly in the control: what you can do is to select a line an, transfer its content to a textbox control, edit text there and move text back to the listbox control. Available interactions with the listbox control are listed in the help.
    An alternative to it is to use a tree customized to appear like a listbox: tree item labels can be edited directly in the control, at least those in the base column of the tree. You can look at the example \samples\userint\treelist.cws that shows how a tree can be customized this way. I haven't opened it, but this old example too should show the ability to edit tree cells.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to keep the data entered on a page apex

    how to keep the data entered on a page apex
    so, I've got a registration page then wish go to another page P2 and I return to this P1 without losing data

    Hi,
    As long as the registration page is within the same session, the values will remain in the session until they are specifically cleared out. This can be done by a process on a page - so check if you have a "reset page" process on P1 and, if you do, delete it. This can also be done on a branch - so check the branch that takes you to P2 and see if there is anything entered in the Clear Cache setting and, if it shows *1*, remove that. There are other ways as well, but these are most typical.
    Andy

  • How to print the list shown in the finder

    I work as a photographer. For my clients I burn the pictures on DVD / CD.
    Some of my clients want a indexprint from the folder on the disk.
    How can print the list wich is shown in the finder? A screenshot doesn't work because there are often more items in the folder than the screen shows.
    A friend told me this isn't possible in OS X. In OS9 this function was available, but removed in OS X.... ?
    Regards
    Walter
    G5 Dual   Mac OS X (10.4.8)   also Intel Imac

    Hi Walter,
    To make a list, choose all (COMMAND + a) in the window than "copy" and "paste" to TextEdit or MS Word, or directly into email.
    Also, If you drag a folder or entire volume onto the Print Setup Utility it will print it's contents.
    -mj
    [email protected]

  • How to keep the Recent Call Record more than a week?

    How to keep the Recent Call Record more than a week? I found the iPhone only can keep the Recent Call Record for only a week.

    I have to disagree with your response with respect. My i phone is limiting me to call going back only 7 days ie today is 29 July and my call log will only go back to 22 July. I have only 40 calls logged for that period. I cannot view up to the 100 you mention. I have included all calls for a single caller as well ie one caller shows 7 so ive counted that as 7 calls. There appears no way to set up to 100 in the settings
    Thanks
    Graham

  • How to keep the waveform chart updated when changing states in state machine/

    Hello Everyone,
                           Can anyone please sugest me how to keep the waveform chart updated even if I am changing the states in a state machine??
    I am having analog inputs on the waveform chart...
    Thanks in advance...
    Now on LabVIEW 10.0 on Win7

    hello guys,
                    thanks a lot for the suggestions, here is the attached code... please follow the following steps to run it..
    ONce you hit play,press either Start Main/Cyl UP button on the front panel,
    once you start observing the waveforms, you can press the Cyl_Dwn button on the front panel... You can observe that the state changes to Start Counter state,
    and the waveform chart also stops updating... I would like both the waveform charts to conitnuously show the data even if the state is changed....
    Now on LabVIEW 10.0 on Win7
    Attachments:
    Soda Vending MAchine.vi ‏212 KB

  • How to keep the watch to display without press the button on my iPod Nano 6th)?

    Dear Guys,
    I have purchased a watchband for my ipod nano 6th recently, overall is okay but i don't know how to keep the watch to display without pressing the sleep/resume button on edge? Also, the screen is not showing the watch immeditaly when I press the button, it shows the music/cd folder, then I need to scroll the screen back to the watch display.  Please help.

    There is no way to keep the display on permanently, as doing so would significantly reduce the overall life of the battery.  It would maybe last only hour, maybe not even.
    As for having your iPod wake up to the watch view, head to Settings -> General -> Time on Wake -> On.
    B-rock

Maybe you are looking for

  • Can I redirect to a completely different web container?

    Hi all How can I redirect from a Servlet to a completely different web container. For example let's say I have MyServlet running on machine A, and according to a parameter in the request, I would like to redirect to host B (to another location). I tr

  • Binary File to Array

    I need to choose a file with a file chooser and then convert it to an array.  The file is a binary file and I just want every byte out of it as an element in a very large byte array.  Im not quite sure how to go about this, can someone who has done t

  • Need advice about proper JSP usage

    I have to create a JSP which will have 3 IFRAMEs (each IFRAME has its own JSP). So total 4 JSPs. Each JSP has to access some java component. What is the best way to tackle this situation? One solution i can think of is each jsp calls the server code

  • Help Window in a modulepool screen

    Hello Folks, I have created a button(named it as HELP) in the modulepool screen. I have a requirement where when i click on the button it should display the help information in the same screen. For example: whenever we click F1 on any standard field

  • Bluetooth Ringtones & Web Access

    Couple of questions.  First of all - how do you close out of the web.  It seems like if I leave the web, I'm still connected (seeing the green v's over the power bars).  Also, how do I manage my files on the centro - have the app to manage the files