Bug with Grid + PlotStyles column (22) + "Other.."

Started by krunch, May 09, 2012, 03:06:16 PM

Previous topic - Next topic

krunch

Hi

In stb mode I have problems with the "Other.." dialog box of the PlotStyles dropddown :
- doesn't update the cell
- crashes if I select a new style

You can try it :

- Make a new STB drawing

- Load the sample :

Code (autolisp) Select
(defun c:Untitled_Form1_OnInitialize (/)
   (dcl_Control_SetColumnStyleList Untitled_Form1_Grid1 '(22))
   (dcl_Grid_AddString Untitled_Form1_Grid1 "")
)

(dcl_Project_Load "Untitled" T)
(dcl_Form_Show Untitled_Form1)



- Select the first cell, unfold the droplist and select "Others .."
- In the dialog box select a present PlotStyle (such as ByLayer ByBlock or Normal) and press OK >> the cell is empty, not updated with the selected style ?

- Select the first cell, unfold the droplist and select "Others .."
- In the "Tables" droplist select a new table (such as "acad.stb"), in the list select a new style (such as "Style_1"), press OK >> ! CRASH !

This crash occurs when I select a new style, that has not been loaded first by assigning to an object (?)