Why is this code produce an error?

Why is this code produce an error?

Postby ask » Wed Apr 18, 2007 8:58 am

I have xharbour 0.99.60 and Fivewin 2.7. The following code produce an error :
Harbour Exception
Called from CDLG2CHR(0)
Called from TDIALOG:CTOCHAR(0)
Called from TDIALOG:ACTIVATE(0)

This has something to do with the length of the title string

Thank you
A.S.K


#include "fivewin.ch"



function main()
local oDlg

define dialog oDlg pixel ;
from 90,142 to 648,863 ;
title 'test'+replicate('0',190)



activate dialog oDlg


return nil
ask
 
Posts: 99
Joined: Wed Nov 02, 2005 10:40 am

Re: Why is this code produce an error?

Postby Enrico Maria Giordano » Wed Apr 18, 2007 2:22 pm

The string seems too long for the DIALOG's title.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests

cron