Protect the cell from editing (MS Project)

is it possible to protect the cell from editing (Gantt Chart view)? 
I try to do it through the event Application_ProjectBeforeTaskChange and setting Cancel to true 
which method is called when the edit cell and press the ESC?

Hi,
Thanks for posting in MSDN forum.
This forum is for developers discussing issues about
apps for Office. Since the issue is more relative to Project developing, I would like to move it to
Project Customization and Programming forum to get more effective response.
Thanks for your understanding.
Best regards
Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to disable the cell from being edited

    how to make a column in a jtable ineditable .i.e when i click on a column in a table the cell is highlighted and the caret is show .
    due to this i am unable to use the double click on the left button coz as soon as i click once the left button the cell becomes editable and the caret appears.
    i wanna make it in editable / disable the editable option of the cell can anyone tell me how

    That's no problem if you're using DefaultTreeModel, you just rewrite the isCellEditable(col,row) function.
    For example here, you can only edit cells of the first column (but you can test each cell separately if you really want ;-) ):
    public boolean isCellEditable(int paramRow, int paramCol)
    if (paramCol == 0)
    return true;     
    return false;

  • Protect The Cells in the Excel Sheet Even After giving the password.

    Hi All,
    I need to protect the cells in the report even after unprotecting the sheet after giving password.
    That is, i have used some excel formulas in some cells, these cells are to be protected.
    In Reports using EVDRE all the cells are getting, "Locked" option selected in the Protection tab by default. Even if we change that Option and refresh the sheet Locked is getting selected again.
    So once we Protect the sheet using password all cells are getting locked. But once we remove password all cells are free to enter.
    I want the user of the Sheet to use only certain columns in the Sheet. and all the other columns should not be user editable.
    Please help me out in solving this issue.
    Thanks in Advance,
    Regards,
    G.Vijaya Kumar

    Hi Vijaya,
    I tested in my test environment and even after refresh , the range cells are still editable, they didnt get locked. I did the following:
    1. Selected the range or column in Excel, then Tools - Protection - Allow users to edit range. I selected the range and gave the password.
    2. Next I protected the complete sheet.
    3. Now entire sheet is protected. Now again I selected the range in which I want to edit, first time it will ask for password which you gave for the range. So I gave and I was able to edit the cells.
    4. I selected other cells and was not able to edit it so they are still locked.
    5. I tried to refresh the report , and then I selected the range cells to edit and still I was able to edit it. Those cells didnt get locked.
    So did you do the same things?
    Thanks.

  • How to stop the Calendar from editing your input?

    How to stop the Calendar from editing your input?

    I am constantly finding that Calendar Version 8.0 thinks it knows what I want to type but it incorrectly takes numbers and days and times out of my input and changes my appointments. I hate this new supposedly "smart" feature. Even when I edit my event correctly a second or third time it rewrites my input incorrectly again. I have to use my iPhone to override the annoying editing on my mac. I am ready to find a new calendar program unless Apple allows users to input what they want without their information being incorrectly edited.

  • How to disable/enable the cells for editing column wise in JTable in java?

    Hi All,
    Can any one tell me how to disable the cells for editing by column wise in JTable?
    Here depending upon the radio button selected, I need 2 disable some columns for editing
    and enable some columns for editing?
    how can I do tat using JAVA?
    Any sample code is of great help to me.
    Thanks in Advance

    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
    ~

  • How to allow image file uploading, but protect the directory from abuse?

    I have an upload facility that allows visitors to upload their personal image (aka avatar) to my client’s site. This required me to CHMOD the assets folder to 777 which leaves the folder wide open to abuse.
    Is there a way to allow the uploading of files but protect the directory from abuse?
    I could put the images in the database but I assume that would quickly drag down the performance of the (MySQL) database.
    Any ideas?!
    Thank you in advance,
    Glenn.

    This required me to CHMOD the assets folder to 777 which leaves the folder wide open to abuse.
    Only if the abuser can get an executable file of some sort into that folder.  If you are filtering the files during upload to select only image files then I think you are pretty safe.
    I could put the images in the database but I assume that would quickly drag down the performance of the (MySQL) database.
    Definitely - you would never want to store the images as blobs unless you had a compelling reason to do so.  It's much more forward thinking to just save the image filenames in the database, and link to them as needed.

  • Would a Steel Case Protect the 4 From Waist High Drops (3ft to 4ft)?

    Hi. I'd prefer a bare iPhone 4 because it looks good without a case but would this case protect the iPhone 4 from drops like an Otterbox Defender or a Ballistic HC would? Will the steel flap get in the way when I text, play games or make a call?
    http://www.ryanglasgow.com/LtdTools_BackPlate.html
    How about a carbon fiber case?
    http://droconcepts.com/iPhone4/carbon-fiber-iphone-4-case.html
    Thanks in advance. Please advice.
    Gbu,
    Alvin
    Message was edited by: Alvin777
    Message was edited by: Alvin777

    Most of these cases are cosmetically designed as oppossed to being designed for durability. Being that the phone is made of GLASS and is fused to the stainless steel band Its doubtful that anything will protect it from a 5 foot fall.
    Keep in mind that depending how it falls is the issue.
    I would think that a hard case would absorb the shock somewhat better or perhaps the morphie battery pack case which is a rigid protective case as well as having an extra battery built in it. This morphie battery pack should be released any day.

  • Prevent the page from edit

    Hi,
    once page1 redirected to page2 , page2 browser back button should be disabled to prevent page1 from edit also disable keyboard backspace. please help
    Edited by: sony on Apr 13, 2011 12:33 AM
    Edited by: sony on Apr 13, 2011 12:38 AM

    It's exactly the opposite problem, Alan. Those scrollable
    divs were always
    revealed in DW<8.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Alan Smithee Jr." <[email protected]> wrote in message
    news:eiefib$j83$[email protected]..
    >I don't know about MX 2004 because I went directly from
    MX to DW8, but try
    >right clicking IN the DIV and see if there is a context
    menu showing
    >"Element View." If so, what you want to do will be
    obvious.
    >

  • How do I remove the cells from footer in Pages 5.5.2?

    In the new Pages, version 5.5.2, my footers have cells. I want to have only one cell but can't find a way to remove the cell barriers.

    In your Toolbar, select Document, and then turn off the footer only. Then, set View ▸ Show Layout. You will want to also Hide Word Count to get it out of your way.
    Now, you can put something creative there that contains your text, or image content. For instance a Text box that is the same size as a footer, properly aligned using the yellow guidelines. Insert a right-justified Page number. Select the Text box, and then choose Arrange ▸ Section Masters ▸ Move Objects to Section Master. If from the Toolbar Documents Section tab, you choose to add another section after the current one, that Page number will auto-increment in the next section.

  • Is there any way to password protect the ipad from syncing with a computer? Or Blocking it from a computer?

    My brother borrows it and always adds music to it. I want to prevent this from happening.

    Password protect the iPad and he won't be able to use it at all. Seems like the appropriate response if someone is using your belongings in a way you've requested they should not.

  • How to get the row & col of the cell being edited?

    I have a reference to a editable JTable, and I want to know at any point in time, what cell the user is editing (specifically the row & col).
    You'd think you could just go:
    int col = table.getActiveCellColumn();
    int row = table.getActiveCellRow();
    Where the active cell is the one the user is typing in.
    I tried getting the rectangle of the permenant focus owner and using that to get a Point object, then testing the table using columnAtPoint and rowAtPoint, but sometimes the cell is returned as the foucs owner and sometimes the whole table is returned (which does not help). Any ideas?

    You'd think you could just go:
    int col = table.getActiveCellColumn();
    int row = table.getActiveCellRow();Or maybe:
    table.getEditingRow();
    table.getEditingColumn();

  • How to protect the phone from attacks?

    Hi there,
    I just found an interesting and dangerous tool:
    http://www.getjar.com/products/15782/MagicBlueHack
    It says you can make free calls and send free SMS just by connecting to any other Bluetooth enabled mobile phone, the other phone even does not need to install this software...
    How can one protect his phone from such attacks besides turning off Bluetooth?

    Exactly. Your best line of defence is common sense.
    Firstly, don't leave bluetooth on unless you need to use it.
    When you do need it, don't leave your phone as discoverable. Leave it as "hidden". You only need it to be discoverable if trying to pair another device with it.
    If a pairing request comes in while the phone is discoverable, ask yourself if you were responsible for it. If in doubt, don't accept the request.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Application Security - Protecting the files from direct access

    I am working on my application. I have a Flex app that
    everyone will access but to do the work, I have it calling on
    several PHP files. The Flex app has a login system and only allows
    advanced functionality after login. This protects the Flex portion,
    but does not really account for the PHP side of things.... The PHP
    files do a variety of things, mostly SQL calls, but also run a few
    system commands.
    How do you set up the PHP files or use an htaccess file to
    only allow the Flex app to call the PHP files? I'd like to set it
    up so that the users can't directly access the PHP files. However,
    I'm sure the client workstation is still making the request when
    called by the Flex app, right?
    Has anyone done this? Does anyone have any thoughts or
    suggestions on this?
    Thanks,
    Chris

    Hi csawall,
    These are just some off the top ideas, you can extrapolate
    and create a solution that might work:
    Since the client has access to the data stream to/from the
    server, there is no way to guarantee that someone won't use some
    kind of sniffer program to find what file the flex app is talking
    to, but that doesn't mean that you can't obfuscate it as much as
    possible to make it not worth trying.
    One idea was to use a single index and use _GET to control
    what content is being served, using includes on the php side to
    serve the proper file/content.
    Since the content you are delivering I would assume requires
    authentication, you'll have a unique session ID to work in. While
    the actual php file could be accessed in real time if you watched
    the data stream, if the user is already authenticated, what diff
    does it make? Set up specific rules inside your php file, so that
    it must receive data using a specific protocol, one that you can
    obfuscate using crypt and base it on variables that are unique,
    such as SSID + date + time, etc. When you first authenticate with
    the server from the flex app, have the php login script return the
    required protocol rules back to the flex app that would be unique
    to the session. The _SESSION variables on the server would contain
    the unique protocol rules as well. This gives you server side
    control over talking to the flex app... then all you would need to
    do, if you wanted to keep a tighter lid on the access to your
    script, is just rotate the protocol from time to time.
    Add on top of this, script name obfuscation that you store
    server side and transfer only withing the validated session, such
    as e.g. fstrs4adadst4_somefile.php etc etc, where your randomized
    key is the prefix (or suffix whichever you prefer) of your index.
    Your code of course would use the current protocol keys to match
    the current index, and all you need do is control the .htaccess
    file so that it relays any $_somefile.php to the proper
    file/directory etc which would be a name that would never be
    revealed to the public, and only used inside your .htaccess file or
    on the server side itself.
    Taking it a step further, if you create some kind of pulsing
    authentication system using the above methods, you can rotate the
    keys fast enough, so that someone would have to work really hard to
    figure out the protocol to talk to your server
    Just my 2 cents...
    RFX

  • Using "calc' function to show if the cell is editable(EVDRE Reports)

    Hello All,
    I have a question regarding using the "calc' property in my dimension 'ACCOUNT' in a EvDRE report to display the rows as calculated or input ready cells. I have developed an input template by opening a blank workbook and typing in EVDRE(). I have listed ACCOUNT to be in the rows and Time in the columns. I have listed the memberset to be members in the ACCOUNT and SELF, DEP in the Time dimension. Whenever I expand the EVDRE, I always get the cells to be 'yellow' in color similiar to the calc format. How do I differentiate between the Calculated cell and the input cell. I was thinking to use the CALC functionality similiar to the reports/input schedules written using EVGTS/EVSND functions.
    Any help is appreciated.
    Thanks.

    Hi  bpc4livin,
    Take note that even though you have specified the base members as memberset in your EVDRE, still you must have base level members in your Current View in the Action pane. Remember that each data cells in an EVDRE template is an intersection of the dimension in your rows and columns plus the rest of the dimensions in your application which would come in your current view if you don't define them as memberset. So as long as there is one calculated member in your current view still the cell would be marked as calculated.
    You can use EVDRE's format range to format a scpecific cell or group of cells. To activate this after you typed the EVDRE and refresh the sheet, you must check the allow formatting option in the EVDRE builder that appears. I think that there is already a default format in the format range that says that if a data cell is calculated it would be colored yellow. So if you want further knowldege on how to use the format range, you could see the Using Reports Help in the See Also section of the action pane of the BPC Excel.
    Hope this helps,
    MVS

  • ITEXT protect the content from pdf

    Hi
    All
    I run this jsp it show me a pdf, but i got a problem i can edit that pdf and change the content, Is there one way to protect it ?
    How ?
    Thanks
    <%@
    page import="java.io.*,
                    com.lowagie.text.*,
                    com.lowagie.text.pdf.*,
                  java.awt.Color,
                   java.net.MalformedURLException,
                 java.net.URL,
                    com.lowagie.text.*,
                    com.lowagie.text.pdf.*,
                    java.io.FileOutputStream,
                    com.lowagie.text.pdf.PdfWriter,
                    com.lowagie.text.rtf.RtfWriter2,
                    com.lowagie.text.pdf.codec.TiffImage,
                    com.lowagie.text.pdf.codec.GifImage,
                    com.lowagie.text.Image"
    %><%               
    %><%
              // Template JSP file for iText
              // by Tal Liron
              response.setContentType( "application/pdf" );
              // step 1: creation of a document-object
              Document document = new Document();
            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
            PdfWriter writer = PdfWriter.getInstance( document, buffer );
             document.open();
             //Configurar saida como array buffer
             //Configurar criptografia do conteudo em 128 bits
            PdfContentByte cb = writer.getDirectContent();
            PdfContentByte cb2 = writer.getDirectContent();
           //Tipo de Fonte
            BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA_BOLD, BaseFont.CP1252, BaseFont.NOT_EMBEDDED );
            cb.stroke();
            cb.setColorFill(Color.blue);
                cb.stroke();
                cb.beginText();
                cb.setFontAndSize(bf, 12);
                cb.setColorFill(Color.darkGray);                       
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 591, 0);
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 577, 0);           
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 240, 562, 0);           
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 548, 0);  
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 532, 0);
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 140, 517, 0);
                cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "text 1", 208, 502, 0);
                cb.endText();
              document.close();
              DataOutput output = new DataOutputStream( response.getOutputStream() );
              byte[] bytes = buffer.toByteArray();
              response.setContentLength(bytes.length);
              for( int i = 0; i < bytes.length; i++ ) { output.writeByte( bytes[i] ); }
    %>Edited by: silvaneto on Jun 26, 2009 8:03 AM

    Here's the Bullet.fx file
    import java.lang.Math;
    import javafx.scene.CustomNode;
    import javafx.scene.Node;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Circle;
    public class Bullet extends CustomNode {
        def GRAVITY : Number = 0.0002;
        def WALL_HARDNESS = .90;
        public var x : Number;
        public var y : Number;
        public var radius : Number = 5;
        public var color : Color = Color.RED;
        public var velocity_x : Number;
        public var velocity_y : Number;
        var offScreen: Boolean = false;
        public function collide( invader : Invader ): Boolean {
            var dx : Number = invader.x - x;
            var dy : Number = invader.y - y;
            var distance : Number = Math.sqrt( dx * dx + dy * dy );
            var minDist : Number = invader.radius + radius;
            return ( distance < minDist )
        public function move( delta_time: Number, width : Number, height : Number ): Boolean {
            velocity_y += GRAVITY * delta_time;
            y += velocity_y * delta_time;
            x += velocity_x * delta_time;
            if( x + radius > width ) {
                offScreen = true;
            } else
            if( x - radius < 0 ) {
                offScreen = true;
            if( y + radius > height ) {
                offScreen = true;
            } else
            if( y - radius < 0 ) {
                offScreen = true;
            return offScreen;
        public override function create(): Node {
            return Circle {
                centerX: bind x,
                centerY: bind y,
                radius: bind radius
                fill: bind color
    }

Maybe you are looking for