PRODUCTS » Quick Links

FEATURED PRODUCT

Office 2010, 2007 & Windows 7 scenic ribbon or Office 2003 toolbar & menus for your Windows applications

License only 125 EUR See More

LOGIN

Customer login to access products, support information & special benefits.

SEARCH

STAY IN TOUCH

Add your e-mail address here to receive the monthly TMS Software alerts.

 

Frequently Asked Component Specific Questions



Chronological

By Author:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS Pack for FireMonkey: Adding an element at runtime to the TTMSFMXTableView (May 9, 2012)

To add an element at runtime, the shape that is connected to the TTMSFMXTableViewItem must exist. The shape can be returned using the Shape function on the TTMSFMXTableViewItem:

var
  shp: TTMSFMXTableViewItemShape;

shp := TMSFMXTableView1.Items[0].Shape;
 

To add a element / control to that shape, simply create that element and add it as a child of the item.
r := TRectangle.Create(shp);
shp.AddObject(r);

Pieter Scheldeman (May 9, 2012)


Copyright © 1995 - 2013 TMS Software v3.5