settin OnKeyDown event

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?
 
P

Pieter Wijnen

you have to use a Event Procedure, ie change from =Func() To [Event
Procedure] & Click on the builder icon (...)

HtH

Pieter
 
R

Roy Goldhammer

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?
 
P

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

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?
 
R

Roy Goldhammer

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top