it is possible with Fwh create a dialog when the final user move the mouse over a btnbmp ?
as this :
I need to insert on this dialog a xbrowse
FUNCTION SHOW_MSG(nButton, nBTop, nBLeft, cHead, cText1, cText2, cText3, cText4)
Local nTop := nBTop + 35, nLeft := nBLeft + 40, oBrw, oBtn1, oTitle, oBmp1
Local nValue := 3, oRad
Local aData := { { 'Ragged Array' }, ;
{ 123, Date(), 'Some Text', 349.23 }, ;
345.26, ;
date()-20, ;
{ 'Next is Array', { "Nested Array", Date(), 3567.89 } } ;
}
lMessage := .T.
IF nTop + 315 > oDlg:nBottom
nTop := nBtop - 180
ENDIF
IF nLeft + 340 > oDlg:nRight
nLeft := nBLeft - 290
ENDIF
// width height
@ nTop, nLeft TITLE oPopup SIZE 300, 300 OF oDlg PIXEL SHADOW BOTTOMRIGHT SHADOWSIZE 10
@ 15, 80 TITLETEXT oTitle OF oPopup TEXT cHead FONT oSysFont2 COLOR 128
//@ 52, 104 TITLETEXT oText1 OF oPopup TEXT "New Line 1" FONT oTextFont COLOR 255
//@ 83, 104 TITLETEXT oText2 OF oPopup TEXT "Line 2" FONT oTextFont COLOR 255
@ 5, 5 TITLEIMG oBmp1 OF oPopup BITMAP c_Path + "\Bitmaps\OLGA.BMP" SIZE 45, 60 ANIMA LEVEL 255 ;
ACTION ( NIL)
oPopup:lRound := .T.
oPopup:lBorder := .T.
oPopup:nClrLine1 := 255
@ 70,15 XBROWSE oBrw PIXEL ;
ARRAY aData ;
SIZE 260, 160 OF oPopup ;
LINES CELL FASTEDIT AUTOCOLS
AEval( oBrw:aCols, { |oCol| oCol:nEditType := EDIT_GET } )
oBrw:CreateFromCode()
@ 240, 100 BTNBMP oBtn1 OF oPopup ;
SIZE 100, 40 PIXEL 2007 ;
NOBORDER ;
PROMPT "&Quit" ;
FILENAME c_path + "\Bitmaps\Exit.Bmp" ;
ACTION ( lMessage := .F., oPopup:End() ) ;
FONT oSysFont1 ;
LEFT
oBtn1:lTransparent := .t.
oBtn1:cToolTip = { "Exit " + CRLF + "Dialog","EXIT", 1, CLR_BLACK, 14089979 }
oBtn1:SetColor( 0, )
RETURN( NIL )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 87 guests