is this a Bug in TDBEdit? lazarus / 31-LCL ---------------------------------------------------------------------- xaver13 · 2017-11-10 11:28 Hello, Lazarus Windows SVN 54695. I needed Alignment for my TDBEdit field. I found not it in properties in object inspector, but I can set it up in program Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i DBEdit12.Alignment:=taRightJustify; am I wrong or is it a bug? ---------------------------------------------------------------------- balazsszekely · 2017-11-10 11:55 I wouldn't call it a bug,  Alignment is just public property. In order to see it in OI a property must be published. ---------------------------------------------------------------------- korba812 · 2017-11-10 13:10 "Alignment" property is not published here because the alignment is taken from TField.Alignment. In addition, DBEdit.Alignemt can be overridden with a value from TField.Alignment. So use TField.Alignment property (it is published and can be edited in OI). ---------------------------------------------------------------------- xaver13 · 2017-11-10 14:14 Quote from: korba812 on November 10, 2017, 02:10:44 pm"Alignment" property is not published here because the alignment is taken from TField.Alignment. In addition, DBEdit.Alignemt can be overridden with a value from TField.Alignment. So use TField.Alignment property (it is published and can be edited in OI). sorry, how can I do this? How can I find it? Where in OI? Thank you very much. ---------------------------------------------------------------------- korba812 · 2017-11-10 14:40 It depends on the type of dataset. For SQLDB, right-click on SQLQuery and select "Edit fields". Then select the database field. Then you can edit TField properties in OI. ---------------------------------------------------------------------- xaver13 · 2017-11-10 17:04 Quote from: korba812 on November 10, 2017, 03:40:03 pmIt depends on the type of dataset. For SQLDB, right-click on SQLQuery and select "Edit fields". Then select the database field. Then you can edit TField properties in OI. Thank you, you showed me places I never used and I never knew they exist ---------------------------------------------------------------------- korba812 · 2017-11-10 18:33 You're welcome. Here you can read more about datasets and fields: http://etutorials.org/Programming/mastering+delphi+7/Part+III+Delphi+D atabase-Oriented+Architectures/Chapter+13+Delphi+s+Database+Architectu re/The+Fields+of+a+Dataset/ ---------------------------------------------------------------------- xaver13 · 2017-11-11 10:08 Quote from: korba812 on November 10, 2017, 07:33:50 pmHere you can read more about datasets and fields: http://etutorials.org/Programming/mastering+delphi+7/Part+III+Delphi+D atabase-Oriented+Architectures/Chapter+13+Delphi+s+Database+Architectu re/The+Fields+of+a+Dataset/ I tried to use in my code something as this Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  //     DBEdit5.Alignment:=taRightJustify;//     DBEdit9.Alignment:=taRightJustify;//     DBEdit12.Alignment:=taRightJustify;     Query1.FieldByName('Col_15').Alignment := taRightJustify; //DBEdit5   Query1.FieldByName('Col_19').Alignment := taRightJustify; //DBEdit9     Query1.FieldByName('Col_27').Alignment := taRightJustify; //DBEdit12 First I tried the section now commented for DBEdits. Second, after reading your link,  I used Fields (here not commented). Strange is that it is working fo DBEdit and DBGrid under windows, but under MacOS it is working in DBGrid but not in DBEdits. ---------------------------------------------------------------------- korba812 · 2017-11-11 11:02 Probably problem is with macos widgetset. Unfortunately I have no access to mac. You can try attached project and see if alignment is changing on runtime. If not, problem affects TEdit on macos and is not TDBEdit related. ---------------------------------------------------------------------- xaver13 · 2017-11-11 11:36 Quote from: korba812 on November 11, 2017, 12:02:53 pmProbably problem is with macos widgetset. Unfortunately I have no access to mac. You can try attached project and see if alignment is changing on runtime. If not, problem affects TEdit on macos and is not TDBEdit related. Hello, tried your project. It works nice under Windows. But under MacOs radio box check changes nothing. ---------------------------------------------------------------------- korba812 · 2017-11-11 12:38 So you found a bug. Please report it to bugtraker and include a sample project (project, which I attached earlier, is enough).