Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: LiveBinding A BiDirectional Link From A TFDMemTable To A TMemo And A TImage

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0
Eli M

Posts: 1,346
Registered: 11/9/13
LiveBinding A BiDirectional Link From A TFDMemTable To A TMemo And A TImage  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 2, 2017 9:25 PM
Shouldn't I be able to bind a TMemo and a TImage to a TFDMemTable and it just automatically work like it does with a TEdit or am I just doing it wrong?

I finally did figure out how to bind a TMemo control but it requires manually creating a TBindLink and entering a bunch of properties to do so when it should just let me drag the TMemo Text property to the TFDMemTable field.

Found out about the TBindLink solution here:

Finally, if you want to actually make changes in code to say Memo1.Lines.Text you need to manually call this afterward:

Same goes for TImage. It seems like the default LiveBindings TImage support is mainly one way. You can display an image out of the TFDMemTable but it isn't really BiDirectional by default. Is there an easy way to make the TImage LiveBindings BiDirectional?

Lastly, I wanted to do something simple like LiveBinding a TRectangle.Visible property to a TButton.IsPressed property. They are both booleans. Shouldn't this just one click work yet does not?

Are these easier to do than they appear? If not I'm going to submit a feature request to:
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02