settin OnKeyDown event

  • Thread starter Thread starter Roy Goldhammer
  • Start date Start date
R

Roy Goldhammer

Hello there

I have dinamic form which build dinamicly by table selected.

I need to add OnKeyDown event on runtime.

When adding event not hardcoded control, it can be done only if I will
connect it to macro or function:
ctl.OnKeyDown="=Func()"

the problem in case of OnKeyDown is that it provide parameters that i need
to use on function:
KeyCode and shift

How can I get this parameteres from event into function?
 
you have to use a Event Procedure, ie change from =Func() To [Event
Procedure] & Click on the builder icon (...)

HtH

Pieter
 
Whell Pieter.

This i can't do on runtime. How can i do it on runtime?
"Pieter Wijnen"
you have to use a Event Procedure, ie change from =Func() To [Event
Procedure] & Click on the builder icon (...)

HtH

Pieter

Roy Goldhammer said:
Hello there

I have dinamic form which build dinamicly by table selected.

I need to add OnKeyDown event on runtime.

When adding event not hardcoded control, it can be done only if I will
connect it to macro or function:
ctl.OnKeyDown="=Func()"

the problem in case of OnKeyDown is that it provide parameters that i
need to use on function:
KeyCode and shift

How can I get this parameteres from event into function?
 
you can't

Pieter

Roy Goldhammer said:
Whell Pieter.

This i can't do on runtime. How can i do it on runtime?
"Pieter Wijnen"
you have to use a Event Procedure, ie change from =Func() To [Event
Procedure] & Click on the builder icon (...)

HtH

Pieter

Roy Goldhammer said:
Hello there

I have dinamic form which build dinamicly by table selected.

I need to add OnKeyDown event on runtime.

When adding event not hardcoded control, it can be done only if I will
connect it to macro or function:
ctl.OnKeyDown="=Func()"

the problem in case of OnKeyDown is that it provide parameters that i
need to use on function:
KeyCode and shift

How can I get this parameteres from event into function?
 
Thank you
"Pieter Wijnen"
you can't

Pieter

Roy Goldhammer said:
Whell Pieter.

This i can't do on runtime. How can i do it on runtime?
"Pieter Wijnen"
you have to use a Event Procedure, ie change from =Func() To [Event
Procedure] & Click on the builder icon (...)

HtH

Pieter

Hello there

I have dinamic form which build dinamicly by table selected.

I need to add OnKeyDown event on runtime.

When adding event not hardcoded control, it can be done only if I will
connect it to macro or function:
ctl.OnKeyDown="=Func()"

the problem in case of OnKeyDown is that it provide parameters that i
need to use on function:
KeyCode and shift

How can I get this parameteres from event into function?
 
Back
Top