[Touch Wizard] zero-based learning touch white 9-12

White zero-based learning to touch - 09 - TSLib: Click and colorimetric

Nothing to say

tap(x,y,ms)

Learn : TSLib Library Note previous library files for different library files in the same environment such as TSL ib library for Basic Professional Edition help you play version are different libraries but now seems to integrate a part of other libraries when there are such cases use Note that the current environment, look at the manual to see what library file


10 - unlimited pop and click detection

Basic application

11-- how to slide to the bottom of the screen

Nothing to say

12 - TSLib commonly used functions: Portable UI

View details http://www.touchsprite.com/helpdoc#/doc?id=529   basically look at the code to understand the various usage specific parameters can view the details of the corresponding manual

W, H = getScreenSize () 
UINew ( 2 , " the first page, the second page " , " start " , " cancel " , " uiconfig.dat " , 0 , 120 , W * 0.8 , * H 0.8 , " 221,240,237 " , " 88,210,232 " ) 
the UIImage ( 2 , " http://www.baidu.com/img/bdlogo.png " ) 
UILabel ({text = " radio button setting: "}) 
UIRadio ({id= " Radio " , List = " radio 1, radio 2, Radio 3, radio 4, Radio 5, Radio. 6 " })
 - UIEdit ( "EDT", "test", "test", 15, "left", "255,0,0") 
UIEdit ( " EDT " , " test " , " test " ) 
UILabel ( 2 , " drop-down box is provided: " ) 
UICombo ({NUM = 2 , ID = " Combo " , List = " drop-down box 1, box 2 pull-down, drop-down box 3, 4 drop-down box, drop-down box 5, drop-down box 6 '}) 
UILabel ( " check box is provided: "  )
UICheck (" Check1, the check2, check3, check4, check5, Check6 " , " multiple choice 1, multiple choice 2, multiple choice 3, multiple choice 4, multiple choice 5, multiple choice. 6 " ) 
UILabel ( " Linkage frame setting: " ) 
UIComboRlt ( " comborle, comborles " , " option 1, option 2, option 3 " , " sub-option 1, sub-option 2, sub-option 3, sub-option 4 # sub-option 5, sub-option 6, sub-option 7 # suboptions 8 the sub-option 9 " , " the Test " ) 
UILabel ( " associated box set: " ) 
UIComboRlts ( " comborles " , " the Test ")

UIShow()
Dialog ( " checkbox Select: " ..radio .. " \ n- " .. " drop-down box to select: " ..combo .. " \ n- " .. " linkage box to select: " ..comborle .. " \ n- " .. " associated selection boxes: " ..comborles, 0 ) 
Dialog ( " checkbox results: " .. " \ ncheck1 = " .. toString (Check1) .. " \ ncheck2 = " .. toString (the check2 ) .."\ncheck3="..tostring(check3).."\ncheck4="..tostring(check4).."\ncheck5="..tostring(check5).."\ncheck6="..tostring(check6), 0)

123

Guess you like

Origin www.cnblogs.com/zjl8455482/p/11373445.html