dcl_BlockView_DisplayBlock

Started by velasquez · 2008-02-15 17:33 UTC · 3 replies · SMF topic #177

In Alpha 4 dcl_BlockView_DisplayBlock not this working inside of OnInitialize 
The call below worked without problems in OpenDCL 4...

(defun c:JoyLoop-5_JoyMainLoop_OnInitialize (/)
;;;Centraliza o quadro
    (Dcl_Form_Center JoyLoop-5_JoyMainLoop)
;;;ESTA FUNCIONANDO BEM
    (Dcl_BlockView_DisplayBlock JoyLoop-5_JoyMainLoop_JoyBlockIso "JoyIso")
  ) ;_ fim de defun

Should I tell this how a BUG or was it already seen?
Owen this is giving an OpenDCL runtime error: "Expected more arguments"

According to the Int. Help there are 2 flavors of this funtion:
(dcl_BlockView_DisplayBlock Misc_DemoModal_BlockView
BlockName  [as String]
Optional PresetView  [as Integer]
Optional ZoomFactor [as Real])

(dcl_BlockView_DisplayBlock Misc_DemoModal_BlockView
BlockName  [as String]
CameraXOffset  [as Real]
CameraYOffset  [as Real]
Optional CameraZOffset  [as Real]
Optional ZoomFactor [as Real])

Which I think are causing the confusion.
The same issue maybe occurring with (dcl_BlockView_DisplayBlockToScale ...)

Bug report:
{2}
This this working well now. 
I might have missed some before thing
Excuse me. 
My last postage was on dcl_BlockView_DisplayBlock in OnInitialize.