Search found 581 matches

by BruceSteers
Tuesday 27th July 2021 8:14pm
Forum: General
Topic: [solved] Listbox not updating until end of subs
Replies: 5
Views: 47

Re: Listbox not updatiug until end of subs

Have you tried using... Wait After setting label text Label1.text = "SOME TEXT" Wait More code... Or Wait 0.1 Thank-you BruceSteers that worked prefectly Sorry for the delay in Replaying I was not getting any Emails to say you had posted. What does the wait 0.1 function do? Waits a tenth of a secon...
by BruceSteers
Tuesday 27th July 2021 1:28am
Forum: General
Topic: [solved] Listbox not updating until end of subs
Replies: 5
Views: 47

Re: Listbox not updatiug until end of subs

Notes..
Timer default is 1000 so that code is not needed.

Also
Timer.Stop and Timer.Enabled = False is the same thing so you can lose one of those lines
by BruceSteers
Tuesday 27th July 2021 1:24am
Forum: General
Topic: [solved] Listbox not updating until end of subs
Replies: 5
Views: 47

Re: Listbox not updatiug until end of subs

Have you tried using...
Wait
After setting label text
Label1.text = "SOME TEXT"
Wait

More code...
Or
Wait 0.1
by BruceSteers
Monday 26th July 2021 10:18pm
Forum: General
Topic: Desktop panel.
Replies: 0
Views: 17

Desktop panel.

Does anyone know how to make a desktop panel? Specifically so the useable desktop adjusts its size. I'm making a panel with gambas. Primarily for desktops like gnome that dont allow desktop icons. So far it shows all *.desktop files from $HOME/Desktop/ and supports the alternative right click action...
by BruceSteers
Monday 26th July 2021 6:53am
Forum: General
Topic: TextEditor Selected text font.
Replies: 1
Views: 31

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: 105

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: 105

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: 105

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: 105

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: 105

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...