Sr. Antonio bCommNotify na oWnd principal é possível? ( OK )

Sr. Antonio bCommNotify na oWnd principal é possível? ( OK )

Postby MGA » Tue May 27, 2008 7:38 pm

DEFINE DIALOG oDlg RESOURCE "Teste"

oDlg:bCommNotify = { | nComm, nStatus | FWBytesAtPort( nComm, nStatus,oMesa ) }

ACTIVATE DIALOG oDlg CENTER;
ON INIT ( if(FWlInitModem(TBitsSeg,TPortcom,oDlg,cFWTitle),EnableCommNotification( nComm, oDlg:hWnd, 20, 20 ),));
VALID ( CloseComm( nComm ), .t. )


Sr. Antonio, é possível usar o código acima na WINDOW principal?
Last edited by MGA on Wed May 28, 2008 1:55 pm, edited 1 time in total.
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby MGA » Wed May 28, 2008 11:05 am

Sim é possível!

Obrigado Sr. Antonio.
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1254
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 27 guests