Libraries: EasyAndFastGUI library for creating graphical interfaces - page 44

 
Miguel Angel Vico Alba #:

It seems that at one time version 2.0 was available on the Market, according to what the author says in the description.

However, it is no longer available, so there is no error on your part; it is simply no longer available. As Eleni mentioned, please contact the author (send a private message).

You can reach him (the author) on telegram

tol64 💎
tol64 💎
  • t.me
You can contact @tol64 right away.
 
Mateus Cerqueira Lopes #:

You can reach him (the author) on telegram

Is this Anatoli's official telegram?

Are you sure?

 
Could someone help me? I need to change the image or color of the increment and decrement buttons in a TextEdit, but I can't find the pointer that gives me access to this change. I tried using "btnInc.IconFile()", but it didn't work.

void CProgram::EstilizarTextEdit(CTextEdit &textEdit)
{
   // Obtém ponteiros dos subcomponentes
   CTextBox *entry   = textEdit.GetTextBoxPointer();
   CButton  *btnInc  = textEdit.GetIncButtonPointer();
   CButton  *btnDec  = textEdit.GetDecButtonPointer();

   // ---------- Estilo da caixa de texto ----------
   entry.LabelColor(clrBlack);
   entry.BackColor(clrWhite);
   entry.BorderColor(clrSilver);

   // ---------- Botão de incremento ----------
   btnInc.BackColor(clrWhite);
   btnInc.BackColorHover(clrLightGray);
   btnInc.BorderColor(clrSilver);
   btnInc.BorderColorHover(clrDarkGray);

   // ---------- Botão de decremento ----------
   btnDec.BackColor(clrWhite);
   btnDec.BackColorHover(clrLightGray);
   btnDec.BorderColor(clrSilver);
   btnDec.BorderColorHover(clrDarkGray);
}
 
@Arturo Hugo Ninamango #Is this Anatoli's official telegram? Are you sure?

If you had visited Anatoil's profile page, you would have seen it shown there, which is also obvious given the user's own username "tol64" ... 

Anatoli Kazharski - tol64 - Trader's profile
Anatoli Kazharski - tol64 - Trader's profile
  • 2024.09.21
  • www.mql5.com
Trader's profile
 
Tiago Silvano Souza Felipe #:
Could someone help me? I need to change the image or color of the increment and decrement buttons in a TextEdit, but I can't find the pointer that gives me access to this change. I tried using "btnInc.IconFile()", but it didn't work.

Try adding these lines

void CProgram::EstilizarTextEdit(CTextEdit &textEdit)
{
   // Obtém ponteiros dos subcomponentes
   CTextBox *entry   = textEdit.GetTextBoxPointer();
   CButton  *btnInc  = textEdit.GetIncButtonPointer();
   CButton  *btnDec  = textEdit.GetDecButtonPointer();

   // ---------- Estilo da caixa de texto ----------
   entry.LabelColor(clrBlack);
   entry.BackColor(clrWhite);
   entry.BorderColor(clrSilver);

   // ---------- Botão de incremento ----------
   btnInc.IsStaticColors(true);   // >  Try This...
   
   btnInc.BackColor(clrWhite);
   btnInc.BackColorHover(clrLightGray);
   btnInc.BorderColor(clrSilver);
   btnInc.BorderColorHover(clrDarkGray);

   // ---------- Botão de decremento ----------
   btnDec.IsStaticColors(true);   // >  Try This...
   
   btnDec.BackColor(clrWhite);
   btnDec.BackColorHover(clrLightGray);
   btnDec.BorderColor(clrSilver);
   btnDec.BorderColorHover(clrDarkGray);
}


If it doesn't work for you in this section, try using it before creating the control.



 
Fernando Carreiro #:

If you had visited Anatoil's profile page, you would have seen it shown there, which is also obvious given the user's own username "tol64" ... 

Well, sir, I had some doubts because I wrote to you but did not receive a response...

 
Arturo Hugo Ninamango #:

Try adding these lines


If it doesn't work for you in this section, try using it before creating the control.



Thanks for replying, but this "IsStaticColors" method doesn't exist in any class. I have the latest version of the library.

 
Tiago Silvano Souza Felipe # :
Thanks for replying, but this "IsStaticColors" method doesn't exist in any class. I have the latest version of the library.

I also have the latest version of the library and keep it updated for the latest version of MT5, I have not tested this on MT4 but for MT5 it is fully functional.

 
Arturo Hugo Ninamango #:

I also have the latest version of the library and keep it updated for the latest version of MT5, I have not tested this on MT4 but for MT5 it is fully functional.

Sorry, maybe I didn't explain it correctly. I can change the background color, but I need to change the arrow color. Its default color is dark, and it disappears when I change the background color to dark for the increment button. Panel 1 Panel 2

void CProgram::EstilizarTextEdit(CTextEdit &textEdit)
{
   // Campo principal (botão do ComboBox)
   CTextBox *entry   = textEdit.GetTextBoxPointer();
   
   entry.LabelColor(            corEntryTexto);
   entry.LabelColorHover(       corEntryTextoHover);
   entry.LabelColorPressed(     corEntryTextoPress);
   entry.BackColor(             corEntryFundo);
   entry.BackColorHover(        corEntryFundoHover);
   entry.BackColorPressed(      corEntryFundoPress);
   entry.BorderColor(           corEntryBorda);
   entry.BorderColorHover(      corEntryBordaHover);
   entry.BorderColorPressed(    corEntryTextoPress);     // se o componente suportar

   CButton *btnInc = textEdit.GetIncButtonPointer();
   CButton *btnDec = textEdit.GetDecButtonPointer();

   // Botões de incremento e decremento       
   btnInc.BackColor(        clrWhite);
   btnInc.BackColorHover(   corBtnScrollFundoHover);
   btnInc.BorderColor(      corEntryFundo);
   btnInc.BorderColorHover( corBtnScrollBordaHover);

   btnDec.BackColor(        clrYellow);
   btnDec.BackColorHover(   corBtnScrollFundoHover);
   btnDec.BorderColor(      corEntryFundo);
   btnDec.BorderColorHover( corBtnScrollBordaHover);
}
 
Tiago Silvano Souza Felipe # :

Sorry, maybe I didn't explain it correctly. I can change the background color, but I need to change the arrow color. Its default color is dark, and it disappears when I change the background color to dark for the increment button


m_txt_sl_dinero.GetIncButtonPointer().BackColor(clrGreen);
m_txt_sl_dinero.GetIncButtonPointer().BackColorHover(clrOrange);
m_txt_sl_dinero.GetIncButtonPointer().IconFile(RECURSOS_RUTA_IMAGENES + "arrow_up.bmp");
  
m_txt_sl_dinero.GetDecButtonPointer().BackColor(clrCyan);
m_txt_sl_dinero.GetDecButtonPointer().BackColorHover(clrBlueViolet);
m_txt_sl_dinero.GetDecButtonPointer().IconFile(RECURSOS_RUTA_IMAGENES + "arrow_down.bmp");