Update:
It looks like IntellisenseX is not able to handle enough PEMs. When I type m.lox. and press Down, I get an error, “String is too long to fit.”
Luis,
Please observe that this error occurs with IntellisenseX, not with normal Intellisense.
NB! I didn’t include the Local declaration, since it’s irrelevant in this case.
Tore Bleken
Norway
Jim,
That’s good. Luckily this is just a little project, so I can live with it. But it was rally a pain until I turned off IntellisenseX.
Tore Bleken
Norway
Thanks in advance.
Jim,
Since you answered so quickly, I thought you were able to reproduce the error. I am just about to close my laptop for a few hours, so I would be glad if spent a few seconds and tested it yourself. Try this in the command window:
lo=Createobject('excel.application')
lo.
When you press the dot, you should be able to type VISIBLE, but that property is, well, not visible, along with many more. And try to press Down, and you will see a crash.
Please give me a quick feedback if you need more, and I will send it later today.
Tore Bleken
Norway
From: FoxPr...@googlegroups.com [mailto:FoxPr...@googlegroups.com] On Behalf Of Jim Nelson
Sent: 4. desember 2012 15:54
To: foxpr...@googlegroups.com
When I type m.lox. and press Down, I get an error, “String is too long to fit.”
Jim,
My stomach feeling is that the two bugs I describe, have the same root. May I ask you to do the simple test I showed you, which will show both errors? The first will ignore among other the visible property, and the other will cause IntellisenseX to crash by showing the error “String is too long to fit. If you are able to reproduce, it should also be easier to debug, right?
Lo=createobject(‘excel.application’)
Lo.v && should show many more PEMs, for instance Visible.
Lo. + Down: will show “String too short to fit” after a few screens, on my machine the last PEM shown is Inputbox.
If you are not able to reproduce, I will supply any information you ask for.
Tore Bleken
Norway
From: FoxPr...@googlegroups.com [mailto:FoxPr...@googlegroups.com] On Behalf Of Jim Nelson
Sent: 4. desember 2012 16:42
To: foxpr...@googlegroups.com
Subject: Re: {Thor} RE: IntellisenseX and activex problem
Tore --
Jim,
The «crash» happens both in a prg and in the command window. When I suspend after the “String is too long…” error, this is what I see in the debugger. Steps to reproduce:
1. IntellisenseX is active
2. First line: lo=createobject(‘excel.application’)
3. Type lo. and press DownArrow, a few times
Vennlig hilsen
Tore Bleken
From: FoxPr...@googlegroups.com [mailto:FoxPr...@googlegroups.com] On Behalf Of Jim Nelson
Sent: 4. desember 2012 15:54
To: foxpr...@googlegroups.com
Subject: Re: {Thor} RE: IntellisenseX and activex problem
Tore --
Jim,
I sent what I saw in the debugger AFTER I first press OK to the messagebox and then suspended the program. Anyway, I’m “glad” that you also saw the same behavior. And no, my list is a little shorter than yours.
This is my list, I notice that your list includes a lot of PEMs which are not in mine.
Just keep asking for more info, I will sit her for a least an hour.
Tore Bleken
Norway
Jim,
Yes, I do. I also wouldn’t have found this problem if it wasn’t for the fact that the partial match didn’t find Visible when I typed Vi. So I wanted to scroll down, and boom.
Tore Bleken
Norway
No, the trick is to do it right from the beginning. J
Thanks, a look forward to have the fixed version.
I have no problem confessing that I don’t do it right the first time myself. It’s human to err, and I am very human.
--
You received this message because you are subscribed to the Google Groups "Thor, the Tool Manager for FoxPro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to FoxProThor+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.