Dynamic Code pVal in B1
AnsweredGood morning,
i need to understand wich variable can be use instead of pVal (normally used in Sdk) in Dinamic Code (c#), to get the line number
Example:
Matrix oMtx;
ComboBox oCmb;
oMtx=(Matrix)form.Items.Item("38").Specific;
oCmb = (ComboBox)oMtx.Columns.Item("U_TipoDoc").Cells.Item(pVal.Row).Specific;
Thank You
-
Official comment
Answered in ticket.
-
Development answer:
It is not possible to get the full pVal variables (UF - Dynamic Code events can come from item, menu and formData events so there is no common event)
We have a common event among them called "eventData" that have properties:
FormTypeEx
BubbleEvent
TargetRow
SourceRow
FormDataObjectKeyExample:
string ft = eventData.FormTypeEx;
But other than those rest is off limit to the UF - Dynamic code.
Note: SourceRow and Target row are used in line loops and can give you what row is being transferred from and to. In a none line loop scenario, they contain the same value as itemEvents pVal.Row
Please sign in to leave a comment.
Comments
2 comments