Recent Posts

Pages: [1] 2 3 ... 10
1
Deployment / Re: Problem with OpenDCL and GstarCAD 2023
« Last post by owenwengerd on March 31, 2023, 05:53:54 PM »
The DwgPreview issue should be fixed in 9.2.0.5.
2
Studio/Dialog Editor / Re: How to add items to combo list?
« Last post by Fred Tomke on March 31, 2023, 11:27:34 AM »
Hello, have you already tried to put it into the OnInitialize event?
With regards, Fred
3
. . . it seems that there is a lot of people interested in this topic !
4
Studio/Dialog Editor / Re: How to add items to combo list?
« Last post by neperin on March 31, 2023, 06:59:35 AM »
Thanks for the reply.
However, I couldn't get the results I want. I really want to populate the combo box in the first place, when the program starts running.
But It is empty, unfortunately.

Here is my code snippet:
Code: [Select]
(defun c:qq ()
  (command "_OPENDCL")
  (dcl_project_load "modeless")
  (dcl_form_show modeless_mainForm)
  (dcl-Control-AddList bo_type (list "A" "B" "C"))
  (princ)
)
5
Thanks for your reply,
It's not that I did anything strange. All I did was to load a modelles window and read a polyline, however, the aliases won't work.
Even if I try to reload using the ALIASEDIT command, the aliases seem to vanish again. Is any workaround available?
6
Hello,

since I do not know you project I can only guess: all the aliasses are only avaliable during the form is loaded. Note before calling dcl-form-show on a modal form and not after dcl-form-show has finished. But that was already so right before 2007.
With regards, Fred
7
Studio/Dialog Editor / Re: How to add items to combo list?
« Last post by Fred Tomke on March 24, 2023, 02:16:07 PM »
Hi,

you can replace the complete list by calling AddList: http://www.opendcl.com/HelpFiles/index.php?page=Reference/Method/ComboBox/AddList.htm
you can add an item by calling AddString: http://www.opendcl.com/HelpFiles/index.php?page=Reference/Method/ComboBox/AddString.htm

The complete list of methods and properties you can see at http://www.opendcl.com/HelpFiles/index.php?page=Reference/Control/ComboBox.htm

I hope that helps.
With regards, Fred
8
Deployment / Re: Install issue
« Last post by Fred Tomke on March 24, 2023, 02:09:52 PM »
Sorry, I just read your message. Do you have a project for us to test. I work with Windows 10 for years and had no problems like that.
With regards, Fred
9
Project Administration / Re: Website owner
« Last post by Fred Tomke on March 24, 2023, 02:08:16 PM »
Hi, Barry, sorry, unfortunately, I have no experience in Linux. I thought, that I could take over it to my webserver at Strato. I already registered opendcl.de in the past.
With regards, Fred
10
Studio/Dialog Editor / aliases wont work in autocad 2007 after installing OpenDCL.
« Last post by neperin on March 24, 2023, 01:40:20 PM »
I want to build an application which should be working on -mostly- autocad 2007.
My problem is that when I installed OpenDCL and tested my initiall stage of the program I am working, all aliases vanished, and I cant reload the aliases in aliasedit.
Is it a common problem or is it just me?
Pages: [1] 2 3 ... 10