Search found 577 matches

by BruceSteers
Monday 26th July 2021 6:53am
Forum: General
Topic: TextEditor Selected text font.
Replies: 1
Views: 16

Re: TextEditor Selected text font.

there is TextEditor.HighlightString(sText) that will highlight any and all strings matching the search but then selecting text highlights it anyway. for texteditor it's a no. RichText will do html <b> texteditor has Highlighting with eval.highlight and TextHighlighting classes, kinda complicated but...
by BruceSteers
Sunday 25th July 2021 8:55pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 9
Views: 89

Re: a Gambas recent files Lister (TrayIcon)

It's on gitlab now https://gitlab.com/bsteers4/glaunch a few improvements changes will be logged in the commit messages fedora is being a pain. have added detection so stop window auto closing when losing focus on Fedora. For some reason just clicking the already activated window triggers the DeActi...
by BruceSteers
Saturday 24th July 2021 4:32pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 9
Views: 89

Re: a Gambas recent files Lister (TrayIcon)

I think i figured it out with xdg (hopefully) I'm hoping this fixes the Desktop name issue... ' Shell "DIR=$(cat /home" &/ u &/ "/.config/user-dirs.dirs|grep DESKTOP); echo ${DIR##*/}" To dtop dtop = Left(dtop, -2) ' that gets the correct name for the desktop folder then "/home" &/ u &/ dtop "should...
by BruceSteers
Saturday 24th July 2021 2:53pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 9
Views: 89

Re: a Gambas recent files Lister (TrayIcon)

Micha do you know how to translate a string to the current locale ?

I'm stuck.
turns out Desktop.Path returns null if you are root :-\

but if i know the username all i need is to translate the word Desktop
but i do not know how i'd do that.
by BruceSteers
Friday 23rd July 2021 7:48pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 9
Views: 89

Re: a Gambas recent files Lister (TrayIcon

MakeIcon 36 dtf = "/home/" & u & "/Desktop/" & n & ".desktop" dtf = "/home/" & u & "/Schreibtisch/" & n & ".desktop" You (or rather "I") should use this.. (as it has the gb.desktop component) dtf = Desktop.Path &/ n & ".desktop" I've updated the above archive :) cheers again Micha :) About the user...
by BruceSteers
Friday 23rd July 2021 1:35pm
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 9
Views: 89

Re: a Gambas recent files Lister (TrayIcon

Oops sorry. Its because the Form has no icon yet... The make launcher command is looking for FMain.Icon. Easily fixed. Thanks Mike 😎 And that there Is what we call the desktop of a developer 😉🤣 Makeicon 15, Why did you remove that line? My command will use your user name even if run as root if asked...
by BruceSteers
Friday 23rd July 2021 8:42am
Forum: Project showcase
Topic: a Gambas recent files Lister (TrayIcon)
Replies: 9
Views: 89

a Gambas recent files Lister (TrayIcon)

Here's something i just made. I call it GLaunch I have put in in my startup applications so it starts with my desktop. (Note: i HAD to put a 2 second delay) It makes a tray icon and populates a list by reading the gambas recent files save file. It gets the icons (for the projects) and displays them ...
by BruceSteers
Thursday 22nd July 2021 12:07pm
Forum: General
Topic: Advise on a idea
Replies: 11
Views: 143

Re: Advise on a idea

I think i may have misread the question, you kinda lost me a bit at SQL..

How about something like...
FMain.FullScreen = True

' do your routines..

' when finished

FMain.FullScreen = False

by BruceSteers
Thursday 22nd July 2021 7:12am
Forum: General
Topic: Advise on a idea
Replies: 11
Views: 143

Re: Advise on a idea

AndyGable wrote:
Thursday 22nd July 2021 1:06am
I'm using pipe to talk between the apps
cool then your main app could disable the other apps while it's working then release them when it's done it's business
by BruceSteers
Wednesday 21st July 2021 11:41pm
Forum: General
Topic: Advise on a idea
Replies: 11
Views: 143

Re: Advise on a idea

if you want your app to talk to other gambas apps of yours then look into DBus