Message 1 of 15
OpenDCL Picturebox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm just getting into ODCL and trying a simple picture dialog. Not sure why this code won't show the pic. It's in my support path, and even if I hard code the path it won't load.
The Error is:
Error: NIL value not allowed.
Function: dcl-PictureBox-LoadPictureFile
Argument 0
(defun c:ODCT ()
(command "_OPENDCL")
(dcl_project_load "ODCL-Test-001" T)
(dcl_form_show ODCL-Test-001_Form1)
(dcl-PictureBox-LoadPictureFile ODCL-Test-001/Form1/PictureBox1 "ge_logo3.png" T)
(princ)
)
AutoCad 2018 (full)
Win 11 Pro
Win 11 Pro