Search found 518 matches

by stevedee
Thursday 28th January 2021 7:39pm
Forum: Component
Topic: sqlite3, database views and db.gb.form controls. Does it work?
Replies: 22
Views: 17689

Re: sqlite3, database views and db.gb.form controls. Does it work?

01McAc wrote: Thursday 28th January 2021 7:05pm ...Sorry for the hassle but it's my first try with Gambas. The project might be a bit challenging.
Don't worry about the hassle. I haven't written an sqlite Gambas project since 2009, so I may be a bit out of practice!

I tried the command without success:-
SqliteProb.png
SqliteProb.png (223.99 KiB) Viewed 6906 times
by stevedee
Thursday 28th January 2021 6:33pm
Forum: Component
Topic: sqlite3, database views and db.gb.form controls. Does it work?
Replies: 22
Views: 17689

Re: sqlite3, database views and db.gb.form controls. Does it work?

...Before you start: The connection " Connection1 " is bound to the my home directory. No idea how to make it dynamic. Start the IDE, you need to change the directory according to #1 (see above)... I'm struggling with this. Static Public Sub createDBcon() Try $con.Close() ' Schließen Sie ...
by stevedee
Thursday 28th January 2021 5:08pm
Forum: General
Topic: Control Category Lookup?
Replies: 1
Views: 1886

Control Category Lookup?

Has anyone seen some kind of look-up which indicates where you would find a particular Control in the IDE window?
If not, is there a need for one?

For example, if someone suggests I should use a Wizard control, which category will I find it in?
LookupTools.png
LookupTools.png (24.76 KiB) Viewed 1886 times
by stevedee
Thursday 28th January 2021 4:05pm
Forum: General
Topic: TrayIcon picture not updating
Replies: 12
Views: 7867

Re: TrayIcon picture not updating

ForeverNoob wrote: Thursday 28th January 2021 3:55pm ...The label is periodically updated, but not the icon.
Could you post the details of your system?
including:-
- Linux Distro
- Linux kernel
- Gambas version

...and maybe go to menu Project > Properties and post a screen-shot like this;

TrayIconProperties.png
TrayIconProperties.png (137.94 KiB) Viewed 5479 times
by stevedee
Thursday 28th January 2021 3:29pm
Forum: General
Topic: TrayIcon picture not updating
Replies: 12
Views: 7867

Re: TrayIcon picture not updating

I have run into one part of this problem which is the 'Comment' not changing. This can be solved by 'Hiding' then 'Showing' the icon which will change the 'Comment'. However, I can't get this to work with the 'Picture'.... By 'comment' do you mean ToolTip Charlie? If I remove the breakpoints and ju...
by stevedee
Thursday 28th January 2021 2:18pm
Forum: General
Topic: TrayIcon picture not updating
Replies: 12
Views: 7867

Re: TrayIcon picture not updating

OK, I've knocked up a simple program and single-stepped my way through it. TrayIcon.png The only thing I notice is that while the TrayIcon object is updated as expected, the tray icon only gets updated on the screen when the code exits my timer, which calls the Sub, which changes the TrayIcon icon/p...
by stevedee
Thursday 28th January 2021 12:41pm
Forum: General
Topic: TrayIcon picture not updating
Replies: 12
Views: 7867

Re: TrayIcon picture not updating

...even when the returned status changed (the tooltip is updated correctly). Please advise. TIA Hi TIA and welcome to Gambas One. I can't immediately see a problem with your code, but I suggest you put a break point at the line starting: "If " Then run the code and when it stops use F8 to...
by stevedee
Wednesday 27th January 2021 5:59am
Forum: Project showcase
Topic: My Little Gambas Helper
Replies: 14
Views: 12211

Re: My Little Gambas Helper

PJBlack wrote: Tuesday 26th January 2021 4:58pm starting it together with the ide and use it often every day...
Thanks PJ

Maybe you would find the option to run Gambas from the helper (either manually or automatically) useful:-

HelperRunGambas.png
HelperRunGambas.png (204.37 KiB) Viewed 7230 times
Edit: I have now made this change and updated the downloadable project file in post #1
by stevedee
Tuesday 26th January 2021 5:35pm
Forum: General
Topic: how to program a lib A that depends on another lib B that depends on lib A
Replies: 5
Views: 3824

Re: how to program a lib A that depends on another lib B that depends on lib A

One other point; deliberately creating 2 libraries that are mutually dependent upon one another is a bad idea.

See also: https://en.wikipedia.org/wiki/Circular_dependency
by stevedee
Tuesday 26th January 2021 5:13pm
Forum: General
Topic: how to program a lib A that depends on another lib B that depends on lib A
Replies: 5
Views: 3824

Re: how to program a lib A that depends on another lib B that depends on lib A

PJBlack wrote: Tuesday 26th January 2021 4:54pm no because they can't compile ...
Can you give me a code example, so I don't have to write my own.