Search found 119 matches

by Quincunxian
Sunday 13th June 2021 10:32pm
Forum: Web
Topic: How to show image in WebImage on Gambas3
Replies: 7
Views: 746

Re: How to show image in WebImage on Gambas3

I've been playing with this over the the last few weeks. Writing the path so: <img source='file:///[path to image].image.png'> stopped working. I think that this may be a security thing but it's hard to be sure. The solution I found that works is placing the images to be displayed in a folder struct...
by Quincunxian
Tuesday 08th June 2021 8:06am
Forum: General
Topic: Background tasks
Replies: 9
Views: 134

Re: Background tasks

Hi Andy, What back end database are you using ? What is the database sitting on ie: hardware ? One thing in your post caused me some concern. If you are updating stock levels, then you are going to need to do this near real time, otherwise your other users may order stock that you don't have. Could ...
by Quincunxian
Saturday 05th June 2021 11:24pm
Forum: General
Topic: Form Centre
Replies: 5
Views: 206

Re: Form Centre

Thanks All. The only other factor that I can think of that may have some baring on this is that I've run this same project at home on my standard computer with wide screen and there are no issues. I'm currently on an old(ish) HP laptop so that may have something to do with it. (Graphics card?) There...
by Quincunxian
Friday 04th June 2021 9:55pm
Forum: General
Topic: Form Centre
Replies: 5
Views: 206

Form Centre

Came across a strange issue where I turned a forms borders off and found it would not centre. Once I turned the borders back on, it would then centre. I'm using QT5 on: [System] Gambas=3.16.1 Distribution=Linux Mint 20.1 Ulyssa Desktop=CINNAMON Can someone else confirm this - Wouldn't be the first t...
by Quincunxian
Monday 17th May 2021 10:02pm
Forum: Web
Topic: Text search in Webview Control
Replies: 3
Views: 399

Re: Text search in Webview Control

Thanks Bruce, I did try the text editor earlier on but the requirement was to highlight multiple words in different colours. I'm a (would be) author writing fantasy and I've created a program in Gambas to help me do that. I wanted to scan a chapter of text, around 5000 words, and be able to hi-light...
by Quincunxian
Monday 17th May 2021 4:48am
Forum: Web
Topic: Text search in Webview Control
Replies: 3
Views: 399

Text search in Webview Control

I have a webview that I load with text that I wish to search. There are two issues. Search Text List Apple Banana Pineapple If the web view text is: Apple Pineapple Pineapple Apple Banana In this example, the the word Pineapple is never found. The issue is that the search seems to go through the web...
by Quincunxian
Wednesday 12th May 2021 9:33pm
Forum: General
Topic: Access the value of a TreeView Checkbox
Replies: 5
Views: 577

Re: Access the value of a TreeView Checkbox

In the treeview control, select ShowCheck in the parameter list. This enables a single select only radio button next to each treeview item. If you then set the mode parameter to multiple , the radiobutton changes to a checkbox and and you can select multiple items in any child node. The Selection pa...
by Quincunxian
Sunday 28th February 2021 10:41pm
Forum: General
Topic: Working with CSV files
Replies: 16
Views: 5706

Re: Working with CSV files

Extract data to CSV file with table field names as headers. KeyTable is the name of the target table in the database AG.DateFormatFiles = "YYYYMMDD" The rest should be fairly obvious. Public Sub ExtractDataAsCSV() Dim OutFile As File Dim TmpLine As String Dim Delimiter As String = "," Dim $Rec As Re...
by Quincunxian
Sunday 28th February 2021 10:30pm
Forum: Project showcase
Topic: TickBox a custom CheckBox
Replies: 11
Views: 1526

Re: TickBox a custom CheckBox

I did this a while ago with a scrollview and child checkboxes as I missed the checked list box of vb.net. Wrote a class to do all the grunt work and it worked perfectly but in the end, I found that a multi select list box does the same thing for much less work. I can point it at a data table and a r...
by Quincunxian
Friday 05th February 2021 11:21pm
Forum: Component
Topic: sqlite3, database views and db.gb.form controls. Does it work?
Replies: 22
Views: 3728

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

I'm glad that you are making changes to the way I do things as it's the best way to learn. It was only ever meant to be an example to show all the aspects of data management without any dataview controls. One of the reasons I abstract the data Get/Add/Change/Delete to a class, is that I can call tha...