Search found 5950 matches

by IdeasVacuum
Tue Mar 19, 2024 5:43 am
Forum: Windows
Topic: Refresh Web Page
Replies: 3
Views: 127

Re: Refresh Web Page

Hi Barry

I have another thread to display the time in a Text Box, that works fine.............

Thanks for the PostEvent() tip, haven't used that before but sounds promising 8)

Edit: PostEvent() solved the problem!
by IdeasVacuum
Tue Mar 19, 2024 4:27 am
Forum: Windows
Topic: Refresh Web Page
Replies: 3
Views: 127

Refresh Web Page

This function is not working from a thread:

Code: Select all

SetGadgetState(#WebGadget, #PB_Web_Refresh)
Works OK outside of the thread (via a button event for example) but I really need it to work from the thread - is that simply a no, cannot be done, or is it a bug or is there a way?
by IdeasVacuum
Thu Mar 14, 2024 8:42 pm
Forum: Windows
Topic: Refresh/Reload a web page
Replies: 7
Views: 203

Re: Refresh/Reload a web page

OMG! The #PB_Web_Edge flag fixed the main issue and other little issues too!

Thanks Kiffi
by IdeasVacuum
Thu Mar 14, 2024 7:24 pm
Forum: Windows
Topic: Refresh/Reload a web page
Replies: 7
Views: 203

Re: Refresh/Reload a web page

Wow, I didn't know that as I hardly use PB these days - I was just going to implement the registry code here:

https://www.purebasic.fr/english/viewtopic.php?t=56157

So, I'd better install PB 6.10 then!
by IdeasVacuum
Thu Mar 14, 2024 6:43 pm
Forum: Windows
Topic: Refresh/Reload a web page
Replies: 7
Views: 203

Re: Refresh/Reload a web page

Hi Kiffi

Yes, if by new one you mean PB6.04 LTS. It renders a 6 image x 6 image arrangement as a 1 x 36 arrangement (1 huge column).

I thought WebKit was going to be used for Windows too, but apparently it is still Internet Explorer 4.0?
by IdeasVacuum
Thu Mar 14, 2024 1:03 pm
Forum: Windows
Topic: Refresh/Reload a web page
Replies: 7
Views: 203

Re: Refresh/Reload a web page

Hi Rashad

I'll try that. Ideal solution would be to use the WebGadget but it draws the web pages very badly :mrgreen:
by IdeasVacuum
Thu Mar 14, 2024 10:23 am
Forum: Windows
Topic: Refresh/Reload a web page
Replies: 7
Views: 203

Refresh/Reload a web page

I need to programmatically Refresh/Reload a web page (a page that is not mine) in a Browser (I use Firefox or Opera). Currently I do this by mouse click, but the refresh needs to be repeated every minute and the programmatic mouse click therefore renders the actual mouse useless - I want to leave th...
by IdeasVacuum
Wed Nov 22, 2023 6:03 pm
Forum: Off Topic
Topic: Lists have gone mad...... [Fixed]
Replies: 4
Views: 895

Re: Lists have gone mad......

No mouse driver updates but it was the mouse - I just unplugged the Bluetooth USB dongle, plugged it back in and everything is back to normal 8) Totally weird. Thanks guys - I don't know why I suspected it was the mouse, good to know that others have seen something similar when the mouse went wonky.
by IdeasVacuum
Wed Nov 22, 2023 5:44 pm
Forum: Off Topic
Topic: Lists have gone mad...... [Fixed]
Replies: 4
Views: 895

Lists have gone mad...... [Fixed]

I have a number of programs written in PB for my own use, some very old, some tiny new ones this year (I'm mostly working on Android these days). Today, when everything was fine yesterday, any program I run that has a List auto scrolls the list to the bottom and I can't access the other items :shock...
by IdeasVacuum
Thu Jan 12, 2023 1:59 am
Forum: Windows
Topic: Convert Python Code for RGB to CIE Lab
Replies: 4
Views: 734

Re: Convert Python Code for RGB to CIE Lab

Thank you JHPJHP - With Illuminant @ D65 and reference angle @ 2 degrees, the result is perfect 8)
by IdeasVacuum
Wed Jan 11, 2023 8:08 pm
Forum: Windows
Topic: Convert Python Code for RGB to CIE Lab
Replies: 4
Views: 734

Re: Convert Python Code for RGB to CIE Lab

Hi Rashad, always good to hear from you.

Well, close but no cigar :mrgreen:

For colour conversions I can usually find C code which is easy to convert to PB, but this Python code is all I could find.
by IdeasVacuum
Wed Jan 11, 2023 4:40 am
Forum: Windows
Topic: Convert Python Code for RGB to CIE Lab
Replies: 4
Views: 734

Convert Python Code for RGB to CIE Lab

I have tried to convert this Python code: https://gist.github.com/manojpandey/f5ece715132c572c80421febebaf66ae .... but my result is a mile out, tested on: https://www.nixsensor.com/free-color-converter Procedure.s RgbToCieLab(iRed.i, iGrn.i, iBlu.i) ;#--------------------------------------------- ;...
by IdeasVacuum
Wed Dec 07, 2022 1:10 am
Forum: Tricks 'n' Tips
Topic: Better ColorRequester()
Replies: 24
Views: 8132

Re: Better ColorRequester()

[deleted]
by IdeasVacuum
Wed Dec 07, 2022 12:19 am
Forum: Tricks 'n' Tips
Topic: Better ColorRequester()
Replies: 24
Views: 8132

Re: Better ColorRequester()

Thanks ChrisR, I didn't study your update of the code :oops:
by IdeasVacuum
Tue Dec 06, 2022 5:31 am
Forum: Tricks 'n' Tips
Topic: Better ColorRequester()
Replies: 24
Views: 8132

Re: Better ColorRequester()

How can the position of the FullColorRequester be set?

If my program is Screen Centred, the requester @ x0 y0 on a wide screen is miles away :D