Sorry for my poor english. I'll try to write as correct as I can...
I need to create a custom dialog which set 2 properties : IPADDRESS1 and IPADDRESS2.
IPADDRESS1 is very simple to get : the user defines it himself.
Only the 3rd byte in the address change so I create 1 textbox with "192.1.", 1 empty Editbox and another textbox with ".1"
The first part of my dialog look like this :
The empty editbox have the property BYTE3IPADDRESS1IP Address mag : 192.1. ___ .1
The second part of my custom dialog :
The property IPADDRESS2 is defined from BYTE3IPADDRESS1 and a RadioButton Group...
The radiobutton group have only 2 radiobutton (radio1 and radio2).
If radio1 is selected, IPADRESS2=192.1.BYTE3IPADDRESS1.1
else if radio2 is selected then another field 192.168.___.1 have to appear and the user define himself the correct number (BYTE3IPADDRESS2).
Then when i get IPADDRESS1, IPADDRESS2, BYTE3ADDRESS1 and BYTE3ADDRESS2, I could lunch my own script which modify the IP address, the hosts file of the PC, etc
My problem concerns the 2nd part... I'm a noob and I totally lost.
I test multiple things but nothing works... I don't know how to do that.
Could you help me ?
Am I clear in my description ?
FOLLOW US
Get the latest news in Application Packaging