Support Board
Date/Time: Sun, 16 Mar 2025 02:05:07 +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); |