Login Page - Create Account

Support Board


Date/Time: Wed, 18 Jun 2025 12:49:48 +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);