dionel1969 Posted July 1, 2011 Share Posted July 1, 2011 Hello !!! Today is not a good day for me. I just trying to do some things with Framework and is not working good: 1- I have the following: 1.1- TADOTable pointing to a table in SQL Server called "Messages" in the MainModule. 1.2- UniDBNavigator and UniDBGrid pointing to DataSource called "dsrcMessages" (of course it have tblMessages as DataSet). When I fill the value using OnNewRecord event of this table the values don't appear in the grid. The incredible thing is that I have the same schema with another table and it works very good. 2- Well, I close the Delphi and reopen it. I compile, (not build) the same application without any change and when I call it through web browser I got these messages: An Exception has occured in application: Error reading tvwMain.Items.FontData: List index out of bounds (0) Restart application I did not change anything there, just reopen the application. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 1, 2011 Administrators Share Posted July 1, 2011 Are you using latest build of uniGUI ? Can you send a test case? Link to comment Share on other sites More sharing options...
dionel1969 Posted July 1, 2011 Author Share Posted July 1, 2011 Are you using latest build of uniGUI ? Can you send a test case? The second thing I repair deleting this line from DFM: Items.FontData = {0100000000} and recreating all item: 4 items, no more than. I don't know why this appear there. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 1, 2011 Administrators Share Posted July 1, 2011 Items.FontData = {0100000000} It stores Font data for TreeView Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 1, 2011 Administrators Share Posted July 1, 2011 Hello !!! Today is not a good day for me. I just trying to do some things with Framework and is not working good: 1- I have the following: 1.1- TADOTable pointing to a table in SQL Server called "Messages" in the MainModule. 1.2- UniDBNavigator and UniDBGrid pointing to DataSource called "dsrcMessages" (of course it have tblMessages as DataSet). When I fill the value using OnNewRecord event of this table the values don't appear in the grid. The incredible thing is that I have the same schema with another table and it works very good. Need a test case for this one. Link to comment Share on other sites More sharing options...
lema Posted October 13, 2011 Share Posted October 13, 2011 Hi, I have the same exception here. Delphi 2010 with 0.86.0.889. "Error reading UniTreeView1.Items.FontData: List index out of bounds (0)." The problem occurs when close and re-open Delphi IDE . Please note that when Delphi IDE re-opens and shows by default the form with treeview, everything works OK! test.zip Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 13, 2011 Administrators Share Posted October 13, 2011 Hi, I have the same exception here. Delphi 2010 with 0.86.0.889. "Error reading UniTreeView1.Items.FontData: List index out of bounds (0)." The problem occurs when close and re-open Delphi IDE . Please note that when Delphi IDE re-opens and shows by default the form with treeview, everything works OK! I became aware of this issue. It seems to be an IDE bug or something else which I couldn't find yet. I added a temporary fix for this which will ne available in 0.87. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now