i have a problem. I always use SAYSIZE 0, x with DCSAY, because i want to have the automatic width for the DCSAY. Unfortunately the height of the DCSAY is also automatic set in this case. Is there a posibility to have only the automatic for the width?
This sample shows my problem:
Code: Select all
#include "dcdialog.ch"
#include "appevent.ch"
function Appsys()
return NIL
procedure main()
local getlist := {}, getoptions := {}, lRet, cVar := padr("Test", 20)
@ 30, 20 DCSAY "TestTest" SAYSIZE 0, 42 SAYFONT "22.MS Sans Serif" SAYVCENTER SAYCOLOR {|| { , GRA_CLR_RED} }
@ 30, 140 DCGET cVar GETSIZE 300, 42 GETFONT "22.MS Sans Serif"
DCGETOPTIONS TITLE "Test" PIXEL
DCREAD GUI TO lRet OPTIONS getoptions ADDBUTTONS FIT
RETURN
The attachment show my problem as a screenshot.