adxRibbonTab and accing an checkbox Item

Add-in Express™ Support Service
That's what is more important than anything else

adxRibbonTab and accing an checkbox Item
Simple property require to determine 'pressed' state 
Mervin Pearce




Posts: 26
Joined: 2005-12-06
I have a adxRibbonTab which has a CheckBox control and I need to access the state. Is there a simple way to read the property.

For example something like this...'adxRibbonTab2.Controls.Items[0].AsRibbonCheckBox.Pressed'
Posted 30 Sep, 2015 08:49:36 Top
Mervin Pearce




Posts: 26
Joined: 2005-12-06
Found it

try
with adxRibbonTab2.Controls.Items[0].AsRibbonGroup do
begin
if Controls.Items[1].AsRibbonCheckBox.Pressed then
ShowMessage('Yes');
end;
finally

end;
Posted 30 Sep, 2015 08:57:22 Top
Andrei Smolin


Add-in Express team


Posts: 14106
Joined: 2006-05-11
Great!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 30 Sep, 2015 09:39:58 Top