Hello,
I want to define hotspotareas with transparent BTNBMP in Design-mode
The button-values are saved / restored to / from a DBF
I need the Button-No. from a button-list defined in a DO WHILE like

Buttons created from a DBF-file .
Best Regards
Uwe
I want to define hotspotareas with transparent BTNBMP in Design-mode
The button-values are saved / restored to / from a DBF
I need the Button-No. from a button-list defined in a DO WHILE like

Buttons created from a DBF-file .
DBSELECTAREA (1)
DBSETORDER(1)
DBSEEK(UPPER(cWImage))
IF FOUND()
DO WHILE (1)->IMAGE = cWImage .and. !EOF()
nHSpotCol := (1)->HSCOLOR
@ (1)->TOP, (1)->LEFT BTNBMP oHBtn[n] OF oHDialog ;
SIZE (1)->WIDTH, (1)->HEIGHT PIXEL ;
PROMPT ALLTRIM( STR(n)) ;
FONT oFont2 ;
CENTER
oHBtn[n]:bAction := {|| msGalert( "Button. " + ALLTRIM(STR( // ????? oHBtn[n] )) ) }
oHBtn[n] :lTransparent := .t.
oHBtn[n] :SetColor( nHSpotCol, )
DBSKIP(+1)
n++
ENDDO
ENDIFBest Regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
