Buenas tardes,
¿ Qué tipo de control hay que poner en workshop para usar un REDEFINE BTNBMP?
He puesto un Pushbutton y no funciona el botón, ni sale el texto.
#include "fwce.ch"
function Main()
local oDlg, oBtn
DEFINE DIALOG oDlg RESOURCE "Test"
REDEFINE BTNBMP oBtn ID 1 OF oDlg PROMPT "Ok" ;
ACTION MsgInfo( "ok" )
ACTIVATE DIALOG oDlg ;
ON INIT oBtn:SetColor( CLR_WHITE, CLR_BLUE )
return nil
#include <windows.h>
test DIALOG 10, 35, 139, 89
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "DialogBox Test"
FONT 8, "system"
{
LTEXT "&Name:", -1, 14, 4, 23, 8
EDITTEXT 110, 12, 14, 114, 12
LTEXT "&Address:", -1, 14, 30, 32, 8
EDITTEXT 120, 12, 41, 114, 12
CONTROL "", IDOK, "TBtnBmp", WS_BORDER|WS_TABSTOP, 14, 67, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 74, 67, 50, 14
}
Return to FiveWin para Pocket PC
Users browsing this forum: No registered users and 13 guests