Subject | TIB_Edit is working backwards |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2002-03-21T07:48:08Z |
IBO4.2Fp (but I noticed the same behaviour also in IBO3.6), BCB5.
When I start typing very fast in my main form (that is enter '123' in approc. 0.5 sec), I get the result as '321' and IBO wants to post data after each keystroke - I have BeforePost event where I ask user if he wants to save and it is called 3 times in a row.
This happens in TIB_Edit and TIB_EditEnh and TIB_Memo and only first time when I edit some record. All following times are OK.
Stack:
02A91F5C TDataModule2::QMasterBeforePost(this=:02B2931C, IB_Dataset=:02B6D694)
002FF791 Ib_components::LaunchDSEvent(DS=:02B6D694, EV={TDataModule2::QMasterBeforePost,:02B2931C})
002FF8D6 Ib_components::TIB_Dataset::DoBeforePost(Self=:02B6D694)
002FF15C Ib_components::TIB_Dataset::SysBeforePost(Self=:02B6D694)
002FE366 Ib_components::TIB_Dataset::SysPost(Self=:02B6D694, CancelUnmodified=false, IsRetaining=false)
00303845 Ib_components::TIB_BDataset::SysPost(Self=:02B6D694, CancelUnmodified=false, IsRetaining=false)
002FCD48 Ib_components::TIB_Dataset::SysEdit(Self=:02B6D694)
0031163B Ib_components::TIB_DataSource::Edit(Self=:013B1770)
003116FA Ib_components::TIB_DataSource::Modify(Self=:013B1770)
0031273A Ib_components::TIB_DataLink::Modify(Self=:013BB7F0)
0061A4F5 Ib_fielddatalink::TIB_FieldDataLink::Modify(Self=:013BB7F0)
028F7A24 Telesis_ib_editenh::TIB_CustomEditEnh::EditBeginModify(Self=:013BB534)
028A53EC Telesis_editenh::TCustomEditEnh::KeyPress(Self=:013BB534, Key=:0012FB89)
4006F8C3 C:\WINNT\System32\VCL50.BPL
4006DF7B C:\WINNT\System32\VCL50.BPL
400511D6 C:\WINNT\System32\VCL50.BPL
77E12E98 C:\WINNT\system32\user32.dll
77E130E0 C:\WINNT\system32\user32.dll
77E15824 C:\WINNT\system32\user32.dll
00401908 WinMain( =:00400000, =NULL, =:00134B1B, =9)
3257DBEF C:\Program Files\Borland\CBuilder5\Bin\CC3250MT.DLL
BTW - has anyone read my DMLCache mails? (Seems like I should abandon this feature.)
Riho-Rene Ellermaa
senior programmer
Hansabank
When I start typing very fast in my main form (that is enter '123' in approc. 0.5 sec), I get the result as '321' and IBO wants to post data after each keystroke - I have BeforePost event where I ask user if he wants to save and it is called 3 times in a row.
This happens in TIB_Edit and TIB_EditEnh and TIB_Memo and only first time when I edit some record. All following times are OK.
Stack:
02A91F5C TDataModule2::QMasterBeforePost(this=:02B2931C, IB_Dataset=:02B6D694)
002FF791 Ib_components::LaunchDSEvent(DS=:02B6D694, EV={TDataModule2::QMasterBeforePost,:02B2931C})
002FF8D6 Ib_components::TIB_Dataset::DoBeforePost(Self=:02B6D694)
002FF15C Ib_components::TIB_Dataset::SysBeforePost(Self=:02B6D694)
002FE366 Ib_components::TIB_Dataset::SysPost(Self=:02B6D694, CancelUnmodified=false, IsRetaining=false)
00303845 Ib_components::TIB_BDataset::SysPost(Self=:02B6D694, CancelUnmodified=false, IsRetaining=false)
002FCD48 Ib_components::TIB_Dataset::SysEdit(Self=:02B6D694)
0031163B Ib_components::TIB_DataSource::Edit(Self=:013B1770)
003116FA Ib_components::TIB_DataSource::Modify(Self=:013B1770)
0031273A Ib_components::TIB_DataLink::Modify(Self=:013BB7F0)
0061A4F5 Ib_fielddatalink::TIB_FieldDataLink::Modify(Self=:013BB7F0)
028F7A24 Telesis_ib_editenh::TIB_CustomEditEnh::EditBeginModify(Self=:013BB534)
028A53EC Telesis_editenh::TCustomEditEnh::KeyPress(Self=:013BB534, Key=:0012FB89)
4006F8C3 C:\WINNT\System32\VCL50.BPL
4006DF7B C:\WINNT\System32\VCL50.BPL
400511D6 C:\WINNT\System32\VCL50.BPL
77E12E98 C:\WINNT\system32\user32.dll
77E130E0 C:\WINNT\system32\user32.dll
77E15824 C:\WINNT\system32\user32.dll
00401908 WinMain( =:00400000, =NULL, =:00134B1B, =9)
3257DBEF C:\Program Files\Borland\CBuilder5\Bin\CC3250MT.DLL
BTW - has anyone read my DMLCache mails? (Seems like I should abandon this feature.)
Riho-Rene Ellermaa
senior programmer
Hansabank