Recent

Author Topic: [SOLVED] DBGridUserCheckboxBitmap procedure is not called  (Read 5838 times)

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: [SOVED IN TRUNC] DBGridUserCheckboxBitmap procedure is not called
« Reply #15 on: March 04, 2019, 11:24:02 am »
Zoran, I removed the OnUserCheckboxImage event from trunk and put r60571+60578 on the merge request list. I though I could apply your original patch again to bring in the event, but this does not seem to work. Could you prepare a patch for the event based on the current state of trunk (r6078)?

I'll take a look.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: [SOVED IN TRUNC] DBGridUserCheckboxBitmap procedure is not called
« Reply #16 on: March 04, 2019, 11:45:11 am »
I'm attaching the patch here.

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: [SOVED IN TRUNC] DBGridUserCheckboxBitmap procedure is not called
« Reply #17 on: March 04, 2019, 12:28:06 pm »
Applied, thanks.

patyi: Now the part of Zoran's original patch which fixes the custom checkboxes in TDBGrid will be backported to the fixes branch; the remainder, the new OnUserCheckboxImage event, remains in trunks as a new feature and will be included in Laz 2.2.

patyi

  • Full Member
  • ***
  • Posts: 168
Re: [SOVED IN TRUNC] DBGridUserCheckboxBitmap procedure is not called
« Reply #18 on: March 04, 2019, 01:15:22 pm »
wp, thanks, but Lazarus 2.0 Fixes don't work, procedure DBGridUserCheckboxBitmap is not executed ! (tested with debuger, not entering in the DBGridUserCheckboxBitmap)
Trunc is Ok.

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: [SOVED IN TRUNC] DBGridUserCheckboxBitmap procedure is not called
« Reply #19 on: March 04, 2019, 01:37:23 pm »
I did not say that it is in fixes, just that it will be. We have a list of fixes to be merged (http://wiki.lazarus.freepascal.org/Lazarus_2.0_fixes_branch), and every couple of days one of the main developers merges them. So, please be patient.

patyi

  • Full Member
  • ***
  • Posts: 168
Re: [SOVED IN TRUNC] DBGridUserCheckboxBitmap procedure is not called
« Reply #20 on: March 04, 2019, 02:07:56 pm »
Sorry thet I am to quick ... I will be patient !  8-)

patyi

  • Full Member
  • ***
  • Posts: 168
Re: [SOLVED] DBGridUserCheckboxBitmap procedure is not called
« Reply #21 on: March 07, 2019, 09:42:39 am »
I just want to confirm that Lazarus 2 DBGridUserCheckboxBitmap is now working !  :D

 

TinyPortal © 2005-2018