[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 744
  • Last Modified:

DevExpress Quantum TreeList 4 to 5: Undeclared identifier: 'FieldName'

The exact code where the error occurs:
Result := treeview1.Columns[1].DataBinding.FieldName;

Component name:
TcxDBTreeList

The Error:
z_Search.pas(4188): Undeclared identifier: 'FieldName'

Thoughts:
There's no DataBinding.FieldName, how can I fix this code? I obviously can't just comment it because it's a required line.

Thanks.
0
John86a
Asked:
John86a
1 Solution
 
Ephraim WangoyaCommented:

You have to type cast it

TcxDBTreeListColumn(treeview1.Columns[1]).DataBinding.FieldName
0
 
John86aAuthor Commented:
Wow, thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now