Grid events problem
Posted: Tue May 16, 2017 1:46 pm
Good day
I am a new member of the forum and I would like to help with the EVENTS function
I created the Win_1, in Grid_1, the "s_skl001" database is opened
I've created a new Win_3 window with a new Grid_3, opening a new database "fa_ve"
If you call the above functions, an error occurs
In WIn 7, 32 bit, I used it
MessageBoxTimeout ( 'Wait a moment' , '' , 1 , 100 )
sled_vel(aa,bb,cc,dd,ee) //b_velx.prg
in W7 =>OK,
in XP SP2 =>OK,
in XP SP3 problem
The Win_3 window opens, the Grid appears
and after 1-2 seconds this error will occur
NAZOV_M is a database field
Which I display as a detail outside the grid
I'm definitely doing some mistake and I do not need a function MessageBoxTimeout
I tried
DISABLE EVENT OF win_1
SetProperty ( "Win_1", "Grid_1" , "Enabled", .F. )
Win_1.control_100.setfocus
DoMethod("WIN_1","Control_100","SetFocus")
DisableWindow(Win_1.HANDLE)
But the result is still the same
Thanks for help
Date:16.05.2017 Time: 14:24:34
Error BASE/1003 Variable does not exist: NAZOV_M
Called from GETFILEDDATA(2910)
Called from GETDATAGRIDCELLDATA(2889)
Called from EVENTS(3060)
Called from DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5717)
Called from ZOB_VEL(236)
Called from SLED_VEL(90)
Called from SLED_VELX(2376)
Called from (b)TVORBA_CIEN(132)
Called from _DOCONTROLEVENTPROCEDURE(6056)
Called from EVENTS(1763)
Called from DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5717)
Called from TVORBA_CIEN(890)
Called from MAIN(150)
I am a new member of the forum and I would like to help with the EVENTS function
I created the Win_1, in Grid_1, the "s_skl001" database is opened
I've created a new Win_3 window with a new Grid_3, opening a new database "fa_ve"
If you call the above functions, an error occurs
In WIn 7, 32 bit, I used it
MessageBoxTimeout ( 'Wait a moment' , '' , 1 , 100 )
sled_vel(aa,bb,cc,dd,ee) //b_velx.prg
in W7 =>OK,
in XP SP2 =>OK,
in XP SP3 problem
The Win_3 window opens, the Grid appears
and after 1-2 seconds this error will occur
NAZOV_M is a database field
Which I display as a detail outside the grid
I'm definitely doing some mistake and I do not need a function MessageBoxTimeout
I tried
DISABLE EVENT OF win_1
SetProperty ( "Win_1", "Grid_1" , "Enabled", .F. )
Win_1.control_100.setfocus
DoMethod("WIN_1","Control_100","SetFocus")
DisableWindow(Win_1.HANDLE)
But the result is still the same
Thanks for help
Date:16.05.2017 Time: 14:24:34
Error BASE/1003 Variable does not exist: NAZOV_M
Called from GETFILEDDATA(2910)
Called from GETDATAGRIDCELLDATA(2889)
Called from EVENTS(3060)
Called from DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5717)
Called from ZOB_VEL(236)
Called from SLED_VEL(90)
Called from SLED_VELX(2376)
Called from (b)TVORBA_CIEN(132)
Called from _DOCONTROLEVENTPROCEDURE(6056)
Called from EVENTS(1763)
Called from DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5717)
Called from TVORBA_CIEN(890)
Called from MAIN(150)