Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Wrong Col and Row in CellTextEdited (Read 3324 times)
Carlos_Rocha
Junior Member
**
Offline


I love Jazz

Posts: 70
Joined: Mar 26th, 2010
Wrong Col and Row in CellTextEdited
Mar 30th, 2010 at 3:39am
Print Post  
Hi,

I'm sorry to disturb you again Sad

Col and Row parameters are correctly set in TableCellDblClicked event, but in CellTextEdited they are both set to -1163005939, always (doesn't depend on the Col or Row). Wired Undecided

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Wrong Col and Row in CellTextEdited
Reply #1 - Mar 30th, 2010 at 8:56am
Print Post  
Hi,

I am getting correct values in my VB6 test project. What kind of language and IDE are you using?

Stoyan
  
Back to top
 
IP Logged
 
Carlos_Rocha
Junior Member
**
Offline


I love Jazz

Posts: 70
Joined: Mar 26th, 2010
Re: Wrong Col and Row in CellTextEdited
Reply #2 - Mar 30th, 2010 at 5:05pm
Print Post  
I'm using Visual Objects 2.8 (used to be CA-Visual Objects).
In VB6 I also get the correct values, and if I simply forward (RaiseEvent) the received values everything works fine on my side.

The explanation I got from Visual Objects development team is that some ActiveX controls define parameters in some way (let's say longint) and then they send them with another type. Could this be happening? I'll try to cast the values to see what happens.

Anyway, this only affects me if I use AllowInPlaveEdit=true, and I don't. I'm catching Col and Row in TableCellDblClicked and saving them for later use.

Thanks for your feedback
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Wrong Col and Row in CellTextEdited
Reply #3 - Mar 31st, 2010 at 6:00am
Print Post  
That's strange; the col and row arguments are defined in the same way for both events and receive the same values when the events are raised for some cell. Perhaps the additional arguments that CellTextEdited receives (two BSTR values) confuse Visual Objects somehow.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint