Search found 403 matches

by stevedee
Thursday 15th April 2021 7:17am
Forum: General
Topic: Trapping Return - Serious problem ?
Replies: 14
Views: 181

Re: Trapping Return - Serious problem ?

...just to underline the point I made above, on my laptop:-

<F1> returns 16777264
<Return> returns 16777220
<AltGr> returns 16781571
<Alt> returns 16777251

...and so on!
by stevedee
Thursday 15th April 2021 7:02am
Forum: General
Topic: Trapping Return - Serious problem ?
Replies: 14
Views: 181

Re: Trapping Return - Serious problem ?

...Keypoint was this little code from Steve... ...What’s your verdict? Good morning Doc, I think you may have missed the point that these codes may vary (as Bruce also pointed out) between systems due to use of qt or gtk. Using the Constant names (as grayghost4 pointed out) is the way to code for y...
by stevedee
Wednesday 14th April 2021 7:05am
Forum: General
Topic: Trapping Return - Serious problem ?
Replies: 14
Views: 181

Re: Trapping Return - Serious problem ?

...Then I noticed something : when changing the Key.[Name] the list of available keynames is shown. They are preceded by a blue or red dot. When I try a blue-dotted one, like Key.Alt, Key.Shift, the result is False. When choosing a red-dotted one, like Key.Return, Key.F1, the result is True. And, a...
by stevedee
Sunday 11th April 2021 9:31am
Forum: General
Topic: Passing a variable to a module ?
Replies: 2
Views: 83

Re: Passing a variable to a module ?

...Question : How can I pass a variable to a module? ... I'm not totally clear on how you want to implement this, but one approach is to create a Public variable in your module. So maybe:- ' Module DataCloset Public intListNimber as Integer NamesStr$ As String Public Function Data() As String ' Rec...
by stevedee
Sunday 04th April 2021 9:47am
Forum: Lounge
Topic: The Gambas Intro Music
Replies: 3
Views: 163

The Gambas Intro Music

I must admit that the musical intro from the first Gambas screen freaks me out a bit...I always wonder where it is coming from.

I know it plays on Christmas day and Easter Sunday; has anyone noticed it on other days of the year?
by stevedee
Sunday 04th April 2021 8:35am
Forum: General
Topic: OpenGL via library linking
Replies: 3
Views: 154

Re: OpenGL via library linking

...Which is why this thread on the Spanish forum caught my eye. https://h6ctdsfmvw4rqzto4rgorow3du-jj2cvlaia66be-foro-gambas-es-org.translate.goog/viewtopic.php?f=1&t=8051&p=48521&highlight=opengl&sid=2e108413853923284e5253b4f94ddd97#p48521 They are implementing calls to OpenGL directly via a C lib...
by stevedee
Friday 02nd April 2021 2:54pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 1117

Re: Component to preview files in a directory

Let me retract the bit about .CR2 files. gnome-raw-thumbnailer uses /usr/share/thumbnailers/gnome-raw.thumbnailer which contains this:- [Thumbnailer Entry] TryExec=gnome-raw-thumbnailer Exec=gnome-raw-thumbnailer -s %s %u %o MimeType=image/x-adobe-dng;image/x-canon-cr2;image/x-canon-crw;image/x-dcra...
by stevedee
Friday 02nd April 2021 2:35pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 1117

Re: Component to preview files in a directory

There must be some magic in the code. I double checked my code, made no changes et voilá: it works. Great stuff. Thank you. You are very welcome! ... Dolphin and Nautilus ... both are able to show a tiny preview of DNG files... I'm 95% sure that gnome-raw-thumbnailer is installed on your system, an...
by stevedee
Wednesday 31st March 2021 6:10pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 1117

Re: Component to preview files in a directory

01McAc wrote:
Wednesday 31st March 2021 5:54pm
hmm, there must be something wrong in my code...
I suggest you paste the libraw section of your code.
by stevedee
Wednesday 31st March 2021 2:59pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 1117

Re: Component to preview files in a directory

Thanks for sending me the image Detlef.

I can extract the jpeg from within the RAW file;
01McAc_jpgInRaw.png
01McAc_jpgInRaw.png (281.29 KiB) Viewed 167 times
...and the jpeg image file details (which is a 2.3MB file) look like this;
01McAc_jpeg.png
01McAc_jpeg.png (51.6 KiB) Viewed 167 times