hi every one.
I have experienced very awesome situation about on key label command.
I have a mainform and subform in my program.
and I need to assign hot keys to 2 forms...
the first mainform has assigned in the init event.
=> on key label 'ALT+N' mainform.cmdAdd.click
and subform has assigned in the form's gotfocus event.
=> push key
on key label 'ALT+N' subform.cmdAdd.click
subform has assigned in the form's lostfocus event.
=> pop key ( restore mainform's hot key assignment )
now....it seems very works well....
( ** all of cmdADD's command is 'append blank' command... ** )
But!!!!!!
Sometimes or Manytimes, it broked my subform's table indexes....
I think that it may be memory curruption? or
in my fault?
Has any one information about this??
thanks
regardings....
lee.