Results 1 to 2 of 2

Thread: I do not want selectionner all the line

  1. #1

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    62

    Question I do not want selectionner all the line

    I have a probléme then I have a datagrid then I made a code which allows me type value in this datagrid then for example datagrid contains 3 colunne VAT, price, including all taxes then I slaps on celul of VAT a value and I slaps a value on the celul of price and I click on importation which celul the including all taxes is calculated alots all it goes well
    then I made my code on evement MouseUp
    If DataGrid1.CurrentCell.ColumnNumber = 1 Or DataGrid1.CurrentCell.ColumnNumber = 2 Or DataGrid1.CurrentCell.ColumnNumber = 3 then
    mon trétement
    end if
    then my probléme what one I click on a celul it selectionne all the line but to me I veus not selectionner all the line how I can do that?

  2. #2
    Hyperactive Member
    Join Date
    Jan 2007
    Posts
    351

    Re: I do not want selectionner all the line

    Datagrid has a property called 'SelectionMode', change this to 'cellselect'.

    HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width