Recent

Author Topic: RxDBGrid & TRxColumn  (Read 6798 times)

kit

  • New Member
  • *
  • Posts: 39
RxDBGrid & TRxColumn
« on: September 12, 2016, 07:33:36 am »
Can you add "AlwaysShowEditButton" for column option or how can I simulate it?

alexs75

  • Full Member
  • ***
  • Posts: 112
Re: RxDBGrid & TRxColumn
« Reply #1 on: September 14, 2016, 09:19:03 am »
Code: Pascal  [Select][+][-]
  1.   RxDBGrid1.Options:=RxDBGrid1.Options + [dgAlwaysShowEditor];
  2.  

vfclists

  • Hero Member
  • *****
  • Posts: 1013
    • HowTos Considered Harmful?
Re: RxDBGrid & TRxColumn
« Reply #2 on: September 14, 2016, 10:48:58 am »
This is offtopic but concerns the RxLibrary.

Could you kindly prefix all filenames in the library with Rx2? That will create some kind of namespace so that there no conflicts with other libraries. The original Rx library also requires something similar. ie Rx, but that is something for the Lazarus developers to change.
Lazarus 3.0/FPC 3.2.2

alexs75

  • Full Member
  • ***
  • Posts: 112
Re: RxDBGrid & TRxColumn
« Reply #3 on: September 14, 2016, 10:59:20 am »
There is another port Rx from Delphi?

vfclists

  • Hero Member
  • *****
  • Posts: 1013
    • HowTos Considered Harmful?
Re: RxDBGrid & TRxColumn
« Reply #4 on: September 14, 2016, 05:26:35 pm »
There is an rx1.0 which is part of Lazarus itself and there are some conflicting names to change when I use both of them. I prefix a lot of files in rxnew with rx so that file names like vcutils become rxvcutils, strutils becomes rxstrutils, versinfo becomes rxversinfo etc. But I realize that there are a few fiiles in rx1.0 which conflict, which is why I say it may be better for all rx1.0 files to be prefixed with rx and rxnew files to be prefixed with Rx2..

It will cause some issues intially bit in the long term it will be better. It will be like the change of DBDateEdit to RxDBDateEdit after Lazarus added their official version.

There is another port Rx from Delphi?

Lazarus 3.0/FPC 3.2.2

kit

  • New Member
  • *
  • Posts: 39
Re: RxDBGrid & TRxColumn
« Reply #5 on: September 15, 2016, 06:47:47 am »
It work only when cursor in cell. I want that button visible when grid show and it can be ReadOnly

alexs75

  • Full Member
  • ***
  • Posts: 112
Re: RxDBGrid & TRxColumn
« Reply #6 on: September 15, 2016, 07:25:58 am »
vfclists
http://forum.lazarus.freepascal.org/index.php/topic,34054.0.html
kit
I do not know yet - it will look like. There is an example? For the behavior of the editor responsible Grid module - will override meets both functional.

kit

  • New Member
  • *
  • Posts: 39
Re: RxDBGrid & TRxColumn
« Reply #7 on: September 17, 2016, 07:01:21 am »
Analog for DBGridEh column property AlwaysShowEditButton

 

TinyPortal © 2005-2018