|
|
#1 |
|
Junior Member
Join Date: Aug 2008
Posts: 24
|
Problem in using message box with custom page
i am using one custom page to check the "TCP-Port" whether its open or occupied and if it is occupied it is throwing a message saying this port is occupied.
my problem is when i click "ok" in "message box" the page moved to the next page and i have to come back to the old page to change the port. Is there any way to stay at the same page after clicking the "ok" button of the message box. My Function for this operation is Function CustomPage InstallOptions::dialog "$PLUGINSDIR\CustomPage.ini" ReadINIStr ${TEMP1} "$PLUGINSDIR\CustomPage.ini" "Field 2" "State" ${Unless} ${TCPPortOpen} ${TEMP1} #MessageBox MB_OK "${TEMP1} port is free" ${Else} MessageBox MB_OK "${TEMP1} port is occupied please use some other port " ${EndIf} FunctionEnd Truly grateful for any assistance on this issue. Thanks a million! |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|