Forum Discussion

chaklasiyanikun's avatar
6 years ago

How to handle press = "<uninitialized>" in Parent Node?

I added an RSG component inside an SGDex view. and tried to manage RSG Component key handler in SGDex View. So, I added one line in the RSG Component key handler "handler = false" in whatever key I required EX: "options" key. So, handler Automatically transfers to a parent component. But, I set RSG Component key handler like below.

if key = "options" then
     handled = false 
end if

and Inside an SGDex View key handler, I'm getting press = "<uninitialized>". Does anyone know how to handle this (press = "<uninitialized>").

I tried with the same thing and added RSG Component inside an RSG Component. It's working fine. I set child RSG Component key handler "options" key "handled = false". it's successfully transferred child key handler to parent RSG Component key handler. And Parent RSG Component key handler return press value = "true" For options key.

3 Replies