B bluedude Well-Known Member Licensed User Longtime User Feb 21, 2011 #1 Hi, I´m looking for a way to do a kind of group button row in my UI. When selecting one button the others need to change state. Does that all need to be done by code or can it be done in the designer.
Hi, I´m looking for a way to do a kind of group button row in my UI. When selecting one button the others need to change state. Does that all need to be done by code or can it be done in the designer.
klaus Expert Licensed User Longtime User Feb 21, 2011 #2 bluedude said: Does that all need to be done by code or can it be done in the designer. Click to expand... Yes, you need to do it on your own by code. Only RadioButtons work that way. The best way is to have one Click routine for all these buttons. Save the current button in a variable. That way you can unselect the current Button in the Click routine. And set with the Sender object the new current Button and select it. I have used this in the Fast Fourier Demo Program. Best regards. Last edited: Feb 21, 2011 Upvote 0
bluedude said: Does that all need to be done by code or can it be done in the designer. Click to expand... Yes, you need to do it on your own by code. Only RadioButtons work that way. The best way is to have one Click routine for all these buttons. Save the current button in a variable. That way you can unselect the current Button in the Click routine. And set with the Sender object the new current Button and select it. I have used this in the Fast Fourier Demo Program. Best regards.