Está perdiendo oportunidades comerciales:
- Aplicaciones de trading gratuitas
- 8 000+ señales para copiar
- Noticias económicas para analizar los mercados financieros
Registro
Entrada
Usted acepta la política del sitio web y las condiciones de uso
Si no tiene cuenta de usuario, regístrese
Tienes 4 puntos para poder alterar la anchura y la altura en ambas direcciones.
Si quieres mover todo el objeto tendrías que alterar los 4 parámetros.
Por favor, explique lo que quiere hacer.
Al final del último día, un hombre me dio un ejemplo, y fue impresionante para mí.
Así que ahora estoy trabajando duro en ello, hasta ahora todo va bien.
Si tengo problemas, os lo haré saber.
Todo lo mejor para ustedes.
Estoy un poco confundido, ¿el código de abajo es bueno para mostrar el valor en el botón, por favor?
( muestra el valor correcto - pero tengo una duda debajo del código )
( por favor, no me culpes )
Todo lo mejor.
sí y no.
Esto convierte el doble en una cadena.
Para establecer la etiqueta se necesita ObjectSetString()
sí y no.
Esto convierte el doble en una cadena.
Para establecer la etiqueta se necesita ObjectSetString()
#Texto del botón - Reabrir
¿Cómo puedo llevar el Texto del Objeto Botón al centro, por favor?
Una vez pasé este problema pero ahora me está molestando mucho.
ObjectSetInteger(0,"big button",OBJPROP_XSIZE,200);
ObjectSetInteger(0,"big button",OBJPROP_YSIZE,200);
ObjectSetInteger(0,"big button",OBJPROP_XDISTANCE,20);
ObjectSetInteger(0,"big button",OBJPROP_YDISTANCE,20);
ObjectSetString(0,"big button",OBJPROP_TEXT,"X");
ObjectSetString(0,"big button",OBJPROP_FONT,"Arial");
ObjectSetInteger(0,"big button",OBJPROP_FONTSIZE,170);
ObjectSetInteger(0,"big button",OBJPROP_COLOR,clrWhite);
ObjectSetInteger(0,"big button",OBJPROP_BGCOLOR,clrBlack);
ObjectSetInteger(0,"big button",OBJPROP_BORDER_COLOR,clrGray);
ObjectSetInteger(0,"big button",OBJPROP_BACK,false);
ObjectSetInteger(0,"big button",OBJPROP_STATE,false);
ObjectSetInteger(0,"big button",OBJPROP_SELECTABLE,false);
ObjectSetInteger(0,"big button",OBJPROP_SELECTED,false);
ObjectSetInteger(0,"big button",OBJPROP_HIDDEN,false);
ObjectSetInteger(0,"big button",OBJPROP_ZORDER,0);
ObjectCreate(0,"small button",OBJ_BUTTON,0,0,0);
ObjectSetInteger(0,"small button",OBJPROP_XSIZE,20);
ObjectSetInteger(0,"small button",OBJPROP_YSIZE,20);
ObjectSetInteger(0,"small button",OBJPROP_XDISTANCE,221);
ObjectSetInteger(0,"small button",OBJPROP_YDISTANCE,20);
ObjectSetString(0,"small button",OBJPROP_TEXT,"X");
ObjectSetString(0,"small button",OBJPROP_FONT,"Arial");
ObjectSetInteger(0,"small button",OBJPROP_FONTSIZE,10);
ObjectSetInteger(0,"small button",OBJPROP_COLOR,clrWhite);
ObjectSetInteger(0,"small button",OBJPROP_BGCOLOR,clrBlack);
ObjectSetInteger(0,"small button",OBJPROP_BORDER_COLOR,clrGray);
ObjectSetInteger(0,"small button",OBJPROP_BACK,false);
ObjectSetInteger(0,"small button",OBJPROP_STATE,false);
ObjectSetInteger(0,"small button",OBJPROP_SELECTABLE,false);
ObjectSetInteger(0,"small button",OBJPROP_SELECTED,false);
ObjectSetInteger(0,"small button",OBJPROP_HIDDEN,false);
ObjectSetInteger(0,"small button",OBJPROP_ZORDER,0);
( Estoy trabajando en ello. )
Todo lo mejor.
Ese es el centro. Bueno... lo mejor que piensa MT4. No hay opción OBJPROP_ALIGN para OBJ_BUTTON
Si sus caracteres llenan un gran porcentaje del área del botón, se dará cuenta de que el centro no es siempre el centro.
A veces los espacios en blanco y/o el tamaño de la fuente y/o el tipo de letra pueden ayudar a la visualización.
#Texto del botón - ReCerrar
Este es el centro. Bueno... lo mejor que piensa MT4. No hay opción OBJPROP_ALIGN para OBJ_BUTTON
Si tus caracteres llenan un gran porcentaje del área del botón, te darás cuenta de que el centro no es siempre el centro.
A veces los espacios en blanco y/o el tamaño de la fuente y/o el tipo de letra pueden ayudar a la visualización.