Jump to content

Enter no UniDBMemo


tgb.amaro

Recommended Posts

Hi,

 

Bom dia,

 

Como fazer com que a tecla enter pule para a próxima linha do UniDBMemo.

 

 

 

----------------------------

Good Morning,

How to make a button enter the list for the next line of UniDBMemo.

 

Sorry, can you clarify your question ?

Link to comment
Share on other sites

Do you mean how to add a new line to a UniDBMemo by click of a button?

 

You have to work directly on the field:

procedure TMainForm.btnAddMemoLineClick(Sender: TObject);
begin
  with myMemoQuery do
   fieldByName('memofield').AsString:=fieldByName('memofield').AsString 
    + chr(13) + chr(10) + 'some extra text';
end;
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...