Jump to content

Various Topics


dionel1969

Recommended Posts

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

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

  • Administrators

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

  • 3 months later...

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

post-281-0-44555000-1318484109_thumb.png

Link to comment
Share on other sites

  • Administrators

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...