Item Placement issue
SolarEnergy
HiI'm trying to learn how the Item Placement, ie moving fields, works.
I moved a field, ie the territory field from one place to another. However I notice that the orange yellow arrow, the link to field that allows for selecting territories did not follow along. Is this normal behavior? Does this means that not all fields can be moved?
Anders Olsson
Hello,Unfortunately this is a limitation with Item Placement. But it is still possible! In this example I will show you how to move the "Freight" arrow on the sales order form:
Create an Optimizer C# rule.
Set FormType to 139
Set EventType to FormLoad
Use the following code:
[CODE]
try
{
LinkedButton btn = LinkedButton.GetFromUID(pVal.Form, "91");
btn.Top = btn.Top + 100;
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString(), "OK");
}
return true;[/CODE]
This will move the arrow down by 100 points. You can set an absolute value for Top position too of course.
I hope this helps.
Regards,
Anders
0
Please sign in to leave a comment.
Comments
0 comments