Search found 18 matches
- Sunday 30th May 2021 9:06am
- Forum: General
- Topic: Exclude files from being displayed in a FileView control
- Replies: 10
- Views: 6969
Exclude files from being displayed in a FileView control
A simple, perhaps naive question. I can see how to use the filter property to display selected types of files in a FileView control. But how do you exclude certain files from being displayed? I specifically want to display all files in a directory EXCEPT "*.html" and "*.txt" file...
- Tuesday 18th May 2021 3:31am
- Forum: General
- Topic: Open gb.Form.Dialog maximised (full screen)
- Replies: 4
- Views: 3262
Re: Open gb.Form.Dialog maximised (full screen)
Thank you all, especially Vuott. Your code works wonderfully.
The only thing I had to add was 1 line of code after resizing, to reposition the form:
.Resize(Screen.AvailableWidth, Screen.AvailableHeight)
.Move(0,0) 'Move the dialog
With best wishes,
bazzvn
The only thing I had to add was 1 line of code after resizing, to reposition the form:
Code: Select all
.Move(0,0) 'Move the dialog
With best wishes,
bazzvn
- Sunday 16th May 2021 1:23am
- Forum: General
- Topic: Open gb.Form.Dialog maximised (full screen)
- Replies: 4
- Views: 3262
Open gb.Form.Dialog maximised (full screen)
Is it possible to automatically open gb.Form.Dialog full screen (i.e.maximized)? I know it is possible to click on the maximize button after the dialog is opened but this is an unnecessarily annoying extra step to get a better view of the directory structure when looking for a file. If it's not poss...
- Friday 14th May 2021 2:10am
- Forum: General
- Topic: Access the value of a TreeView Checkbox
- Replies: 5
- Views: 3922
Re: Access the value of a TreeView Checkbox
Thanks Cogier for taking the time to check the code. Your modifications result in more elegant code. I've never really understood how to use timers properly, so your addition of a timer was also instructive. The example project is just a subset of the code in my real FTags form, which includes addit...
- Thursday 13th May 2021 9:26am
- Forum: General
- Topic: Access the value of a TreeView Checkbox
- Replies: 5
- Views: 3922
Re: Access the value of a TreeView Checkbox
Thanks Quin, that partly answers my question, but I'm not sure whether it will serve my purpose. Basically, I have a large collection of documents that are catalogued in an sqlite database. The idea is to assign tags and attributes to them so that they can be found quickly and cross referenced. I pr...
- Wednesday 12th May 2021 8:21am
- Forum: General
- Topic: Access the value of a TreeView Checkbox
- Replies: 5
- Views: 3922
Access the value of a TreeView Checkbox
I am running Gambas 3.15.2 under Debian Testing with the Plasma 5.20 desktop and I see that it is possible to show a checkbox for each item in a qt4/qt5 TreeView control. I would like to be able to iterate through the items in the TreeView and find those that have been marked with a check. I know ho...
- Wednesday 5th April 2017 11:09pm
- Forum: General
- Topic: Saving images in the WebView as files
- Replies: 3
- Views: 5664
Re: Saving images in the WebView as files
Thank you Jornmo. It was the former, how to save the file. I never thought to look at the gb.net component, but the wiki link you posted looks like it will solve my problem. Much appreciated.
bazzvn
bazzvn
- Wednesday 5th April 2017 12:57pm
- Forum: General
- Topic: Saving images in the WebView as files
- Replies: 3
- Views: 5664
Saving images in the WebView as files
In Firefox, Right-Clicking on an image will usually allow one to save the image to a local file. I am trying to do the same sort of thing from web pages displayed in a Qt WebView. It is not too difficult to extract the link to the image source from the WebView, for example, "https://www.quantam...