TD 2005.1 - Text being cleared from Popup Edit Column Cells

forum.gupta.bugreport (2005-2010)
TerryP
Australia
Posts: 272
Joined: 06 Mar 2017, 22:41
Location: Mackay QLD Australia

TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by TerryP » 19 Nov 2005, 01:11

 Posted by:  Terry Phythian 

I've raised this via log-a-bug, and hope to get a response soon...

Since TD 2005.1 (on Win XP Pro SP2), text entered or pasted a Popup Edit
Column cell is cleared when the user changes focus to another cell in the
same table. If you change focus to another field (eg. data field on a
toolbar) then the text is retained in the focus cell, but is still cleared
when focus is set back to a different cell on the original table window.

I've tried this on 3 different PC's, including a Win 2000 SP4 machine, and
all seem to have the same problem. It occurs whether running under either
development or deployment. Popup Edit Column cells work fine on these same
machines under previous versions, up to and including TD 2005 PTF 1.

Has anyone else encountered / raised this problem? (I couldn't see any
similar entry in this forum, and apologize in advance if I've missed one.)

Terry Phythian
Reprise Consulting
Brisbane, Australia

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2370
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by Jeff Luther » 19 Nov 2005, 17:57

 Posted by:  Jeff Luther 

I've not seen this. How about a little test case we can try that fails
for you?

Best Regards,
Jeff Luther/PC Design
info: www.pulpcards.com/gupta/

TerryP
Australia
Posts: 272
Joined: 06 Mar 2017, 22:41
Location: Mackay QLD Australia

Re: TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by TerryP » 21 Nov 2005, 00:06

 Posted by:  Terry Phythian 

Here's the TestTable app I included with my log-a-bug report to Gupta.

I'm hoping the problem stems from having more than one version of TD on the
same machine, and is just some DLL clash, but it even happened on a PC where
only the 2005.1 deployment had been installed. (Unfortunately, I don't have
an absolutely clean machine to try it out on.)

Regards,
Terry Phythian
Reprise Consulting

You do not have the required permissions to view the files attached to this post.

Warren Duffin

Re: TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by Warren Duffin » 21 Nov 2005, 12:37

 Posted by:  Warren Duffin 

Hi,
I have just tried your example on a clean installation and reproduced the
error you are having.
Hopefully, Gupta will provide a PTF for TD2005.1 very quickly otherwise we
will have to move back to TD2005

Regards
Warren Duffin

TerryP
Australia
Posts: 272
Joined: 06 Mar 2017, 22:41
Location: Mackay QLD Australia

Re: TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by TerryP » 22 Nov 2005, 00:06

 Posted by:  Terry Phythian 

Thanks for doing that, Warren.

I tried some gymnastics with SAM_KillFocus and SAM_Validate (see below) and
can partially work around the problem, but I'm sure it's something they'll
need to fix pretty soon.

Column: colsPopup
Message Actions:
On SAM_Validate
Set sSaveText = MyValue
On SAM_KillFocus
Set MyValue = sSaveText

This works fine except where the cell receiving the focus is in the same
Column. In my testing, the sSaveText was a window variable on the parent
table, but it should probably be a class instance variable in a popup edit
column class, to avoid clashing with other instances of popup edit columns
on the same table.

Cheers
Terry.

TerryP
Australia
Posts: 272
Joined: 06 Mar 2017, 22:41
Location: Mackay QLD Australia

Re: TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by TerryP » 22 Nov 2005, 02:27

 Posted by:  Terry Phythian 

Here's the work-around code I've been playing with for Popup Edit Cells:

Column Class: CcolPopupEdit
Derived From
Class Variables
Instance Variables
String: _sSaveText
Functions
List Values
Message Actions
On SAM_SetFocus
Set _sSaveText = MyValue
On SAM_Validate
Set _sSaveText = MyValue
On SAM_KillFocus
Set MyValue = _sSaveText

The above code is simple, but has two problems:

1. The row edited flag is always set upon KillFocus, even when the actual
value isn't changed. I tried a couple of ways to get around this, all to now
avail.

2. Even worse, if focus is changed to another cell in the same column, the
newly focused cell gets the previous cell's value, and the previous cell's
value is cleared.

I'll keep trying to come up with a decent work-around. Any
suggestions/assistance would be appreciated.

Regards,
Terry P.

TerryP
Australia
Posts: 272
Joined: 06 Mar 2017, 22:41
Location: Mackay QLD Australia

Re: TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by TerryP » 23 Nov 2005, 21:41

 Posted by:  Terry Phythian 

I have received the following confirmation and defect number from log-a-bug:

#83910
Popup edit table column looses its value when the focus is set away from the
column.

Cheers
Terry.

TerryP
Australia
Posts: 272
Joined: 06 Mar 2017, 22:41
Location: Mackay QLD Australia

Re: TD 2005.1 - Text being cleared from Popup Edit Column Cells

Post by TerryP » 30 Dec 2005, 01:45

 Posted by:  Terry Phythian 

I've downloaded and applied PTF 1 and from some preliminary testing it seems
to have fixed defect #83910 I raised with popup edit cells, when executing
under both development and at run time.

Cheers
Terry.

Return to “gupta.bugreport”

Who is online

Users browsing this forum: [Ccbot] and 0 guests