How to put a Image on ListBox Items using LiveBinding
1) put a ListBox in your form, as usual! 2) in ListBox, change the property "DefaultItemStyles -> ItemStyle" to any other value with "Bitmap"... you can see looking in "Visual LiveBindind panel!
3) in LiveBinding panel, bind the property "Item.Bitmap" to data-source-bitmaps-values... like a FDMemTable, or any other DataSet 4) active the "Sync" and see the values in Desing/Runtime
no code it's necessary! of course, maybe in your "updates" you needs add some code to post your updates... etc... etc...
see screenshot:
此帖子包含附件:
大小:96.6K |
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!
|