Textfield with different filters to different parts of it

I have a TextField object and i want to apply the bevelFilter object with some settings to a part of the textfield and with other settings to the other part of the textfield, like the textField.setTextFormat() does it.
Thanks, Javier

You can apply any number of TextFormats to segments of the text in any given textField by defining the substring of characters that you want to use any given TextFormat. This is not possible to do the same thing with a filter. Filters are applied to whole objects. So, if you want a word or a phrase to use a filter, then you'll have to separate that part out as a separate textField.
If the custom filters and formatting don't need to be applied in real time during playback, it would be much simpler to assemble the text as a graphic.

Similar Messages

  • How to handle same product with different part numbers and pricing in SAP.

    I am a new user and want to learn if the following scenario can be handled by SAP.
    Our business buys a product from a supplier which has 2 different part numbers and prices. It is the same product. One is the primary product whilst the other is available only as an upgrade option with a different part number to a mainline product at a cheaper price .
    Our issue is that we sometimes buy the upgrade option with a mainline product to get the better price even though these go into stock. Basically we need to have the items linked with both part numbers in SAP at different prices but inventory both in and out only going against the primary part number. Any ideas?

    Thanks Jitin
    I did give them different part numbers and then attached a Bom containing the primary part number against the upgrade option however I really need to have the secondary item as a sales and purchase item but non inventory so the stock comes from the primary part. Ideally  if we receipt the goods in as the secondary number the inventory goes to the primary part. If the second number is an inventory item then I have the issue of the same part with different part numbers sitting in stock at different prices and having to rely on employees understanding the difference.
    Sorry to be so confusing. I will do some more testing over the weekend and see if I can find a suitable solution.
    Thanks
    Martin

  • Need to color the  different textfield with different color in J2ME

    hi
    i am developing an application where i need to color the different textfield in the form with different color. but i am not able to do this even with the canvas class also. Can you please help me ? Thanks in advance..

    In J2ME, I don't think you can do that easily by setting color. If you want to use specific color in a text field, you need to construct the text box your own. Use Graphics object to draw text field (as image) and here specify a color of your choice.
    Hope this helps.
    Thanks,
    Mrityunjoy

  • Price determ. for a Customer with different ship to parties within

    Dear all,
    I will try to explain our need with an example.
    We received a requirement from our sales department who wants to manage a sales price of a specific item which is dependent from a fixed quantity in case the order is placed for a customer with different destinations (different ship to parties).
    The example is as below:
    Sales Price for Customer and Material A is 50u20AC per pieces for a scale of 10 pz.
    The condition type ZPR0 used is a copy of standard PPR0 and it has the following characteristics:
    calculation type Q Quantity
    scales basis C quantity basis and scale formula "0".
    We receive an order by our Customer for 10 pz and for two destinations:
    5 pz directed to the location MMM
    5 pz directed to the location BBB
    The customer is asking us to apply this price because the pre-requisit is satisfied but how can we determine automatically in the same order if the material A is present in several order items?
    We create an order with two sales order items and in each one we specify the destination in the partner roles. How can we set the condition type in order to redetermine the exact price considering the total quantity of material whitin the same order?
    I hope you can help me
    thanks in advance
    Andrea

    Hi
    Your question is not fully clear to me. But what I guess you are looking for a discount which will be applicable to only one order and not for the other orders even if those orders contain the same material.
    If I am correct, than yoy can do it by setting the condition Update. Suppose, you want to give Customer-material specific discount,i.e. condition type K005. Activate the "condition update" check box in the condition type detail screen first.
    Then, in VK31 ,create a condition record for K005 & save it.Go to the change mode (vk32) of the cond. record and now enter " 1 " in the " No.of orders" coulmn & save it.
    Now if you will create an order, this discount will be applicable only for the first one order only and next order onwards it will be deactivated automatically.
    Similarly,You can set it also in terms of quantity,if the condition is calculated based on quantity ,by putting the quantiy (up to what quantity you want it to be effective) in the "Max. condition base value" column.
    Regards
    Pradyumna
    Edited by: pradyumna patel on Jun 24, 2008 11:28 AM

  • Is it possible to set up home sharing with my daughter's laptop - she lives in a different part of the country?

    is it possible to set up home sharing with my daughter's laptop - she lives in a different part of the country?

    Unfortunately, no. Home sharing only applies to devices sharing the same Wifi network.
    iTunes Match is an alternative to look into.
    Apple - iTunes - Match

  • I am making multiple DVD's of roughly 50 hours of footage on DVD Studio pro with 4 separate menus for 4 different 'parts' or series if you will. 50 hours - 20 episodes - 4 parts of 5 episodes each. What are my options in terms of burning these parts on to

    I am making multiple DVD's of roughly 50 hours of footage on DVD Studio pro with 4 separate menus for 4 different 'parts' or series if you will. 50 hours - 20 episodes - 4 parts of 5 episodes each. What are my options in terms of burning these parts on to separate DVD's, what is the process, what size DVD RW should I buy, what bitrate should I use, and what quality I should expect for the burn. Any advice or insight is welcome.

    >>What are my options in terms of burning these parts on to separate DVD's<<
    20 episodes totaling 50 hours equals about 2.5 hours per episode assuming all episodes have the same duration.  Fitting 2.5 hours onto one single layer DVD would require a low bit rate which means quality wouldn't be anywhere near best, but that's a judgement call you'll have to make based on several factors.  For example; if there is not much motion in the video (talking heads, etc), you can get by with a lower bit rate and may not notice any quality difference.
    >>what is the process>>
    The process is essentially the same as it is when authoring a regular DVD with 2 hours or less of content.  However, with as many discs as you'd need to complete this "set," you'll need to create a separate DVD Studio Project for each disc.  Basically, you'd use one of Compressor's DVD Presets (or customize a preset) to create an MPEG--2 video file (.m2v) and a Dolby Digital audio file (.AC3).  Import both of those assets into your DVD Studio Pro project for authoring and burning.
    If you want to keep one episode per disc, DVD Studio Pro does have a 150 minute preset or you could use dual-layer discs with a higher bit rate for better quality.  Again; your call.
    >>what size DVD RW should I buy<<
    Size?  12cm.  Capacity?  Single layer, single sided DVD discs (DVD-5) have a rated capacity of 4.7Gb (4.37Gb actual), including menus.  If you use single layer discs and want to keep the quality reasonably good, you'd need at least 50 discs to complete this "set" with each disc holding roughly 2 hours of footage if you keep the menu on each disc simple.  Or, you could use dual-layer discs (DVD-9) which have a capacity of about 7.95Gb - almost doubling the recordable capacity.  There are also dual-sided, dual-layer discs available (DVD-18) but they are relatively expensive and have to be manually turned over to continue playback ... but they do have roughly 15.9Gb capacity.
    >>what bitrate should I use, and what quality I should expect for the burn<<
    Exactly; the quality is dependent on the bit rate chosen, as well as the quality of the compression.  Using compression markers where needed can greatly increase the quality of playback but will most likely increase the file size of the compressed video.  For the best quality, keeping the bit rate  as high as possible allowed under the DVD specification will yield the best quality but some DVD players may choke if the bit rate is too high.  For best quality I typically aim for a bit rate around 7.6 to 8.0Mbps but that will only allow about one hour of footage.
    Naturally, if you decrease the bit rate, you can fit more footage onto the disc but quality will be sacraficed.   Here's a chart approximating DVD bit rates and durations for single layer discs (does not include space for menus):
    3.5Mbps - 120 minutes
    5.0Mbps -   95 minutes
    6.0Mbps -   82 minutes
    7.6Mbps -   65 minutes
    8.0Mbps -   60 minutes
    -DH

  • Create 10 different TEXTFIELDS with a FOR statement

    Hello everybody, I,ve been trying to create 10 different
    TEXTFIELDS with a FOR statement, in order to apply different
    properties to each one. First I tried this code:

    Hi - your first one is closer; the problem is that you are
    only creating one TextField and merely changing the properties of
    the same one each time through the loop, and you are trying to add
    the same one 10 times to the stage.
    You probably want to do something closer to:

  • I have a macbookpro with a second monitor connected using an Apple connector.  The two screens show different parts of the desktop.  My cat walked across the keyboard, and now the two monitors are showing the same thing.  How do I undo what the cat did?

    I have a macbookpro with a second monitor connected using an Apple connector.  The two screens show different parts of the desktop.  My cat walked across the keyboard touching various keys, and now the two monitors are showing the same thing.  How do I undo what the cat did?

    Have you tried HELP in FINDER?  If you open HELP and enter 'displays' in the field in the upper right hand corner you will get a list of topics on setting up monitors.  Specifically read 'Setting up multiple displays to show the same image' and 'Setting up multiple displays as an extended desktop'.
    Ciao.

  • Cube with different reports data

    Hi
    We have 3 different Reports based on a Multi which has only one Infocube.
    We have new design policy that any New different report that needs to be created should be based only on this Multi and all data should be loaded only into this only infocube on which this Multi is based.
    So for the existing 3 reports,we have three different database views in source database.Fullload will be done from source every weekend(previous week's request will be deleted every week) of snapshot data into three different DSOs from these three different datasources.(Its new policy that every report should have its own DSO ).All these 3 DSOs should be connected to only one cube on which our reporting Multiprovider is based.So from these 3 DSOs,data will be loaded into cube in fullload every weekend(previous week's request will be deleted)
    Now my question is:
    1.when all the data is going to cube from three different views and DSOs(with different keyfigures but some same characteristics in 3 DSOs),how can our 3 different reports pick data that is relevant for it when all data is pooled together in one big cube?Doesnot aggregation happens?
    (When a report is run,does OLAP processor goes into cube and picks only those keyfigures and characteristics in cube thats relevant for that report and by that way,avoids other data??)
    2.I need to create one new report.For this I need to create one new view and one new DSO.So,data will be loaded from view to DSO and this DSO will be connected to existing cube(new dataflow until cube from source view).But our cube doesnot contain one keyfigure.It contains all other characteristics and keyfigures from DSO.
           a)How can I add this new keyfigure from new DSO to cube without disturbing existing data in cube.I donot need to load historical data for this new keyfigure and new report.
          b)I am going to transport this from development.So what care do I need to take while transporting changes to Production cube which contains lots of data and many reports running on it?
    Thanks.

    *1.when all the data is going to cube from three different views and DSOs(with different keyfigures but some same characteristics in 3 DSOs),how can our 3 different reports pick data that is relevant for it when all data is pooled together in one big cube?Doesnot aggregation happens?
    (When a report is run,does OLAP processor goes into cube and picks only those keyfigures and characteristics in cube thats relevant for that report and by that way,avoids other data??)*
    It will depend on what Key Figures you are displaying in your report. If a KF is coming from only 2 DSOs, data from those 2 DSOs will be displayed.  And you are right in saying that OLAP processor will pick only releavnt KFs and Characteristics but it will not filter based on characteristic value e.g. if a characteristis is coming only from DSO 1 and not from DSO2, but KF is coming from both, so for the data in DSO 2 that characteristic will be displayed as #. If you want to filter data, you can put filters in the report.
    Another good option can be to store the DSO name as a characeteristic in your cube, it might be helpful if you want to make a reprot based on data from a particular DSO, then you can put the filter based on DSO name.
    *2.I need to create one new report.For this I need to create one new view and one new DSO.So,data will be loaded from view to DSO and this DSO will be connected to existing cube(new dataflow until cube from source view).But our cube doesnot contain one keyfigure.It contains all other characteristics and keyfigures from DSO.
    a)How can I add this new keyfigure from new DSO to cube without disturbing existing data in cube.I donot need to load historical data for this new keyfigure and new report.
    b)I am going to transport this from development.So what care do I need to take while transporting changes to Production cube which contains lots of data and many reports running on it?*
    You are adding a new KF which is coming only from new DSO, so you do not need to worry about a lot of things, you can move your changes to procudtion and load data from this new DSO. Data which is already there in the cube will not be impacted.
    Regards,
    Gaurav

  • How do I copy iTunes purchases from one iTunes library to another stored on the same computer but with different apple ID's?

    I recently set up a new iTunes account for my son by giving him his own Apple ID &amp; own login on the Mac we own.
    In addition I have an existing iTunes account with a different Apple ID &amp; different login on the same Mac.
    We would like to share some purchases but do not know how to copy or import certain files. The summary is two
    different apple ID's, different iTunes libraries, on the same computer, but different parts of the hard drive.
    Please advise. Thanks.

    Load the library which doesn't contain the songs and drag them into the open iTunes application window. If you need to move them between different computer user accounts, put them into /Users/Shared/.
    (74502)

  • I have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device?

    i have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device? one is an iphone 6 and the others are ipad mini first gens, each ipad has 64gb and the iphone has 128, need to keep the data seperate as they are not all mine

    Itunes content and pics are NOT part of the backup that itunes performs.
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    You should transfer any purchases from iphone regularly:  File>Transfer Purchases  , if they fail to be transferred when you sync.
    You buy one and only one download.  It is your responsibility to move/copy/backup your purchases.
    You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
    http://www.apple.com/support/itunes

  • How to use "User Events" in different parts of an application

    Hi,
    "You programmatically can create and name your own events, called user events, to carry user-defined data. Like queues and notifiers, user events allow different parts of an application to communicate asynchronously. You can handle both user interface and programmatically generated user events in the same Event structure."
    What you read was part of labview 7.1 user manual ( Chapter 9 - pg.12 ). I've some problems with the underlined sentence. I hope someone can help me.
    When using Queues, the programmer may use a named queue everywhere in the application. there is no need to wire queue reference among VIs or using global variables to store queue reference. the name of the queue will be all that you need. I wonder if it is also possible with a event refnum that is the output of "Register for Event" node. As far as I've tested. the answer is Negative! I tried to copy-paste refnum in front panels and using the same name. but there is no connection between event refnums.
    LV User manual claims that user events can be used like queues, but it doesn't seem so.
    Does anybody have an idea?
    Best Regards.

    I didn't look at Damien Gray's presentation recently, but if I remember it correctly, it is on a much higher level than what I meant, because it refers to LARGE application. This is a very simple one.
    Using a functional global is not problematic CPU-wise, nor memory wise (unless you get into really big data structures, like hundreds of MBs), so you shouldn't be afraid to use it. I'm also not sure why you're afraid of the loop. The loop is only there to "hold" the USR. It only runs once. If you want, you can replace it with a for loop that runs once. I've recently learned that apparently, you can also get rid of the loop and use a local variable (look at the example called XY chart) instead of a USR. I don't think a local variable should have any more impact than a USR, but that needs to be tested. It can definitely be more convenient for some VIs where you don't have to wire the SR through the entire VI.
    Anyway, you will need to have an "obtain ref" VI which will hold a 1D array of names and a corresponding array of refs. Then, you search the array for the name, and if it finds the name, it extracts the correct reference. You will also need a way to input references and names into the array and possibly a way to empty the array. You may need to have 2 levels - the inner VI will be the LV2 VI and the parent will be the obtain ref\fill array\close VI. You will need some error handling as well - what happens if you search for a name and it can't be found and so on...
    Hope this helps.
    Try to take over the world!

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

  • How to select different parts of the text? cmd button no longer does that...

    After installing Maverics i can no longer propertly edit my work as I cannot mark different parts of text using cmd button. Shift works as before for highlighting all the text from starting point to selected point but I can no longer use cmd to highlight different areas of the text. Is this an OS bug? Or was the button for selecting different parts of the text changed? I tried everything...

    It's just a small part of what makes Pages 5 so "stunning" (Apple's word). You think stripping out the nifty ability to mark non-contiguous passages of text was neat? Sure that was nice. But Apple has gotten rid of more, so much more. And for free!
    Just wait till you put the product through its paces and you discover other nice features that are missing, such as (but not limited to):
    - no linking of text boxes!  Yes, that's right. Now a newsletter that had a "continued on page 6" or whatever will be broken by Pages 5. Stunning! (Even more stunning, Pages 5 will strip out all sorts of formatting from documents created with Pages 4.3 and it will do ao without warning and will save the document in a NEW unified file format so that it cannot be opened by Pages 4.3, thereby potentially losing users hours and hours of work. Stunning!
    There's more!
    - Pages 5 has no mail merge, no bookmarks, no images in headers/footers! Pages 4.3 has those features, but this stunning new release removes them.
    - Pages 5 features vastly reduced and simplified set of templates (there used to be about 130 Apple-cupplied templates, now there are about 60).
    - Page 5 also boasts NO RTF SUPPORT, so a paper your wrote with Apple's own TextEdit is not natively readable with Pages: Stunning!
    - No detail was too small to omit in this stunning new release: the vertical ruler, so you can easily place text or an obejct at a certain place in a document: gone! Setting the default zoom: gone!  Status bar reproting word count and pagecount (e.g., Page 4 of 48): Gone! View comments in the left side bar: Gone!  Autocapitalization: Gone! Search & Replace: drastically simplified!
    But here's the really good news: Pages 5 is just PERFECT for creating a one page-poster advertising a new concert by Apple employee Eddie Cue. What's more you can collaborate on it with someone else, even if they're using a PC. Now that's "stunning"!

  • Adobe Acrobat Standard 9.0- 2 different part numbers?

    I see two different part numbes while shopping for Adobe Acrobat Standard 9.0. 22002418 and 22002420. Does anyone know the difference?

    I don't know about the numbers, though it appears to be related to specific versions. For instance, you have a full retail version and an OEM version with the same number (only OEM added). There is a DVD version supposedly. What raises flags for me are the Retail versus 1 user versions. As far as I know, all versions are 1 user unless you are purchasing a volume license. The other flag is the sale of the OEM version on line. That is not consistent with the OEM process. You may be able to purchase a legit copy at this location, but you are taking a risk. The site looks perfectly legit, but most bogus sites do. Good luck in whatever decision you make.

Maybe you are looking for