Recent

Author Topic: TRxDbGrid with lookup field  (Read 23390 times)

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
TRxDbGrid with lookup field
« on: September 03, 2007, 09:12:48 pm »
About the TRxDbGrid component from RxLib for Lazarus package (http://alexs75.narod.ru/fpc/rxfpc/index.html), does it support edditing a lookup field  in a combo-like manner ?

I only see a fixed pick-up list. Is there something like OnSelectEditor event ?

Nelson
BLOG: http://www.aocontrario.com

alexs

  • New Member
  • *
  • Posts: 19
    • http://alexs75.narod.ru/
RE: TRxDbGrid with lookup field
« Reply #1 on: September 03, 2007, 10:11:59 pm »
It should be realized in standard DBGrid - rxDBGrid only expands functions standard DBGrid. And in Delphi it too is realized in DBGrid. It is necessary to ask Jesus Reyes or to send it a ready code.

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
RE: TRxDbGrid with lookup field
« Reply #2 on: September 05, 2007, 08:33:55 pm »
Sorry, I didn´t understand. OnSelectEditor event IS present on DBGrid, so it should be published by TRxDbGrid, right ? So if it isn´t, I think it was deliberately hidden by the developer of Rx package, am I right ? In this case what would Jesus Reyes do ?

I need this event, so I can implement the procedure I described in this thread

http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&p=17221#17221

Nelson

alexs

  • New Member
  • *
  • Posts: 19
    • http://alexs75.narod.ru/
RE: TRxDbGrid with lookup field
« Reply #3 on: September 05, 2007, 09:32:09 pm »
n RxDBGrid I have published those properties which is in DBGrid and was not present in RxDbGrid. It will be in following version (1.1.6) - it during development - will be in the beginning of October.

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
RE: TRxDbGrid with lookup field
« Reply #4 on: September 06, 2007, 04:30:59 am »
Great new Alexs! looking foward to it. Can you say if you will implement the combo functionality for lookup fields as well in rxDBGrid ?

alexs

  • New Member
  • *
  • Posts: 19
    • http://alexs75.narod.ru/
RE: TRxDbGrid with lookup field
« Reply #5 on: September 06, 2007, 04:05:48 pm »
in future.
For this purpose I plan to use a code from components TRxDBLookupCombo.

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
RE: TRxDbGrid with lookup field
« Reply #6 on: September 06, 2007, 10:59:59 pm »
Great! Keep up the good work! :)

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
news ?
« Reply #7 on: October 25, 2007, 01:40:45 am »
any news about this issue ?

alexs

  • New Member
  • *
  • Posts: 19
    • http://alexs75.narod.ru/
RE: news ?
« Reply #8 on: October 25, 2007, 04:21:17 pm »
I now do not have free time. All can be seen last changes on Lazarus CCR. About your request I have not forgotten.

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
RE: news ?
« Reply #9 on: October 25, 2007, 06:03:10 pm »
Ok np... when you got news, let us know :)

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
RE: news ?
« Reply #10 on: October 26, 2007, 11:04:09 am »
BTW could you please look on z-ordering and drawing order? This might be a Lazarus/LCL bug, but if you put a RxLookupDBComboBox on top of eg: TDBGrid, the "button" and popup will get drawn behind the grid (so user can't click the arrow and can't select). Only the "edit" area will be visible.

I think this is a LCL/widgetset bug but can you confirm please?

alexs

  • New Member
  • *
  • Posts: 19
    • http://alexs75.narod.ru/
RE: news ?
« Reply #11 on: October 26, 2007, 04:30:33 pm »
i'm try to fix this

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
RE: news ?
« Reply #12 on: October 26, 2007, 04:54:37 pm »
NOTE: it's probably a LCL bug, happens with other components too (eg: TDateEdit)

alexs

  • New Member
  • *
  • Posts: 19
    • http://alexs75.narod.ru/
RE: news ?
« Reply #13 on: October 30, 2007, 12:53:29 pm »
see new version of TRxLookupDBComboBox in Lazarus CCR

nelson777

  • Jr. Member
  • **
  • Posts: 68
    • http://www.aocontrario.com
RE: news ?
« Reply #14 on: October 30, 2007, 02:58:23 pm »
Almindor2: are u using a dblookupcompo to pickup values in a DBGrid ? if that´s the case, could you please tell me how you position it ?

 

TinyPortal © 2005-2018