dcl_BlockView_DisplayBlock

Started by velasquez, February 15, 2008, 09:33:46 AM

Previous topic - Next topic

velasquez

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?

BazzaCAD

#1
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:
https://sourceforge.net/tracker/index.php?func=detail&aid=1894709&group_id=187950&atid=923363
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

velasquez

This this working well now. 
I might have missed some before thing

velasquez

Excuse me. 
My last postage was on dcl_BlockView_DisplayBlock in OnInitialize.