Shouldn't it be?
frmDialog=CreateObject('<b>DynFormOk</b>','Some Text',1,'Some Title')
>
>Here is the situation:
>
>I have a VCX called Dynamic and it contains a class DynFormOk.
>I set the appropriate classlib.
>DynFormOk has 3 parameters: cMessageText,nIcon,cTitleBarText (looks familiar?)
>
>DynformOk has the following code in Init:
> lparameters cMessageText,nIcon,cTitleText
> return
>
>if I issue the following statement:
> frmDialog=CreateObject('DyndialogOk','Some Text',1,'Some Title')
>I get the following error message:
> Error Instantiating Object
>
>Anybody can tell me what I am doing wrong?
>
>Thanks in advance
>
>Pascal
--sb--