News:

Official release of PxPlus 2025 Update 1 (version 22.10)  NOW available for download.

Main Menu

Recent posts

#31
Language / Re: Tree_view with check_boxes
Last post by Mike King - January 19, 2026, 03:29:11 PM
You need to use item states as in:

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. 

In the above I assigned two images (an empty check box and a checked one) then set every element with a state of 1 (the first image - emptybox). 

You can read and change each items state when they get clicked or use the Autostate property to have the control automatically change the state when clicked.

You can used the 'ItemState property to retrieve current state.
#32
Language / Tree_view with check_boxes
Last post by Rob - January 19, 2026, 02:54:56 PM
Is it possible to get a tree_view with check boxes next to the items(branches)?

The manual says something about 'cbx' but it seems to be for Webster starting with version 2023.
#33
Thin Client/WindX / Re: Accessing USB Scale throug...
Last post by Mike King - January 19, 2026, 11:50:15 AM
One quick thought -- which WindX are you using?
 
Is it possible you are using the 32 bit WindX and trying to run a 64 bit DLL (or vice-versa)?
#34
Thin Client/WindX / Accessing USB Scale through Wi...
Last post by martinp - January 16, 2026, 06:49:04 PM
Trying to use the HID.DLL through WindX and it just wont work (Linux Server)

Locally from pvx works great just cannot seem to work through windx even if I copy the code to the local PC and call "[lcl]scale.pvx",WEIGHT

I was able to create a Python program and Pvx just calls that to get the value.

I just cannot get a handler for it to return.  Is there way to get this to work?  Thank you.

LET HID_GUID$=DIM(16,$00$)
X=DLL("HID.DLL","HidD_GetHidGuid",HID_GUID$)
PRINT X


#35
Language / Re: Global Variable not Saving
Last post by James Zukowski - January 08, 2026, 04:20:50 PM
Global variables are only active within a session, not between sessions.
#36
Thin Client/WindX / Re: VIEWER print preview - set...
Last post by Patrick Denny - January 08, 2026, 03:54:10 PM
Follow up info...

I find that this works best on the more recent version (specifically Version 24) Windx Client.

A version 22 Windx Client still times out even though it is successfully executing the SET_PARAM '+A'=1 command.
#37
Language / Global Variable not Saving
Last post by gmundt - January 08, 2026, 03:49:54 PM
I'm just curious about global variables.  I am setting a variable %my_variable$="Greg", but when I pull up a new window and do a ? %my_variable$ it is showing as empty.  Is there something else that needs to be set to define a global variable?  This is version 15.10.
#38
Programming / Re: Question TLS
Last post by Mike King - January 05, 2026, 09:25:05 AM
I'm sorry, but off the top of my head I cannot remember which OpenSSL was supported by version 12.5.

Generally, on Linux, PxPlus uses the OS installed version of OpenSSL however there are changes within the OpenSSL interface that limit which version can be used without code changes within the PxPlus kernel.
#39
Programming / Re: Code Scanning for Pxplus
Last post by Devon Austen - January 05, 2026, 09:12:35 AM
PxPlus does not come with any source analysis scanning tools. I am also not aware of any from a 3rd party that support scanning PxPlus code. Then again we have not looked into this ourselves and don't know much about what is available.

If you find a tool that ends up being useful please share here as it may be useful to others.
#40
Web Services / Re: access pxplus variable in ...
Last post by Devon Austen - January 05, 2026, 08:52:44 AM
While not accessing variables like request you can use *BROWSER within pxplus to execute JS and get the return of a JS function call or define or set a JS global variable.