|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > UserInterface > DBWRadioInput |
Shows a radio-input + text-box interface.
Function DBWRadioInput(Title, LblTitle, Radio1Lbl, Radio2Lbl, DefaultRadio, DefaultInputValue, byref RadioActive, byref InputValue)
Title |
title of the form |
|---|---|
LblTitle |
title of the label |
Radio1Lbl |
label of the first radio button |
Radio2Lbl |
label of the second radio button |
DefaultRadio |
radio button set as default (1 or 2) |
DefaultInputValue |
input box value set as default |

The function assumes a TRUE value if the OK button was submitted, FALSE otherwise.
radioActive |
it is the radio button option checked |
|---|---|
InputValue |
it is the combo option selected |
The following example illustrates use of the function:
default_radio = 1
default_input_value = "sample text"
resp= DBWRadioInput ("title", "label_title", "radio_1_label", "radio_2_label", default_radio, default_input_value, radio_active , input_value)
if resp=true then
DBWMsgbox "radio " & radio_active & vbCRLF & "inputbox: " & input_value
end if