Datagrid: Can I set a tranparency level for column background color?

Hi all,
I have a datagrid with background colors set using triggers. This works. I would like to set a column background color but I don't want to make the color solid because it will block the row color. Is there a way to set the column background color transparency
to 50% (or less) so that I can still see (or blend) with the row background color? I can set the "background" property of the column to a value of "transparent" but this makes no sense without a color.
Thanks
<DataGrid.RowStyle>
<Style TargetType="DataGridRow">
<Style.Triggers>
<DataTrigger Binding="{Binding col_oPutorCall}" Value="call">
<Setter Property="Background" Value="Cornsilk"/>
</DataTrigger>
<DataTrigger Binding="{Binding col_oPutorCall}" Value="put">
<Setter Property="Background" Value="BlanchedAlmond"/>
</DataTrigger>
<DataTrigger Binding="{Binding col_rowColor}" Value="false">
<Setter Property="Background" Value="LightGreen"/>
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.RowStyle>
<DataGridTextColumn Binding="{Binding col_oBid, StringFormat=F2}" FontFamily="Arial" FontWeight="Bold" FontSize="12" Header="oB" >
<DataGridTextColumn.CellStyle>
<Style TargetType="DataGridCell">
<Setter Property="Background" Value= "Transparent" />
<Setter Property="Background" Value= "AliceBlue" />
</Style>
</DataGridTextColumn.CellStyle>
</DataGridTextColumn>

Background is a brush.
You can define a brush with an opacity in a resourcedictionary merged in app.xaml or in your window.resources ( etc ).
<Grid.Resources>
<SolidColorBrush x:Key="TransparentIshBrush" Color="Red" Opacity=".3" />
</Grid.Resources>
I should think you can then do:
<DataGridTextColumn Binding="{Binding col_oBid, StringFormat=F2}" FontFamily="Arial" FontWeight="Bold" FontSize="12" Header="oB" >
<DataGridTextColumn.CellStyle>
<Style TargetType="DataGridCell">
<Setter Property="Background" Value="{StaticResource TransparentIshBrush}" />
</Style>
</DataGridTextColumn.CellStyle>
</DataGridTextColumn>
The problem with your former piece of code is that setting an opacity on a datagridcell gets everything in it. You would have to do
<Setter Property="(BackGround.Opacity)"
And I'm rather doubtful that would work anyhow.
Please don't forget to upvote posts which you like and mark those which answer your question.
My latest Technet article - Dynamic XAML

