EBDN - Community - Question & Answers

  Friday, 29 March 2019
  1 Replies
  1.2K Visits
0
Votes
Undo
Hello

I have code like this
With grdValue
If .InitGrid(Application, ActiveProject.Configuration.Dictionary.ID) Then ‘it is Aucotec dictionary set as primary dictionary
.TranslateAllowed = True
.ShowRowHeader = False
.ColCount = 1
.RowCount = 1
.RowHeight(1) = 20
.ColWidth(1) = 200
.Value(1, 1) = sValue
End If
End With

When I enter value “<0:319-2>” to grid it shows me message, that reference cannot be translated into valid dictionary reference.
How to use the "InitGrid" to resolve the text reference from the project dictionary?

Regards,
Michal