robertjohns 0 Posted February 12 Any way to add an option of Opendialog filename path selection in each listview subitem Item similar to below Image Share this post Link to post
Sherlock 663 Posted February 13 Those are just TButtons with three dots in 'em. It is up to the programmer to react to the OnClick event and open up whatever dialog is desired. Share this post Link to post
PeterBelow 239 Posted February 13 13 hours ago, robertjohns said: Any way to add an option of Opendialog filename path selection in each listview subitem Item similar to below Image A TListview is not designed to host other controls. Take a look at TControllist, it may be more suited to your requirements. Another option would be a TScrollbox with a number of instances of a custom frame (which are created in code as needed, each representing the data of a suitable object or record). 1 Share this post Link to post
robertjohns 0 Posted February 13 5 hours ago, Sherlock said: Those are just TButtons with three dots in 'em. It is up to the programmer to react to the OnClick event and open up whatever dialog is desired. The Image shown is designed in Paint to describe the concept whether is possible for Listview control each SubItem to be parent control of handling EditBox and a button Share this post Link to post
Sherlock 663 Posted February 13 Well, it looks like the FMX.TListView might be able to do the trick...not VCL, mind you! For VCL follow @PeterBelow Share this post Link to post
Remy Lebeau 1420 Posted February 13 In VCL, I would simply custom-draw an image of a "button" directly onto the ListView item, and then use mouse events on the ListView to detect a click on the "button" to invoke the dialog. Share this post Link to post
robertjohns 0 Posted February 14 19 hours ago, Remy Lebeau said: In VCL, I would simply custom-draw an image of a "button" directly onto the ListView item, and then use mouse events on the ListView to detect a click on the "button" to invoke the dialog. Any such Example will be appreciated .. Thanks Share this post Link to post