Similar Messages

  • Can i have the HTMLB Code for the background color for a  screen?

    Hi friends,
    Can i have the HTMLB Code for the background color for a  screen?
    moosa

    Hi:
    you can put like
         <table width="100%" height="100%" cellspacing="1" cellpadding="2" border="0">
                     <tr class="sapTbvCellStd"> <td bgcolor="#B1E1D2" valign="top">
    Regards
    Shashi

  • Where can I set the log level for the "Inbox log file" ?

    From the Siebel 8 Bookshelf, it says :
    "To set the level of the Inbox log file for troubleshooting
    *In Siebel Tools, set the Log Level for the Inbox log file (Alias = InboxLog) to 5*."
    But where exactly in Siebel Tools can I find that Log Level ? Which object does the Siebel bookshelf talk about ?

    Hi,
    Loglevels are not configured in Siebel Tools. You have to configure them with the siebel client. You can find a parameter at "Administration - Server Configuration / Server / Events"
    Search for "Inbox General Log Events". Set this parameter to 5. It think this should help you.
    Cheers Andreas

  • How to set transaction isolation level for a method in a Local Interface

              By reference at:
              http://e-docs.bea.com/wls/docs61/ejb/reference.html#1071267,
              the value for method-intf can only be "Remote" or "Home".
              My question is--
              How to set transaction isolation level for a method inside a Local Interface or
              Local_Home Interface?
              Thanks.
              Xing
              

    I'd try 6.1SP2. I'm pretty sure this works now.
              -- Rob
              Xing wrote:
              > I tried "Local", but got an error when deploying the EJB jar, saying that only
              > "Remote" or "Home" is allowed.
              >
              > Any idea?
              >
              > Xing
              >
              > Rob Woollen <[email protected]> wrote:
              > >
              > >
              > >Use LocalHome or Local.
              > >
              > >-- Rob
              > >
              > >Xing wrote:
              > >
              > >> By reference at:
              > >> http://e-docs.bea.com/wls/docs61/ejb/reference.html#1071267,
              > >> the value for method-intf can only be "Remote" or "Home".
              > >>
              > >> My question is--
              > >>
              > >> How to set transaction isolation level for a method inside a Local
              > >Interface or
              > >> Local_Home Interface?
              > >>
              > >> Thanks.
              > >>
              > >> Xing
              > >
              > >--
              > >
              > >----------------------------------------------------------------------
              > >
              > >AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
              > >
              > >by Michael Girdley, Rob Woollen, and Sandra Emerson
              > >
              > >http://learnWebLogic.com
              > >
              > >
              > >
              > >
              > ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              > ><html>
              > >Use LocalHome or Local.
              > ><p>-- Rob
              > ><p>Xing wrote:
              > ><blockquote TYPE=CITE>By reference at:
              > ><br>http://e-docs.bea.com/wls/docs61/ejb/reference.html#1071267,
              > ><br>the value for method-intf can only be "Remote" or "Home".
              > ><p>My question is--
              > ><p>How to set transaction isolation level for a method inside a Local
              > >Interface
              > >or
              > ><br>Local_Home Interface?
              > ><p>Thanks.
              > ><p>Xing</blockquote>
              > >
              > ><pre>--
              > >
              > >----------------------------------------------------------------------
              > >
              > >AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
              > >
              > >by Michael Girdley, Rob Woollen, and Sandra Emerson
              > >
              > >http://learnWebLogic.com</pre>
              > > </html>
              > >
              > >
              AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
              by Michael Girdley, Rob Woollen, and Sandra Emerson
              http://learnWebLogic.com
              [att1.html]
              

  • Set Windows Integrity Level for Application at startup

    Hi,
    Yesterday I found a problem in my application that it had not have the same integrity level as Outlook. Therefore someone from microsoft adviced me to look at the integrity level and make them both the same. I managed to find a CommandPrompt command for
    setting the integrity level, but what I really want is setting the integrity level at startup of my application.
    How can I set the integrity level of my application to the desired level using C#?
    Best regards,
    Jouke

    Hello Jouke,
    I am not a Microsoft employee, just a regular developer as you are.
    Anyway, the forum is for Outlook related dev questions. I'd suggest asking common C# programming questions on the Visual C# forum instead.
    I believe you can use the
    /runas command line argument.

  • How can I set up my Mac for two users to share photos, music etc

    How can I set up my Mac for two users to share photos, music etc?

    On the Mac with the libraries you want to share:
    iTunes Preferences click on the Sharing tab and put a tick in 'Share by library on local network'.
    iPhoto Preferences click on Sharing and put a tick against 'Share my photos'.
    When launching the same apps on other Macs on the network the libraries should be available, listed on the left.

  • Apple ID for my 9 year old - How can I set up an ID for my 9 years old. We have bought him an ITouch for his birthday, he also has a $30 iTunes card. To load up the iTunes card he needs an ID. When I try to set him up it says he is below the min age.

    How can I set up anApple ID for my 9 years old. Every time I try it tells me he is bolew the min age. If this is the case how can he download free games and how can he redeem his birthday $30 iTunes card? I dont want him to use my ID as it has my credit card details.
    I'm very fustrated with this as it seems the Apple kit is for 13 years and older only.
    Cheers
    Brad

    That's great your 9-yr-old is responsible enough to handle an iTouch!
    There's no way around the age limit. I suggest a family account that you, an adult, control.

  • How can I set a point size for staticTexts

    Hi everyone
    How can I set a point size for staticTexts?
        staticTexts.add({staticLabel:"Please select a tedious job"});
    thanks
    Teetan

    Thank you Vandy
    Thank you pixxxel schubser
    And thank you Peter Kahrel
    But Ho can call function for this script?
    //======================================================================
    Thank you Vandy
    Thank you pixxxel schubser
    And thank you Peter Kahrel
    But Ho can call function for this script?
    //======================================================================
    var stringList = [  
    "01.  digit at end: superscript",
    "02.  digit at beginning: superscript",
    "03.  notes  applied to italic (table only)",
    "04.  Initial Cap+ markup",
    "05.  Small Cap + markup",
    "06.  del [ ] + markup",
    "07.  add an EM at beginning",
    var win = new Window("dialog","Tedious Jobs_(\"TDJs\")");  
    this.windowRef = win;  
    win.grp = win.add ("group", undefined);  
    win.grp.alignChildren = "top";  
    win.grp.margins = 5;  
    win.grp2 = win.grp.add ("group", undefined);  
    win.grp2.orientation = "Column";  
    win.grp2.alignChildren = "left";  
    win.grp3 = win.grp.add ("group", undefined);  
    win.grp3.orientation = "Column";  
    win.grp3.alignChildren = "fill";  
    win.grp2.Txt1 = win.grp2.add ("statictext", undefined, "Please select a tedious job");  
    win.grp2.Txt1.indent = 0;  
    win.grp2.Ddl1 = win.grp2.add ("dropdownlist", undefined, stringList);  
    win.grp2.Ddl1.selection = 0;  
    win.grp2.sTxt1 = win.grp2.add ("statictext", undefined, "________________________________________");  
    win.grp2.sTxt3 = win.grp2.add ("statictext", undefined, "Be careful and pay attention in what you selected.");  
    win.grp2.sTxt3.graphics.font = ScriptUI.newFont ("Arial", "Regular", 10);  
    win.quitBtn = win.grp3.add("button", undefined, "Ok");  
    win.cancelBtn = win.grp3.add("button", undefined, "Cancel");  
    win.defaultElement = win.quitBtn;  
    win.cancelElement = win.cancelBtn;  
    win.quitBtn.onClick = function() {  
    win.close();  
      if (w.show() == 1) { 
                    var mRes = mStringList.selection.text;
                    mSelection = mStringList.selection.index;
                    app.insertLabel( "mDialog", mSelection.join() );    // to store dropDownList positions (as a string "," delimited)
                    return mRes;
            } else  {  exit();  } 
    app.doScript('main()', ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "TDJs"); 
    function main(){
    var myObject;
    var myCheckSelection = false;
    if(app.documents.length > 0){
      if(app.selection.length > 0){
       switch(app.selection[0].constructor.name){
        case "InsertionPoint":
        case "Character":
        case "Word":
        case "TextStyleRange":
        case "Line":
        case "Paragraph":
        case "TextColumn":
        case "Text":
        case "Cell":
        case "Column":
        case "Row":
        case "Table":
      mySelected = app.insertLabel( "mDialog", String(mySelection.selectedIndex) );     //     to remember selection’s set 
      if(app.selection && app.selection[0].hasOwnProperty ("tedious_works") );
          tedious_works(); 
    else{
      alert("Wrong selection. Please try again.");
    function tedious_works() {  
      app.findGrepPreferences = app.changeGrepPreferences = null; 
      switch (mySelection.selectedIndex){ 
           case 1: {
       app.findGrepPreferences.findWhat = "^\\d";
       app.changeGrepPreferences.position = 1936749411;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
                break; 
           case 2:{
       app.findGrepPreferences.findWhat = "(?i)\\(note.+\\)$";
       app.changeGrepPreferences.appliedCharacterStyle = "Italic";
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "(附[註注].+)$";
       app.changeGrepPreferences.appliedCharacterStyle = "Italic";
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
           break; 
           case 3:{
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<a";
       app.changeGrepPreferences.changeTo = "A";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<b";
       app.changeGrepPreferences.changeTo = "B";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<c";
       app.changeGrepPreferences.changeTo = "C";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<d";
       app.changeGrepPreferences.changeTo = "D";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<e";
       app.changeGrepPreferences.changeTo = "E";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<f";
       app.changeGrepPreferences.changeTo = "F";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<g";
       app.changeGrepPreferences.changeTo = "G";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<h";
       app.changeGrepPreferences.changeTo = "H";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<i";
       app.changeGrepPreferences.changeTo = "I";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<j";
       app.changeGrepPreferences.changeTo = "J";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<k";
       app.changeGrepPreferences.changeTo = "K";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<l";
       app.changeGrepPreferences.changeTo = "L";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<m";
       app.changeGrepPreferences.changeTo = "M";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<n";
       app.changeGrepPreferences.changeTo = "N";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<o";
       app.changeGrepPreferences.changeTo = "O";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<p";
       app.changeGrepPreferences.changeTo = "P";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<q";
       app.changeGrepPreferences.changeTo = "Q";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<r";
       app.changeGrepPreferences.changeTo = "R";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<(?<!’)s";
       app.changeGrepPreferences.changeTo = "S";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<t";
       app.changeGrepPreferences.changeTo = "T";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<u";
       app.changeGrepPreferences.changeTo = "U";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<v";
       app.changeGrepPreferences.changeTo = "V";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<w";
       app.changeGrepPreferences.changeTo = "W";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<x";
       app.changeGrepPreferences.changeTo = "X";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<y";
       app.changeGrepPreferences.changeTo = "Y";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<z";
       app.changeGrepPreferences.changeTo = "Z";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
           break; 
           case 4:{
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<A";
       app.changeGrepPreferences.changeTo = "a";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<B";
       app.changeGrepPreferences.changeTo = "b";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<C";
       app.changeGrepPreferences.changeTo = "c";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<D";
       app.changeGrepPreferences.changeTo = "d";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<E";
       app.changeGrepPreferences.changeTo = "e";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<F";
       app.changeGrepPreferences.changeTo = "f";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<G";
       app.changeGrepPreferences.changeTo = "g";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<H";
       app.changeGrepPreferences.changeTo = "h";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<I";
       app.changeGrepPreferences.changeTo = "i";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<J";
       app.changeGrepPreferences.changeTo = "j";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<K";
       app.changeGrepPreferences.changeTo = "k";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<L";
       app.changeGrepPreferences.changeTo = "l";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<M";
       app.changeGrepPreferences.changeTo = "m";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<N";
       app.changeGrepPreferences.changeTo = "n";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<O";
       app.changeGrepPreferences.changeTo = "o";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;

  • Can we set a default value for the container variable in BPM?

    Can we set a default value for the container variable.?
    Suppose if i have a loop step and i have given a container variable i=5 as end condition.What value will it take during its first execution?Can we set the value for container before a recieve step?

    Hi
    Define Container Variable of Type integer and Category Simple Type .Use Condtion in Loop.
    In Container Operation Step Assign value and Use Expression to
    Increase or Decrease Valus according to your operation.
    look Pattern 4 in this blog to understand Container Operation
    /people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-1

  • Can I set the default locale for jvm

    Hi,
    Can I set the default locale for jvm?
    How to do it?
    Pan

    My windows default locale is chinese .I have thought of your opinion. But in
    windows nt , if I change the locale , all the environment will be
    destroyed(just like reinstall it , it's difficult for me) . So , Is there
    any other approach?
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Did you try to change the locale in the Windows control panel?
    (Control panel -> Regional Options -> Your locale)
    Pan YangBin <[email protected]> wrote:
    I have tried changing this system property and other properties such
    as -Duser.language=en -Dfile.encoding=Cp1252 , but all these properties
    did
    not changed, you can get this infomation from the log file .Maybe these
    system properties are readonly.
    Thanks very much.
    Pan
    Chris Halstead <[email protected]> wrote in message
    news:[email protected]...
    Try adding -Duser.region=US to the java command line used to start
    WebLogic...
    -chris
    "Pan YangBin" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    The problem exists in my project still exist.That is it.
    When I did not set weblogic.jsp.encoding to GB2312 in my web
    application(web.xml), and when the jsp file contain's chinese , the
    output
    will be error(error chinese) .And when I did not set it , the output
    is
    correct, but when I use request.getParameter("SomeFormElement")(theelement
    inputed chinese), the return value is error(still chinese error).And
    when
    I
    am in windows nt english version and do not set this property, all
    these
    two
    problems dispear. And I try to compare the java files those were
    generated
    by weblogic from the jsp file , there is only two additional clause
    in
    the
    java file. That's it:
    ((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("GB2312");
    response.setHeader("Content-Type", "text/html; charset=GB2312");
    (the web.xml has <context-param>
    <param-name>weblogic.jsp.encoding</param-name>
    <param-value>GB2312</param-value>
    </context-param> to be set
    So, I think maybe it works well if I change the default locale toenglish.
    And unfortunately, your method is also failed.(I have to use weblogic
    in
    chinese environment)
    Would you please help me to solve this problem?
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Try java ... -Duser.language=en ...
    or mode con cp select=437 in the command prompt before running
    weblogic.
    Pan YangBin <[email protected]> wrote:
    I'm using weblogic server 5.1 sp6 in chinese environment, and I
    want
    weblogic compile my jsp with en_us locale . So I can't use
    Locale.setDefault(new Locale(...)) to set the default locale ,butI
    really
    want someway configure.
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Locale.setDefault(new Locale(...)) ?
    Pan YangBin <[email protected]> wrote:
    Hi,
    Can I set the default locale for jvm?
    How to do it?
    PanDimitri
    Dimitri
    Dimitri

  • How can I set the desktop image for client computers?

    How can I set the desktop image for client computers using ARD or terminal?

    How can I set the desktop image for client computers using ARD or terminal?

  • How can I set up auto respond for email

    How can I set up auto respond for email?

    Hey there jimmac169,
    It sounds like you want to have the Mail app automatically reply to emails that come in. You can do this in the app itself, but in order for the function to work, Mail needs to be open. Take a look at this info from the following article:
    Mail (Yosemite): Reply to, forward, or redirect messages
    Automatically reply to or forward messages
    Mail must be open before it can automatically forward or reply to messages. If you want to send automatic replies when Mail isn’t open—like when you’re on vacation—check with the provider of your email account. 
    Choose Mail > Preferences, then click Rules.
    Click Add Rule, then type a name for the rule.
    Indicate whether any or all of the conditions must be true for the rule to be applied.
    Set the conditions that determine which messages to automatically reply to or forward.
    Choose options from the “Perform the following actions” pop-up menu.
    Forward messages: Choose Forward Message from the first pop-up menu, then enter the email addresses where you want to receive the forwarded messages. Click Message, then enter any text you want to include with the forwarded message. For example, you could explain that you’re automatically forwarding messages. 
    Reply to messages: Choose “Reply to Message” from the first pop-up menu, click “Reply message text,” then enter your reply. Mail includes the full text of the original message in your reply. 
    Click OK.
    Carefully consider the rules you create. If they’re too broad, messages can be sent inadvertently or create loops (replies to replies you sent). If possible, test the rules. 
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Can I set individual alerts (tones) for each calendar events/ reminders

    Can I set individual alerts (tones) for each calendar events/ reminders

    Thanks On my phone, these are the options under Menu>Settings & Tools>Sound Settings>Alert Sounds: 1. TXT Message 2. Multimedia Message 3. Voicemail 4. Emergency Tone  5. Missed Call . And under Service Alerts: 1. ERI 2. Minute Beep 3. Call Connect 4. Charge Complete 5. Software Update. So nothing there for the calendar. And options from the calendar that I can see are Add (here you can change the tone for one event or recurring event, but not set a default tone for the event alarm), View (gives you the options of viewing an existing event in more detail, adding a new one, and the same choices from the Options list on the first screen where you are viewing the entire month), and Options (1. lets you view weekly/monthly,  2. Go To Today  3. Go To Date   4. Search   5. Erase All   6. Erase All Old   7. Send.  So as far as I can see, there's no way to do it. I have been through all the Settings and Tools menus... and the Events menu. But...I have just discovered that if I delete ALL my alarms and change the Ringtone for the first alarm I set, that ringtone becomes the default ringtone. I will try deleting ALL my events and starting fresh with a new tone and see if that works!

  • Can i set a default transition for final cut pro x

    Can I set a default transition for Final Cut Pro X? I'm doing a multicamera edit and would like all edit points to have a cross dissolve transisiton. Can I make this happen by default?
    Thanks!

    Cross dissolve is the default transition. It's applied with Cmd-T.

  • I can not set up a firewall for my computer.  I can get to the place I'm supposed to get to but am unable to click start.

    I can not set up a firewall for my computer.  I can get to the place I'm supposed to get to but am unable to click start.

    If the Start Firewall button is grey (inactive) check to see if the pad lock is "locked" in the lower left corner of the screen.  If so, click it and enter the Administrator password to unlock it.  Then you can start the firewall.
    Hope this helps.

Maybe you are looking for