Two propertys of identical object types lazarus / 10-Designer ---------------------------------------------------------------------- alexs · 2004-12-24 00:29 in component i'm declare 2 propertys of identical object types ...     property Transaction:TJvUIBTransaction;     property UpdateTransaction:TJvUIBTransaction; ... property UpdateTransaction not display in object inspector ---------------------------------------------------------------------- Lightning · 2004-12-26 21:05 Did you rebuild Lazarus ? You should rebuild to see them in the OI. ---------------------------------------------------------------------- Anonymous · 2004-12-27 09:14 Yes, I  rebuild Lazarus. Other new properties are displayed ---------------------------------------------------------------------- Marc · 2004-12-27 09:45 Are they both read and write ? ---------------------------------------------------------------------- Anonymous · 2004-12-28 10:54 In delphi 7 - ok. full example   private     function GetTransaction: TJvUIBTransaction;     function GetUpdateTransaction: TJvUIBTransaction;     procedure SetUpdateTransaction(const AValue: TJvUIBTransaction);     procedure SetTransaction(const AValue: TJvUIBTransaction); ... published   property Transaction:TJvUIBTransaction read GetTransaction write SetTransaction;   property UpdateTransaction:TJvUIBTransaction read GetUpdateTransaction write SetUpdateTransaction; ---------------------------------------------------------------------- Marc · 2004-12-28 14:46 Hmm... maybe you have found a bug that 2 or more properties of the same class arent allowed. Can you try this for example with 2 properties Font: TFont and Font2: TFont to see if it is there aswell ? ---------------------------------------------------------------------- Anonymous · 2004-12-29 22:06 In a simple case all ok. But in structure components of access to the data - it is not displayed. http://www.progdigy.com/download/AlexDataset.zip - DataSet for access to FireBird/Interbase Lazarus - win32, ver 0.9.2b 18.12.2004 ---------------------------------------------------------------------- jesusr · 2004-12-30 18:02 Quote from: "Anonymous"In a simple case all ok. But in structure components of access to the data - it is not displayed. http://www.progdigy.com/download/AlexDataset.zip - DataSet for access to FireBird/Interbase Lazarus - win32, ver 0.9.2b 18.12.2004 I tried your component in linux (with some changes) and it does show the Transaction and UpdateTransaction in the object inspector, Lazarus 0.9.3 beta 29-dic-2004 and Free Pascal Compiler version 1.9.5 [2004/12/29] for i386 by the way, setting Transaction automatically sets UpdateTransaction, it's ok? ---------------------------------------------------------------------- Anonymous · 2004-12-31 00:14 i'm so sorry. At assembly Lazarus the old version of modules, therefore property was used was not displayed. Whether there is a description - how correctly to adjust ways to libraries? > by the way, setting Transaction automatically sets UpdateTransaction, it's ok? i'ts ok. >(with some changes) What? ---------------------------------------------------------------------- jesusr · 2004-12-31 05:46 Quote from: "Anonymous"i'm so sorry. At assembly Lazarus the old version of modules, therefore property was used was not displayed. Whether there is a description - how correctly to adjust ways to libraries? > by the way, setting Transaction automatically sets UpdateTransaction, it's ok? i'ts ok. >(with some changes) What? Sorry I have not checked lately the lazarus ccr documentation, so I don't know if there are documentation on how to set the paths to the libraries (If  I undestand correctly your first question) on the second question this is what I have done: 1. Changed the paths in the Package Compiler's options. A)They were refered to what I supposed was your UIB install in C: and B)  the output dir for the package (the lib dir), also at some point in your C: disk. I changed to point to my UIB install and the correct unit output for me. 2. I changed the references to Windows, Messages in the uses to: {$IFDEF WIN32} Windows, Messages, {$ELSE} LCLIntf, {$ENDIF} I've not checked if LCLIntf is really needed, though but it works for A) I think all what is needed is a dependency to the UIB package and not set the path to the source because this create duplicated units (which lazarus nicely detects ) For B) it's not necesary to set an absolute path to the output unit dir (the lib dir), setting the value to: lib it's enought and will work in windows and linux. there is a problematic file, though: jvuib.inc which is shared between your component and UIB. Maybe copying the file directly to your source tree will be enought but I don't tested. I just tried to compile your component and not tried many things above, I will do it as soon as possible. It's a nice component, great editor. Congratulations. ---------------------------------------------------------------------- Anonymous · 2005-01-04 14:08 Thanks for remarks. I have written the module for editing property FieldName in component DBEdit, DBGrid, DBText, in style Delphi (with a choice from the list - now in Lazarus it is necessary to write a name of a field manually) is it is necessary? ---------------------------------------------------------------------- jesusr · 2005-01-04 14:51 it would be nice to have it, please send your update to the mailing list