From Bindings List to Visual LiveBindings
Over the past few weeks, I blogged about Delphi's expression engine, binding expressions and component, and the bindings list component. Now it is time to put it all together by looking at the visual tools Delphi makes available to easily configure bindings. This is called LiveBindings Designer (available under the View | Tool Windows menu) and it's an additional pane you can display alongside a design time form or data module.
Here is how the demo from the last blog post looks in the LiveBindings Designer: http://blog.marcocantu.com/images/fo...inginds_01.png Now if you want to create some of the bindings directly in the designer, you can do the following sample steps:
Now this is a very simple scenario, there are many properties of controls you can connect, but you might need to expand the “bindable” properties from the default ones, by selecting the three dots at the bottom of the elements in the LiveBindings designer. http://blog.marcocantu.com/images/fo...inginds_03.png Now it is important to notice that this designer and the related wizards are primarily focused on database data binding scenarios, which is why associating UI controls doesn't always work easily. We’ll look into data bindings in a future blog post. http://feeds.feedburner.com/~r/marco...~4/ob3Bwn9JAqE Weiterlesen... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:44 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz