Typograph Profile Topics Started Replies Created Engagements Favorites Search replies: Forum Replies Created Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 9, 2012 at 9:28 pm in reply to: Toggle button #47757 TypographParticipant procedure TEq.EqOnOffbutClick(Sender: TObject); Const Cap : array[0..1] Of String =('Off',On'); begin TsSpeedButton(Sender).Down := Not TsSpeedButton(Sender).Down TsSpeedButton(Sender).Caption := Cap[TsSpeedButton(Sender).Down] end; Thats it…. February 9, 2012 at 9:23 pm in reply to: Toggle button #47756 TypographParticipant 1. Put a SpeedButton on the form 2. Set Property GroupIndex to a value higher than 0 3. Set allowUp to TRUE In Code TsSpeedButton(Sander).Down := Not TsSpeedButton(Sander).Down Author Posts Viewing 2 posts - 1 through 2 (of 2 total)