dialog title have some limit of characters ?
a string with 115 characters or more causes a app crash
please, execute the code below and put 88 or less in the "Add in title:" ; the dialog will be showed
if put 89 or more, the app crash occurs
- Code: Select all Expand view
#include "Fivewin.ch"
Function Test()
local oDlg, cTitle
while .t.
oDlg:=NIL
cTitle:='Testing limit Dialog Title'
nRepl:=0
if !msgget('Test:','Add in title:',@nRepl)
exit
endif
cTitle+=REPL('a',nRepl)
define dialog oDlg from 01,01 to 32,100 title cTitle
activate dialog oDlg center on init (oDlg:Show(), msginfo(len(cTitle),"Len of Title"))
enddo
return
thanks