Data controls based on the field editor... lazarus / 16-Databases ---------------------------------------------------------------------- wcleyton · 2018-04-02 20:15 Hi, How to automatically create data controls based on the field editor like in Delphi? ---------------------------------------------------------------------- wcleyton · 2018-04-03 01:27 Is there this feature? ---------------------------------------------------------------------- valdir.marcos · 2018-04-03 01:59 Are you talking about this? ------------------- How to replace the field type and value in dbgrid? http://forum.lazarus.freepascal.org/index.php/topic,40674.msg281051.ht ml#msg281051 ------------------- ---------------------------------------------------------------------- taazz · 2018-04-03 02:56 or drag and drop between the fields editor and the form? some sort of function that returns a control class to dynamically create at runtime or is it a design time only request? ---------------------------------------------------------------------- mangakissa · 2018-04-03 06:42 Quote from: wcleyton on April 02, 2018, 10:15:07 pmHi, How to automatically create data controls based on the field editor like in Delphi? Can my Opel drive automatically as a Tesla. Please specify you question. @Runtime data controls are created automatically, but you can not use the properties if you have not specified them in code. ---------------------------------------------------------------------- wcleyton · 2018-04-03 11:40 Drag and drop between the fields editor and the form. ---------------------------------------------------------------------- valdir.marcos · 2018-04-03 13:57 Quote from: wcleyton on April 02, 2018, 10:15:07 pmHow to automatically create data controls based on the field editor like in Delphi?It works the same way as in Delphi. Quote from: wcleyton on April 03, 2018, 03:27:03 amIs there this feature?Yes, there is. Quote from: wcleyton on April 03, 2018, 01:40:18 pmDrag and drop between the fields editor and the form.Do it as you would do in Delphi. What version of Lazarus are you using? ---------------------------------------------------------------------- wcleyton · 2018-04-03 14:59 FPC - 3.0.5 Lazarus - 1.8.3 (SVN - Fixes) Windows 7 - SP 1 Drag the Field Editor onto the Form and nothing happens. See attached. ---------------------------------------------------------------------- wcleyton · 2018-04-03 22:41 Is there this feature? ---------------------------------------------------------------------- taazz · 2018-04-03 22:52 Quote from: wcleyton on April 04, 2018, 12:41:49 amIs there this feature? not to my knowledge ---------------------------------------------------------------------- valdir.marcos · 2018-04-04 04:06 Sorry, wcleyton for my misleading information. I was wrong. I think I have used this feature on Lazarus before, but since it does not work now on Lazarus 1.8.2 (latest stable version), I am not sure any more. I have just created a bug report or feature request based on this discussion: 0033555: Drag and drop from fields editor to form https://bugs.freepascal.org/view.php?id=33555