Page 1 of 1

keyboardActived solved

Posted: Tue Dec 27, 2011 11:01 am
by jmburnod
Hi,

It seem keyboardActived don't work
Someone can confirm it ?

Code: Select all

on keyboardDeactived
   answer "D" with "OK"
end keyboardDeactived

on keyboardActived
  answer "A" with "OK"
end keyboardActived
Bests regards

Jean-Marc

Re: keyboardActived

Posted: Tue Dec 27, 2011 11:35 am
by macnomad2
Maybe you are french like me ;)
From doc :
"The following messages will be sent to the current card of the default stack when the keyboard is shown or hidden:
keyboardActivated
keyboardDeactivated
Handle these messages to move controls or change the display layout to take account of the restricted screen area that will be available."

Joyeux Noël
Georges

Re: keyboardActived

Posted: Tue Dec 27, 2011 2:17 pm
by jmburnod
Bonjour Georges
Maybe you are french like me
Yes, you're right

i don't understand why

Code: Select all

on keyboardDeactived
  put "keyboardDeactived" into fld 1
end keyboardDeactived

on keyboardActived
  put "keyboardActived" into fld 1
end keyboardActived 
work and

Code: Select all

on keyboardDeactived
   answer "D" with "OK"
end keyboardDeactived

on keyboardActived
  answer "A" with "OK"
end keyboardActived 
don't work

Bonnes fêtes à vous aussi

Jean-Marc

Re: keyboardActived

Posted: Tue Dec 27, 2011 4:01 pm
by Klaus
Hi Jean-Marc,

check your SPELLING:
keyBoardActived <> keyBoardActivATed


Best

Klaus

Re: keyboardActived solved

Posted: Tue Dec 27, 2011 11:14 pm
by jmburnod
Hi Klaus,

Fortunately, Dixie and you watch what i do :D

Thank one more

Jean-Marc