February 19, 2012

pidisan pidisan
Lab Rat
2 posts

change display properties

 

Hi all
I would like to change the display properties in symbian belle
whit this :

  1. Slider {
  2.     id: slider
  3.     x: 83
  4.     y: 575
  5.     width: 150
  6.     height: 41
  7.     stepSize: 1
  8.     maximumValue: 10
  9.     orientation: 1
  10. }
  11. Binding {
  12.     target: system
  13.     property: "brightness"
  14.     value: slider.value
  15. }

but not run, the result is :
“ReferenceError: Can’t find variable: system”
why?
I appreciate any suggestion
thanks

2 replies

February 19, 2012

koahnig koahnig
Mad Scientist
2199 posts

welcome to devnet

you should wrap your code with the ‘at’ sign [developer.qt.nokia.com] for better reading. I have added those for you, but please remember next time.

February 19, 2012

pidisan pidisan
Lab Rat
2 posts

ok thanks
it’s my first post….

 
  ‹‹ [Solved] How to add a phone number to an existing contact with javascript ?      Update ListModel file (in RAM) at run time ››

You must log in to post a reply. Not a member yet? Register here!