RYOFilterRestore

<< Click to Display Table of Contents >>

RYOFilterRestore

Declaration

function RYOFilterRestore( sFileName : String ) : WordBool;

Description

Sets or resets the active bitmap to one saved to disk by RYOFilterSave.

Parameters

sFileName: A fully qualified filename containing a bitmap saved with RYOFilterSave.

Return Value

True or False depending on the outcome of the operation.

Delphi Example

procedure TForm1.Open1Click(Sender: TObject);

begin

 if OpenDialog1.Execute then 

 if ApTbl.RYOFilterRestore( OpenDialog1.FileName ) then

 Button1.Caption := 'Clear Filter'; 

end;

C++Builder Example

void __fastcall TForm1::Open1Click(TObject *Sender)

{

 if (OpenDialog1->Execute()) 

 if (ApTbl->RYOFilterRestore( OpenDialog1->FileName ))

         Button1->Caption = "Clear Filter"; 

}

See Also

RYOFilterActivate, RYOFilterCopy, RYOFilterCreate, RYOFilterDestroy, RYOFilterSave, RYOFilterSetBit

URL of this topic:
https://www.apollodb.com/docs/vcl/index_vcl.html?apollovcl_ryofilterrestore.htm