Hello Mr Rao,
I'm using FWH, version 23.07;
My goal is to be able to write various information about the button, different positions.
Ex.:
+------------------------------------------------------------------------------------+
| xxxxxxx ...................................................................... |
| xxxxxxx .......................................XXXXX XXXXXX( image) |
| |
+------------------------------------------------------------------------------------+
I made a multi-button Loop for testing and tried a few things that didn't work using existing methods.
As:
For nX = 1 To Len( oDlg1:aItem )
@ nLinha, nColuna + 50 BTNBMP aBtns[ nX ];
PROMPT "" RIGHT;
FLAT NOBORDER FONT oFontTxt COLOR CLR_BLACK, CLR_WHITE ;
SIZE oDlg1:nLargura - 100, 100 OF oDlg1:oPanel
aBtns[ nX ]:nRound := 20
aBtns[ nX ]:lTransparent := .F.
//aBtns[ nX ]:bPainted := { || aBtns[ nX ]:SayText( 'Linha 1',{ 0, 0, 40, 140 }, 'R', oFontTxt, { CLR_GREEN, CLR_BLACK } ) }
//aBtns[ nX ]:SayText( 'Linha 1',{ 0, 0, 40, 140 }, 'R', oFontTxt, { CLR_GREEN, CLR_BLACK } )
nLinha += 110
Next
Another need I have is to have a wide button with an image aligned to the left and for the action to only be executed if the click occurs on the image.
Thank you in advance for your attention!
Oliveiros Junior