Grid on Palette crashing Acad

Started by Marco Jacinto, August 10, 2010, 09:57:31 PM

Previous topic - Next topic

Marco Jacinto

When I try to change from a DropDown cell in a grid to another cell of the same type, AutoCAD crashes, tested with palette and modal forms.

I was trying to read the Enter key when editing a text cell, but in 5.0.2.3 wasn't able to accomplish this, so I install the newer version so this happened, the best is the grid control has the Key events already added, lol.

Saludos
Marco Jacinto

owenwengerd

Can you attach a simple sample file that demonstrates the problem?
Owen Wengerd (Outside The Box) / ManuSoft

Marco Jacinto

Sure, here it goes, I'm using W7 on Acad 2010, also this happens on Vista

owenwengerd

Since this is a modal form, most of your code will not execute until after the dialog is closed. See if it works when you put the code inside the OnInitialized event instead.
Owen Wengerd (Outside The Box) / ManuSoft

Marco Jacinto

This is the other one I try, the same control in the palette crashes. Think I post an older code without tho Oninitialized event.

BazzaCAD

Quote from: Marco Jacinto on August 11, 2010, 08:14:12 PM
This is the other one I try, the same control in the palette crashes. Think I post an older code without tho Oninitialized event.

You didn't attach anything.....
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

Marco Jacinto

Sorry, what I meant, is that the form that I use previouosly was a pallete, so I could use the functions outside the oninitialize event. Anyway, here it is the last code.

Thanks for supporting this awesome tool.


owenwengerd

I loaded the sample and clicked on a few cells. Everything is working as expected. Can you provide more information?
Owen Wengerd (Outside The Box) / ManuSoft

Marco Jacinto

Oops, I installed the latest studio and the problem didn't appear, will try with another PC and post the problem if any.

Saludos y gracias

Marco Jacinto