... en el servidor...recuerden que soy nuevo el tema de socket Gracias .. JOHNSON RUSSI TELLO Colombia /********* FUNCTION Transfiere(cModOri) local oBtn1, oBtn2, oBtn3, oBtn4 DEFINE WINDOW oWnd TITLE "Client socket" @ 2, 2 BUTTON oBtn1 PROMPT "Socket Window" ; ACTION Socket1() ...
is it possible to toggle a defined Button-Brush on Mousecaption like used for Gradient : oBtn1:bClrGrad = { | lMouseOver | If( ! lMouseOver, ButtonGrad1, ButtonGrad2) }
... ). The Position : < @ D_HEIGHT - 150, D_WIDTH - 210 > was the same. The Button used with a Window : @ D_HEIGHT - 150, D_WIDTH - 210 BTNBMP oBtn1 SIZE 170, 90 OF oWnd1 2007 ; // ON INIT : oBtn1:move(oWnd1:nHeight - 150, oWnd1:nWidth - 210, , , .F. ), ; The same Button used with a Dialog ...
... Error E0047 Code block contains both macro and declared symbol references 'NFUNCION' Esta es la definición en el programa REDEFINE BUTTON oBtn1 ID 991 OF oDlg ; ACTION ( cFuncion := "Funcion" + strzero(nFuncion) + "()",; eval({||&cFuncion}) )
Thanks for your help Here is the prg #include "FiveWin.ch" static oWnd function Main() local oFont Local oBtn1 DEFINE FONT oFont NAME "Arial" SIZE 0, -22 BOLD skinbuttons() DEFINE Dialog oWnd; TITLE "Test" size 800,600 pixel @ 10, 5 BTNBMP oBtn1 OF ...
... oSay1:SetFont(oFont2) // oSay1:Hide() // With a Switch-Var, You can Switch from Hide to Show inside the Dialog : lSay1 := .F. REDEFINE BTNBMP oBtn1 ID 30 OF oDlg ; NOBORDER ; FILENAME c_path + "\images\Switch.bmp" ; TOOLTIP "Hide / Show" ; ACTION IIF( lSay1 = .F., ( oSay1:Show(), ...
... REQUEST DBFCDX //----------------------------------------------------------------------------// Procedure Main() local oWnd, oBtn1, oBtn2, oBtn3, oBmp1 SET DELETED ON SET DATE TO ITALIAN SET CENTURY ON SET EPOCH TO 2000 If IsExeRunning( cFileName( HB_ArgV( 0 ) ) ) MsgInfo( ...