Multi-color menu choose the date and time e4a dialog

1. Event button is clicked () 'radio 
' Declare variable 
variable text item type (4) 
variable is at logic type (4) 
variable result is text-based 
'definition of project content 
items (0) = "you are so handsome ah " 
item (1) =" Hello Kua " 
items (2) =" Hello hyun ah " 
item (3) =" Hello pulled ah ' 
' defined project selected 
state (0) = false 
state (1) = true 
state (2) = false 
state (3) = false 
'show dialog box until you return to the selection result 
result = radio dialog ( "radio box" project, state) 
prompted (the results of) 
the end of the event 

event button 2. is clicked () 'multiple choice 
' declare variable 
variable text item type (4) 
variable is at logic type (4) 
variable result is text-based 
'definition of project content 
items (0) = "you are so handsome ah" 
project (1 ) = "Hello Kua" 
items (2) = "Hello hyun ah" 
item (3) = "Hello pulled ah" 
'Defined item selected 
state (0) = False 
state (1) = true 
state (2) = False 
state (3) = True 
'dialog box is displayed until the selection result returned
Result = multiple choice dialog ( "multiple choice box" project, state) 
prompted (the results of) 
the end of the event 

event 3. button is clicked () 'date 
to display the date selection box () 
end event 

event button 4. sheets click () 'time 
to display time selection box () 
end event 

events of the main window. date box is selected (the date is text-based) 
prompted (date) 
end event 

events of the main window. the time frame is selected (time text-based) 
pop-up prompts (time) 
end event 

event 5. button is clicked () 'input 
variable input to logical type 
variable input to text type 
typing = input box ( "Please enter any character," "initial content", enter the results) 
if enter the result = true then 
prompted ( "you entered:" & typing) 
or	 
prompted ( "you cancel the input") 
end If 
end event 

event 6. button is clicked () 'color choice 
label 1. background color = color selection box ( "click determine the color center" label 1. background color) 
end event

  

Guess you like

Origin www.cnblogs.com/--3q/p/11961444.html