1

How can I move around and program individual radio buttons on my CreateInputOptionPage page? For example, I want to put some text under each of my radio buttons and be able to move them around as if they were created as custom TNewRadioButton objects. I've created a page using the CreateInputOptionPage like this:

TestPage := CreateInputOptionPage(wpWelcome, 'CAPTION', 'DESCRIPTION', 'SUBCAPTION', True, False);
TestPage.Add('RADIO1');
TestPage.Add('RADIO2');
TestPage.CheckListBox.Left := 0;
Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
JConstantine
  • 1,020
  • 7
  • 19
  • While you can move around individual *controls*, you cannot move individual radio buttons, as they are not separate *controls*. Sorry, if I my comment to you previous question gave you wrong assumptions. – You might be able to use `MinItemHeight` to add some space between the buttons, where you might place your description. But I'm not sure it will work correctly. – You also might be able to use a solution like this: https://stackoverflow.com/q/10867087/850848 – Martin Prikryl Apr 17 '20 at 08:13
  • @MartinPrikryl Looks like it is not possible to have radio buttons and checkboxes on the same page, right? – JConstantine Jun 15 '20 at 15:13
  • It is possible. – Martin Prikryl Jun 15 '20 at 15:21
  • @MartinPrikryl By using `AddEx` method? – JConstantine Jun 15 '20 at 15:39
  • I do not know what are you trying to achieve. Please post a new question with details. – Martin Prikryl Jun 15 '20 at 16:17

0 Answers0