Recent Posts

Pages: [1] 2 3 ... 10
1
Project Administration / DEad link on https://opendcl.com/download/
« Last post by Peter2 on October 15, 2021, 06:46:17 AM »
In the lower left corner of https://opendcl.com/download/ are two links with "View the .."
The first one, "View the SVN source code...", is dead.

Peter
2
Project Administration / ADD OpenDCL to Windows Package Manager
« Last post by ziele_o2k on October 10, 2021, 01:41:03 PM »
After some time without LISP and dialogs I'm forced to finish my old project.
As part of preparation I searched for some automtion tools and I read a bit about the Windows Package Manager. I will try to add open DCL to packages repo.

Some additional info:
Windows Package Manager

I will post news in this topic :)
3
Runtime/AutoLISP / Re: Grid Control Text Combo Box Questions
« Last post by Rakesh Rao on October 03, 2021, 07:52:08 PM »
Thanks Owen. Will try this out.
4
Runtime/AutoLISP / Re: Grid Control Text Combo Box Questions
« Last post by owenwengerd on October 03, 2021, 07:28:21 AM »
Each grid cell has an associated cell editor that displays when the cell is being editoed. So you could call (dcl-Grid-StartCellEdit) to start editing a particular cell, and that would display the combo box for combo cell types. There is no generic way to always display the cell editor even when the cell is not being edited. You could generate your own graphics for such cells, but that would be a lot of work and no way to make it look as appealing as a real control.

As for setting a particular combo value, you just need set the cell value. The combo editor control just reflects the cell value.
5
Runtime/AutoLISP / Grid Control Text Combo Box Questions
« Last post by Rakesh Rao on October 03, 2021, 01:40:26 AM »

Dear Forum Users,

I am trying to learn and use the Grid control and am making painfully slow progress. The positive thing is that I am making progress and beginning to head somewhere.

I have a few questions:

1. How do I set the combo dropdown box contents to one of the specified values? I can define a combo list and populate it with some values ( like "A" "B" "C") but how do I start the control and have it select the option "B" for example. Could not figure this out despite several hours of search.

2. When I start the grid, the combo box pull down symbol does not appear (see Capture.png). Only when I click on that space and highlight it, I get to see the pull-down symbol (see Capture2.png). Is there any way to display the pull-down menu symbol automatically so that the use knows that this is a pull-down control in the grid cell.

Best Regards & Thanks in advance
Rakesh Rao

6
Runtime/AutoLISP / Re: Form Closes unexpectedly
« Last post by Rakesh Rao on October 02, 2021, 12:01:28 AM »
Dear Forum Users,

Upon further debug inspections, the OnClose event is firing in a non-synchronized way. So, it did not fire when I closed the dialog first, but fired when I opened it again. And that is why it closed again. Strange...

Many thanks and Best Regards
Rakesh Rao
7
Runtime/AutoLISP / Form Closes unexpectedly
« Last post by Rakesh Rao on October 01, 2021, 11:24:35 PM »

Dear Forum Support,

I am stuck with a weird problem for the last 6 hours.

I have a modal dialog A which closes itself and launches another dialog B when the "Next" button is clicked in the dialog A.

Now, there is a "Previous" button in dialog B which, when clicked, closes B and launches dialog A again.

I expect dialog A to show up on the screen now, but, for some strange reason, it shows dialog A momentarily and immediately shuts it down.

On inspection, I found that the onClose event of dialog A is firing up for some reason.

Any clues, pointers? What am I doing wrong?

The strange thing is that I can open child dialogs but when I try to re-open the first dialog wihich I closed, it does open and closes despite a call to (dl-Form-Show...)



Best Regards
Rakesh Rao

8
Runtime/AutoLISP / Re: Automatically close a modeless dialog after few seconds
« Last post by Rakesh Rao on September 29, 2021, 09:28:14 PM »
Thank you Owen. Tried and it works beautifully.

No residues on the command line either, in BricsCAD.

- RR
9
Runtime/AutoLISP / Re: Custom Properties (Palette / Grid / Modeless)
« Last post by Rakesh Rao on September 29, 2021, 08:57:22 PM »

Just to add.....

I will figure out the rest of it myself, just want to know what control to use:

Modeless form + Grid Control + .....

or

Palette + Grid Control + .....

I cannot seem to understand the difference between them.


Best Regards
Rakesh Rao
10
Runtime/AutoLISP / Re: Automatically close a modeless dialog after few seconds
« Last post by owenwengerd on September 29, 2021, 07:14:38 PM »
It can be done by using the OnTimer event, but probably will leave unwanted residue in the command line.
Pages: [1] 2 3 ... 10