TwwLocateDialog properties

Comments

2 comments

  • Official comment
    Roy Woll
    You would need to add both vcl.wwlocate and vcl.wwdialog units to your form's uses clause. Then use the following code in your OnAfterCreatDialog event of your button to change FieldSelection.

    procedure TCombinedForm.NavigatorButton1AfterCreateDialog( Dialog: TwwCustomDialog);
    begin
      TwwLocateDialog(Dialog).FieldSelection:= TwwFieldSelection.fsVisibleFields;
    end;

     

    Comment actions Permalink
  • William Whitaker

    Also, I noticed when trying to compile, TwwCustomDialog is not recognized (from procedure wwDBNavigator1LocateDialogAfterCreateDialog(Dialog: TwwCustomDialog). That is of course if AfterCreateDialog is the needed.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk