Topic: Image Type Filter
Is there a way of setting filter for DBImage OpenDialog button? The reason is that I want to allow jpg|jpeg pictures only.
I know I can create my own button with something like the code below but would like to set the filter directly in the DBImage button.
Thanks for helping.
var
OpenDialog: TOpenDialog;
begin
OpenDialog := TOpenDialog.Create(OpenDialog);
OpenDialog.Filter:= 'Files jpg|*.jpg';