You know input fields, I'm sure! But how to create them in FmScript? To accomplish this task, you may use two functions:
InputFieldAdd(InputName, FieldName, Visible, Password, DefaultValue, Length, Align, PickList, Data, Color, TextColor, Disabled, ReadOnly, DigitsOnly : String);
- InputName: the name of input session
Input2(InputName, Header, SumitButtonCaption, ReturnValuesSeperator, BackgoundImageID : String, Integer(Timeout in ms));
- InputName: the name of input session
var Result:String;
ShowMessage('Begin');
//---InputFieldAdd(InputName, FieldName, Visible, Password, DefaultValue, Length, Align, PickList, Data, Color, TextColor, Disabled, ReadOnly, DigitsOnly : String);
Result := InputFieldAdd('InputName', 'Nom', '1', '0', 'Sangoku', '', '', '', '', '', '', '0', '0', '0');
Result := InputFieldAdd('InputName', 'ListType', '1', '0', '', '', '', '1;2;3;4;5;6;7;8;9', '', '', '', '0', '0', '0');
//Result := InputFieldAdd('InputName', 'ListType', '1', '0', '', '', '', '1;2;3;4;5;6;7;8;9', '', '', '', '0', '0', '0');
Result := Input2('InputName', 'Real Advanced', 'SumitButton', '+*-*+', '', '60000');