Jump to content

mderie

Members
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by mderie

  1. Hi,

     

    I wish to enhance the rendering of my dbgrid : applying some visual formatting

    without using editor ! Actually the editing options is set to false !

     

    So for instance we deal with national security number and I wish that the shown

    values in the grid have the following format : '99-99-9999-999-99'.

    Where 9 stands for any number.

     

    I can't use today the StringGrid ! Any other idea ? Thanks

     

    Bye.

  2. Hi (Bresler in particular :)

     

    Sorry about the language I speak only french and english... No spanish sorry

     

    I'll try to explain a bit more : when the grid receive the "Windows" focus (either by playing

    with the mouse either with one or more hit of the TAB key), the grid highlight its first line

    which is correct but it also check it which is not a good idea (the user may have to uncheck

    it, checks other ones and then ask for an operation on the selected ones)

     

    The dgCheckSelect option is about having the selection checkboxes on the left and is related

    wrongly ? to the dgRowSelect one. It means today we can't have the former without the later !!!

     

    What I need today is something like an OnEnter event where I should put this : grid.unselectAll();

    But it does not work...

     

    Bye

  3. Hi,

     

    I'm discovering the TUniDBGrid componenent (actually I used the derived, TBMUniDBGrid because I need the multi selection),

    and I have little trouble with the focused line which also check the checkbox on the left of the grid. Which bother me since

    it is not meant to be like this.

     

    ==> I use the following grid options :

     

    [dgEditing,dgTitles,dgIndicator,dgColumnResize,dgColLines,dgRowLines,dgRowSelect,dgCheckSelect,dgConfirmDelete,dgMultiSelect]

     

    Bye

  4. Hi,

     

    It seems that on Delphi XE3 Update 2, samples\the main.dfm reference something like this

    ...

      object clientdata: TClientDataSet
        PersistDataPacket.Data = {

    ...

    Which doesn't compile :(

    ==> Removing it cause the grid having no data...

     

    Bye

     

    Update : just open the main.dfm with your favorite text editor and remove the "PersistDataPacket." part !

     

    Enjoy

     

    Thanks by the way for the component !

×
×
  • Create New...