Tree view loses items on Mac lazarus / 31-LCL ---------------------------------------------------------------------- Michael Collier · 2011-09-23 06:45 I'm getting issues porting TTreeView from XP to MAC, both version 0.9.3 This is what I do 1. Windows XP new Lazarus project, place TTreeView on form, add some items 2. Copy project onto Apple MAC 3. Open the form with the TTreeView and all items gone Note: If I play around with the items and view the form source (.lfm) on the MAC I start to get "Access Violation" and crash the IDE ---------------------------------------------------------------------- Arbee · 2011-09-23 06:50 Do you have a small project for us to try it out and investigate? ---------------------------------------------------------------------- Michael Collier · 2011-09-23 07:14 Sure, here is the file as it was saved on XP http://www.kicchip.co.uk/lazarus/treeView.zip ---------------------------------------------------------------------- Arbee · 2011-09-23 10:02 Hmmm ... weird ... I'm afraid I don't have any problem neither on XP nor on Mac.  Both use the same FPC level (I have 2.4.2)? ---------------------------------------------------------------------- Michael Collier · 2011-09-23 11:35 Same here 2.4.2 for both, my Mac FPC is for PowerPC ---------------------------------------------------------------------- Michael Collier · 2011-09-23 11:58 Arbee, Any chance you could compile the DBFStudio example from here please: http://mydbfstudio.altervista.org/down/mydbfstudio_source_0.4beta.zip 1. When I run it on the Mac it freezes when it gets to the splash screen. 2. When I try to open DBF files (e.g. months.dbf in examples directory) they show no rows even though data is in them. 3. Multi doc child windows crash when they are closed in normal state (ok when maximised) I've mentioned these in other posts so forgive me for cross-posting but no response, hopefully you can fire it up quickly and nail a few problems in 1 hit. This way I can figure out if Lazarus or my Mac setup is the problem.. Many thanks in advance ---------------------------------------------------------------------- Arbee · 2011-09-23 13:38 I won't be able to do that very quickly as it turns out I do not have some of the packages installed that you seem to use, like MultiDoc and LMI and equally I do not have TDBF. As luck would have it I also do not have access to my Mac from tonight onwards for a week. So unless somebody else jumps in, I'm afraid it may take a while to check this. B.T.W. :  The main difference between your Mac and mine is that I have an Intel Mac. [EDIT] A meeting of mine was cancelled so I managed to install all this anyway.  I can confirm it does on my iMac the same as you describe.  The program hangs while in the process of showing the splash screen (just a black rectangle shown). I commented out the splash screen to continue.  I do not have the dbf files you mention as there is no examples directory. ---------------------------------------------------------------------- Michael Collier · 2011-09-26 11:04 Thanks for doing that, is there any chance you could confirm my findings regarding the lack of data when opening DBF on Mac? I have uploaded a simple 1 form project along with a DBF file http://www.lazdev.net23.net/download/dbftest_mac.zip ---------------------------------------------------------------------- Arbee · 2011-09-26 13:08 If you can wait until Monday, October 3.  It's only then that I see my Mac again. ---------------------------------------------------------------------- Michael Collier · 2011-09-29 09:34 Thanks arbee, I'm going to abandon the multidoc and the tdbf components, it may be useful to other lazarus users to know your results when the mac comes back. I'm going to try a different file based component, the XML reader seems to work on my Mac so I'll try using that as a basis for reading my existing delphi tclientdataset xml data, cheers, Mike