The character "&" not shown properly in dialogs titles when use them from resources. Any ideas.
FWH Ver 2.6 September 2005
Thanks in advance
Dionisis
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg;
TITLE "This is a & test"
@ 1, 1 BUTTON "&Close" ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBut
DEFINE DIALOG oDlg;
RESOURCE "TEST"
REDEFINE BUTTON oBut PROMPT "&Close";
ID 201 OF oDlg;
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
TEST DIALOG 40, 27, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "This is a & test"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "&Close", 201, 12, 96, 50, 14
}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], karinha, nageswaragunupudi and 96 guests