TrackControlItem Object
Description
Track for the track control.
For a list of all members defined in this module, see TrackControlItem Members.
Object Model









Remarks
Tracks are what hold the blocks and keys. A track is a special item that is added to a regular GridRecord.
Dim TrackItem As TrackControlItem
Dim Record As GridRecord
Dim Block As TrackBlock
Set Record = TrackControl.Records.Add
Record.AddItem 1
Record.AddItem 1
Record.AddItem 1
Set TrackItem = TrackControl.[CreateTrackItem](XtremeGridControl~TrackControl~CreateTrackItem.md)
Record.[AddItemEx](XtremeGridControl~GridRecord~AddItemEx.md) TrackItem
Set Block = TrackItem.[AddBlock](XtremeGridControl~TrackControlItem~AddBlock.md)(**False**, 15, 25)
The code above adds a track to the track control. It adds 3 normal columns, then it adds a TrackControlItem. You must first create a track item before you can use it using the CreateTrackItem method. Once it is created, you can then add this new track item to the record using AddItemEx. This will add your track so you can then add blocks and keys.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.