Official release of PxPlus 2025 Update 1 (version 22.10) NOW available for download.
0010 BEGIN
0020 LET tv=100
0030 LIST_BOX tv,@(40,11,30,10),OPT="e|!",SEP="/"
0040 LET tv'statebitmaps$="!Emptybox|!CheckBox"
0050 LET tv'autostate=1
0060 WHILE 1
0070 READ DATA city$,prov$,END=*BREAK
0080 LET items$+="{;1}"+prov$+"/"+city$+SEP
0090 WEND
0100 LIST_BOX LOAD tv,items$
0110 ESCAPE
1000 ! 1000 - Data
1010 DATA "Toronto","Ontario"
1020 DATA "Montreal","Quebec"
1030 DATA "Calgary","Alberta"
1040 DATA "Ottawa","Ontario"
1050 DATA "Edmonton","Alberta"
1060 DATA "Winnipeg","Manitoba"
1070 DATA "Mississauga","Ontario"
1080 DATA "Vancouver","British Columbia"
1090 DATA "Brampton","Ontario"
1100 DATA "Hamilton","Ontario"
1110 DATA "Surrey","British Columbia"
1120 DATA "Quebec City","Quebec"
1130 DATA "Halifax","Nova Scotia"
1140 DATA "Laval","Quebec"
1150 DATA "London","Ontario"
1160 DATA "Markham","Ontario"
1170 DATA "Vaughan","Ontario"
1180 DATA "Gatineau","Quebec"
1190 DATA "Saskatoon","Saskatchewan"
1200 DATA "Kitchener","Ontario"
Basically you define the images to appear in front of the elements then assign a state to the elements you want to have images on.