Jump to content

How to Check if UniEdit is blank


joyfack

Recommended Posts

To Check if the control in blank or not and send him a dislogmessage, I use this process. Some times it workin some times not. most on the firts time. after it don't show the warning. I don't know that if i don't use the good code or it's cookies. Please help me.

 

if UniEdit.IsBlank then
            begin
                MessageDlg('Please you must fill this', mtWarning, [mbOK],
                procedure(Sender: TComponent; Res: Integer)
                  begin
                    UniEdit.SetFocus;
                    Abort;
                  end
                )
            end
          else

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.

×
×
  • Create New...