JqxCheckBox: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 41: Line 41:
== Output ==
== Output ==


See above.
See sample.


[[Category:Language Reference]]
[[Category:Language Reference]]

Revision as of 11:02, 31 May 2013

Description

The jqxCheckBox widget displays a check box that allows the end-user to select a true, false or indeterminate condition.

Properties and Methods

See the complete documentation at jqWidget's site: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxcheckandradio/jquery-checkbox-getting-started.htm

Example (Basic)

Dim thisExchange, value
thisExchange=""

Function xcbNYSE_onclick()
  thisExchange="Y"  
  MsgBox("You chose the New York Stock Exchange!")
End Function

Function xcbNASDAQ_onchange()
  MsgBox("You chose the Nasdaq Stock Exchange!")  
End Function

Function xcbAMEX_onchange()
  value = $("#xcbAMEX").jqxCheckBox("val");
  if value=True Then
    MsgBox("You chose the American Stock Exchange!")  
  End if
End Function

Function Button1_onclick()
  $("#xcbNYSE").jqxCheckBox("uncheck"); 
  $("#xcbNASDAQ").jqxCheckBox("uncheck"); 
  $("#xcbAMEX").jqxCheckBox("uncheck"); 
  thisExchange=""
End Function

Output

See sample.