PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - David Reynolds

Pages: [1]
1
Programming / Monitor in Portrait Mode can't Maximize
« on: November 22, 2023, 12:31:43 PM »
I've got a multi-monitor setup like the attached.
All three monitors are 1920x1080 (or 1080x1920 in the case of M3).
I've got a resizable panel (starts at XYClient=1068,800) that will maximize properly on M1 and M2, but not on M3.
If I use the maximize button it will go to a height of about 1072, or if I manually drag to resize, it caps out at 1232.
It's like it doesn't recognize that the monitor is in portrait mode and caps the height as if it were landscape.

XYMonitors returns
\\.\DISPLAY1,0,0,1920,1080
\\.\DISPLAY2,-1080,-840,0,1080
\\.\DISPLAY3,0,-1085,1920,-5

Any ideas?

Thanks!

2
Programming / image/png;base64 string to actual png
« on: June 04, 2019, 02:30:39 PM »
I am calling an external API and one of the returned JSON values is a customer signature encoded as
image/png;base64,iVBORw0KGg.......
How do I take that string and create an actual fileName.png (or gif, jpg, bmp, etc)?

Thanks,
David

3
Programming / Chart Colours
« on: August 24, 2018, 11:52:24 AM »
Given chart data
1/2/3/4/5/6/
How do I assign a different default colour set?
i.e. rather than the default of Light Red, Light Green, Light Blue, Light Yellow, Magenta, Cyan I would rather have Light Green, Cyan, Magenta, Light Blue, Light Yellow, Light Red
Perferably the built-in PxPlus Chart, but could switch to "fusionfree" or "google" if necessary (I see that they both have the 'Set_Clr$() method - but I don't know the call syntax)
Thanks

Pages: [1]