TwwLocateDialog properties
How do I set the TwwLocateDialog properties? I have it as one of my buttons in the TwwDBNavigator. I want to set the property for FieldSelection to fsFieldsVisible. From the manual, I'm unable to determine how to set this property and other properties related to TwwLocateDialog. Can you help?
-
Official comment
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
Please sign in to leave a comment.
Comments
2 comments