Customized forms can perform operations that we want the grid cells on them to run after data entry or lookup operations.
Process steps;

1 - Adding Grid Actions

In the LPT development environment, the relevant form is opened and the grid is selected.

the properties> actions field of the grid is clicked as shown in the screen image.

2 - Actions

Select the option to add new methods on existing definitions from the opened Actions screen.

In this example, find out from the tag number of the "Code" field on the grid which lookup is connected.

Select the area indicated by the red lines and press the next key.


3 - New Action

Incoming screen;

  • Which transaction
  • This process is performed on the tag numbered object

The screen we specified to be done.

Let's add a new method to a definition that exists in this example.

That's why we press the next key before continuing to make changes.


4 - Commands

Incoming Display

  1. Click the Add button
  2. Select Invoke field added,
  3. Enter the name of the method (any method name) that I want to invoke in the Invoke Method field
  4. Finish with finish


In the event handler of the form, we need to write the method we want to execute.
The method to be considered is the "ILbsXUIPane container, Object data, IClientContext context" field.

Grid InvodeCodeMethod
public void InvokeCodeMetod(ILbsXUIPane container,Object data, IClientContext context)
{
	JOptionPane.showMessageDialog(null,"Test Invoke Metod");
}



Telif HakkıKullanım KoşullarıGizlilik
Copyright © 2018 Logo Yazılım