Support Board
Date/Time: Mon, 14 Jul 2025 20:36:09 +0000
Post From: sc.TradeWindowOrderQuantity
[2022-07-31 04:10:59] |
User99735 - Posts: 234 |
a) sc.TextInput is obsolete now. b) If you still want to get input from parameters window, add the following code SCInputRef Input_Quantity = sc.Input[7]; Input_Quantity.Name("Quantity"); Input_Quantity.SetInt(20); c) Then convert the int to SCString TextToDisplay; if (Input_Quantity.GetInt() > 0) OrderQuantity = Input_Quantity.GetInt(); TextToDisplay = sprintf("%i", OrderQuantity); |