how to create dropdown box / text field and get the value inside the box ?
success create the text box for key in the value,
but how to get the value inside it ?
im using CHARTEVENT_OBJECT_CLICK for the button
if(id==CHARTEVENT_OBJECT_CLICK)
{
if(sparam=="LotSizeToUse")
{
// what should i put in here ?
// StringToDouble ?? or StrToDouble ??
You should be able to retrieve it using
ObjectGetString(chart_ID,name_of_objedit,OBJPROP_TEXT)
You can then typecast the text as a double, or use StringToDouble()
You should be able to retrieve it using
You can then typecast the text as a double, or use StringToDouble()
thanks for the help
trying now
You should be able to retrieve it using
You can then typecast the text as a double, or use StringToDouble()
