with resources

without resources

this is very very strange !!!!!
default.rc
#ifndef __64__
1 24 "WinXP\WindowsXP.Manifest"
#else
1 24 "WinXP\WindowsXP.Manifest64"
#endifthe test.prg
#include "FiveWin.ch"
Function test()
Local oDlg,oSay,oFolder,oFont
local ctext:=""
DEFINE FONT oFont NAME "MS Sans Serif" SIZE 0,-8
oBold := oFont:Bold()
DEFINE DIALOG oDlg SIZE 1130,650 PIXEL TRUEPIXEL ;
FONT oFont
@ 1, 0 FOLDEREX oFolder OF oDlg SIZE oDlg:nWidth-585,oDlg:nHeight-390 PIXEL ;
PROMPT "Prenotazioni"
@ 2, 200 SAY oSay PROMPT cText SIZE 260,14 PIXEL OF oFolder:aDialogs[1] CENTER VCENTER FONT oBold
oSay:SetColor( CLR_GREEN, CLR_GREEN )
oDlg:bResized := <||
oRect := oDlg:GetCliRect()
oFolder:nWidth := oRect:nRight-2
oFolder:nHeight := oRect:nBottom-160
return nil
>
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT ( Eval(oDlg:bResized) )
return nilAny solution ?
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

