Started by Marco Jacinto ·
2010-08-11 04:57 UTC ·
8 replies · SMF topic #1324
Marco Jacinto
2010-08-11 04:57 UTC
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
2010-08-11 18:44 UTC
Can you attach a simple sample file that demonstrates the problem?
Marco Jacinto
2010-08-12 01:16 UTC
Sure, here it goes, I'm using W7 on Acad 2010, also this happens on Vista
owenwengerd
2010-08-12 01:49 UTC
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.
Marco Jacinto
2010-08-12 03:14 UTC
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
2010-08-12 17:34 UTC
author=Marco Jacinto link=topic=1324.msg7113#msg7113 date=1281582852 wrote:
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.....
Marco Jacinto
2010-08-12 19:46 UTC
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
2010-08-12 20:01 UTC
I loaded the sample and clicked on a few cells. Everything is working as expected. Can you provide more information?
Marco Jacinto
2010-08-18 21:29 UTC
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