Need Directions Placing Controls on a Form
Posted: Tue Apr 26, 2016 11:42 pm
Hi! I'm trying to re-create the following form. It was originally written in Visual Basic 6.
I have figured out how to create the "Com Port" radio button column. I have put a "Refresh" button below it, but the button is not inside the radio button box. I hope my project engineer can live with that.
Now I'm trying to add the "Enable Com Interface" checkbox, the Communication Port Status text, the Temporary File Path text dialog, and the Browse button on the page. I am at a loss. What happens is that I have the first sizer set up on the page to be vertical, so anything I add later on is appended to the bottom of the screen. If I change it to Horizontal, then EVERYTHING appends to the right.
What I really want is for the new group of controls to be beside the radio buttons field.
I think the wxFlexGrid sizer might work. I just need to figure out how to put more than one control in the right frame of the sizer. See the picture below.
Can you please tell me how to put the checkbox, text box, text label and box, and refresh button, all in the sizer area to the right of the radio buttons, so that they match the original drawing more?
Thanks!!!
Colleen
------------------
Software Versions:
------------------
CodeLite = 9.1.6
g++ = 4.9.3
tdm-g++ = 5.1.0.3
Windows 7 = 6.1
wxCrafter = 2.5
wxWidgets = 3.1.0
I have figured out how to create the "Com Port" radio button column. I have put a "Refresh" button below it, but the button is not inside the radio button box. I hope my project engineer can live with that.
Now I'm trying to add the "Enable Com Interface" checkbox, the Communication Port Status text, the Temporary File Path text dialog, and the Browse button on the page. I am at a loss. What happens is that I have the first sizer set up on the page to be vertical, so anything I add later on is appended to the bottom of the screen. If I change it to Horizontal, then EVERYTHING appends to the right.
What I really want is for the new group of controls to be beside the radio buttons field.
I think the wxFlexGrid sizer might work. I just need to figure out how to put more than one control in the right frame of the sizer. See the picture below.
Can you please tell me how to put the checkbox, text box, text label and box, and refresh button, all in the sizer area to the right of the radio buttons, so that they match the original drawing more?
Thanks!!!
Colleen
------------------
Software Versions:
------------------
CodeLite = 9.1.6
g++ = 4.9.3
tdm-g++ = 5.1.0.3
Windows 7 = 6.1
wxCrafter = 2.5
wxWidgets = 3.1.0