SegmentedControlItem.Icon
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Segment.Icon as a replacement. |
Property (As Picture )
aSegmentedControlItem.Icon = newPictureValue
or
PictureValue = aSegmentedControlItem.Icon
New in 2010r4
Supported for all project types and targets.
or
PictureValue = aSegmentedControlItem.Icon
New in 2010r4
Supported for all project types and targets.
The Picture associated with the segment.
Notes
For best results, the icon should be 16x16 points.
Example
This code adds the icon to the first segment. The code is in the Open event of the SegmentedControl. The picture has been added to the project.