Search found 136 matches

by Quincunxian
Thursday 04th November 2021 7:58pm
Forum: Component
Topic: FileChooser Message on Double click
Replies: 4
Views: 240

Re: FileChooser Message on Double click

That fixed it. Changing the FileChooser property ReadOnly to True stopped the pop-up message. This has annoyed me for such a long time - thanks guys ! I use the Activate event to process a file selection on double click. Edit: The reason that the Activate event is used, 'may' be that when you have a...
by Quincunxian
Wednesday 03rd November 2021 11:40pm
Forum: Component
Topic: FileChooser Message on Double click
Replies: 4
Views: 240

FileChooser Message on Double click

When I double click a file in the file chooser I get the following message. Screenshot from 2021-11-04 10-33-57.png Is there anyway to disable it ? This appears before the 'Activate' process instigates. When you click on 'Overwrite' the process then continues as normal. Any suggestions ? Note# this ...
by Quincunxian
Saturday 23rd October 2021 8:26pm
Forum: General
Topic: Attach to sqlite file over my network
Replies: 1
Views: 199

Re: Attach to sqlite file over my network

Hi CM, The official SQLite Over a Network Caveats and Considerations is here Even they suggest using a PostgreSql engine. I've tried this multiple times and like you, still have not been able to get a working version. MySQL is another option - You should be able to get it installed on your server an...
by Quincunxian
Tuesday 05th October 2021 8:20pm
Forum: General
Topic: advice needed re mysql decimal field type
Replies: 3
Views: 402

Re: advice needed re mysql decimal field type

You can convert a float to a currency by using Round(

Value = Round ( Number [ , Digits ] )

Rounds a number to its nearest integer, if Digits is not specified.
If Digits is specified, rounds to 10 ^ Digits.
Examples
PRINT Round(Pi, -2)
RunPlay
3.14
PRINT Round(1972, 2)
RunPlay
2000
by Quincunxian
Thursday 26th August 2021 7:29am
Forum: Component
Topic: is there a tuturial for dynamic control creation
Replies: 11
Views: 1306

Re: is there a tuturial for dynamic control creation

Have a look at the webview example in Gambas examples on the site.
From memory, it creates tabs automatically when you select the correct option.
Might give you a nudge in the right direction.
by Quincunxian
Wednesday 11th August 2021 10:32pm
Forum: General
Topic: Dynamic hierarchy
Replies: 4
Views: 719

Re: Dynamic hierarchy

To re-order the controls you will need to have them in a container - A Panel is well suited to this. I use something similar to set tool buttons in a horizontal panel - This example is set for a vertical sequence. {As per your example} If you want to centre them in the panel, you can use Ctrl.X = (I...
by Quincunxian
Tuesday 10th August 2021 11:24am
Forum: Project showcase
Topic: Very Basic Spell Checker
Replies: 1
Views: 395

Very Basic Spell Checker

I've been trying to create a basic spell check for a larger gambas project I'm working on, and this is what I have so far. It's clunky but workable (for a given value of workable :roll: ) It uses the command line tool 'spell', which is part of ispell application from what I understand. The attached ...
by Quincunxian
Saturday 07th August 2021 9:09pm
Forum: Project showcase
Topic: Bring Them On
Replies: 3
Views: 680

Re: Bring Them On

You've come a long way since the old... Mid version Gambas 2... days.
Nice !
by Quincunxian
Saturday 31st July 2021 9:55pm
Forum: General
Topic: Exec & Shell
Replies: 5
Views: 802

Re: Exec & Shell

Thanks guys. @ Bruce - The Gambas Quote function has failed on every SQL statement I've used it on so far, so my confidence is somewhat lacking. I'll have another look to cover all bases, but I'm not confident. @Cogier. I'm using LibreOffice but have always used the soffice application for command l...
by Quincunxian
Saturday 31st July 2021 4:41am
Forum: General
Topic: Exec & Shell
Replies: 5
Views: 802

Exec & Shell

Greetings all. I'm trying to run an Open office command line instruction using Exec or Shell. It's not working, but if I run exactly the same command from the terminal, it works as required. The process uses 'soffice' to convert a writer document (.odt) file to a txt file. Terminal command: soffice ...