Search found 1106 matches
- Sunday 17th April 2022 6:17pm
- Forum: Beginners
- Topic: Form Background Picture - Scale or Tile
- Replies: 9
- Views: 3458
Re: Form Background Picture - Scale or Tile
On your main computer I think you are running a Debian distribution. If you open Terminal and type lsb_release -a I suspect you will be told you are running Debian buster . I may be wrong! Debian buster has Gambas 3.12.2 in its repos. I have just uploaded the latest recommended Raspbian OS (32 bit) ...
- Sunday 17th April 2022 4:54pm
- Forum: General
- Topic: DateAdd problem with month end
- Replies: 11
- Views: 3612
Re: DateAdd problem with month end
Hi greyghost4, The idea was to get the beginning of the following month and go back 1 day, hence - Day(1) I tried your code: - dDate = Date(iYear, iMonth, 1) - Day(2) Result: - 30/01/2022 -- Sunday 30 January 2022 27/02/2022 -- Sunday 27 February 2022 30/03/2022 -- Wednesday 30 March 2022 29/04/2022...
- Sunday 17th April 2022 11:27am
- Forum: General
- Topic: DateAdd problem with month end
- Replies: 11
- Views: 3612
Re: DateAdd problem with month end
Not sure that this is 'elegant', but it works: - Public Sub Form_Open() Dim iLoop, iMonth As Integer Dim iYear As Integer = 2022 Dim dDate As Date For iLoop = 2 To 13 If iLoop = 13 Then iYear += 1 iMonth = 1 Else iMonth = iLoop End If dDate = Date(iYear, iMonth, 1) - Day(1) Print Format(dDate, "...
- Thursday 14th April 2022 7:54am
- Forum: Beginners
- Topic: Form Background Picture - Scale or Tile
- Replies: 9
- Views: 3458
Re: Form Background Picture - Scale or Tile
Hi Jerry, what distro are you using?
- Sunday 3rd April 2022 11:59am
- Forum: Beginners
- Topic: Anchoring a label to the right so autoresize expands to the left.
- Replies: 2
- Views: 1640
Re: Anchoring a label to the right so autoresize expands to the left.
Hi and welcome to the forum. Forum tip: - Use the 'gb' button for your code, the code will look better https://www.cogier.com/gambas/gb_button.png smsCount.X = SMSMessage.X + SMSMessage.Width - smsCount.Width And now to the Dark art of Gambas expanding forms! This is well worth getting your head aro...
- Saturday 2nd April 2022 2:55pm
- Forum: General
- Topic: Splitter settings
- Replies: 5
- Views: 3195
Re: Splitter settings
Thanks guys, you are correct, the .Layout and .Settings are the same. I had to put controls in the splitter to get the values. For anybody who's interested, here is a little program that shows this. https://www.cogier.com/gambas/SplitterSettings.png NewTest-0.0.1.tar.gz EDIT: - Help pages now updated.
- Friday 1st April 2022 2:30pm
- Forum: General
- Topic: Splitter settings
- Replies: 5
- Views: 3195
Re: Splitter settings
Thanks Steve, but it does not work. The iArray remains empty with either a Splitter or the deprecated HSplit.
- Thursday 31st March 2022 2:30pm
- Forum: General
- Topic: Splitter settings
- Replies: 5
- Views: 3195
Splitter settings
Does anybody know what Splitter.Settings do? It has to be an integer array, but that's all I can work out.
- Tuesday 29th March 2022 3:08pm
- Forum: Component
- Topic: barcode scanner component
- Replies: 4
- Views: 6208
Re: barcode scanner component
Get a USB barcode reader like this one . This reads the barcode and then passes the information back as if it is a keyboard, with an [Enter] at the end. This makes it very easy to program. All you need to do is have a TextBox in focus, scan the barcode and watch for the [Enter] at the end of the rea...
- Tuesday 29th March 2022 2:55pm
- Forum: General
- Topic: JSON files
- Replies: 24
- Views: 23091
Re: JSON files
Welcome to the forum.
Try going to Project > Properties... > Components and ensure you have the gb.util.web component loaded.
Try going to Project > Properties... > Components and ensure you have the gb.util.web component loaded.