WPCubed Product Support

Catch Table resize event

How can I catch when a table is manually resized by the user? Is there some sort of OnTableResize or something like that I could hook up to?

Here's the scenario, the user creates a table:

var
  TableDlg: TWPTableDlg;
begin
  ...
  try
    TableDlg := TWPTableDlg.Create(FDoc);
    TableDlg.EditBox := FControl;
    TableDlg.Execute;
  finally
    FreeAndNil(TableDlg);
  end;
end;

Then moves the mouse cursor on one of the lines that make up the table and moves it somewhere else, therefore resizing the table.

I'd like to be able to catch when that happens.

Thanks in advance.

#1 ✎ ♥ 0
3.8k Views 2 users read 1 min
wpsupport

Sorry, there is no event called in WPTools 8 in this case.

#2 ♥ 0
This category is archived. No new posts are possible.