TABLE OF CONTENTS

2.10.1.Whenever selected event occur on selected element.

        

Code inside this block will be executed whenever the selected event of specified app element occur.

Example 2.10.1

When label is clicked display “Clicked” on label and when user enter something on textbox display “Changed” on textbox.

After execution:

2.10.2.Set the selected property of specified app element.     

    

Set the selected property of specified app element such as top,left etc.  

Example 2.10.2

When user enter something on textbox then set background,font,border colour,set height ,and set text in textbox.  

After execution:

     

2.10.3.Get the selected property value of specified app element.    

Get the selected property value of specified app element such as top,left etc.   

Example 2.10.3

When button is clicked,get background and font colour and get the height in pixel.

After execution:

a)Display background colour.

b)Display height in pixel.

 

2.10.4.Show the element on the app screen.      

            

Show the element on the app screen,if it is hidden .    

Example 2.10.4

When program start hide textbox and when “show” button is clicked show textbox for 2 second and again hide it.

After execution:

a)Hide textbox when program start,

b)Show textbox when “Show” button is clicked for 2 second.

 

2.10.5.Hide the element on the app screen.        

Hide the element on the app screen,if it is visible.  

Example 2.10.5

When program start hide textbox and when “show” button is clicked show textbox for 2 second and again hide it.

 


After execution:

a)Hide textbox when program start,

b)Show textbox when “Show” button is clicked for 2 second.