Jump to content

Free form creation problem


docjones
 Share

Recommended Posts

try
  kk:=TSearchFreeForm.Create(UniApplication);
  Kk.ShowModal(

  Procedure(Sender: TComponent; Result:Integer)
    begin
        if Result=mrOk then Begin
          //Query.Locate('numero',kk.Query.FieldByName('numero').AsString,[loCaseInsensitive]);
        End;

    End

  );
finally
    kk.Free;
end;

Hi.

I just try creating a free form to search data, but when I call showmodal, error occurs (see attach).

TSearchFreeForm is a simple empty Free form.

I think that my code is correct.

Versión 0.99.0.1150 Pro.

 

 

 

 

 

post-454-0-75522700-1427972867_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...