Search found 1114 matches

by cogier
Sunday 13th December 2020 12:39pm
Forum: General
Topic: The 3 dots Sub querry
Replies: 17
Views: 9619

The 3 dots Sub querry

Hi, Can anybody tell me what the 3 dots do as the help example is not very helpful! The text below is taken from here . Passing extra arguments to another function SINCE 3.6 The ... keyword can be used to transmit the extra arguments to another function accepting them. Example Sub PrintMessage(sType...
by cogier
Saturday 12th December 2020 3:51pm
Forum: General
Topic: How to prevent form being minimised
Replies: 6
Views: 4158

Re: How to prevent form being minimised

I can't get the key combination [Win]+[PgDn] to work but try the following: -
Public Sub Form_Deactivate()
  
  Me.Activate

End
by cogier
Wednesday 9th December 2020 4:16pm
Forum: General
Topic: send window to bottom of stack
Replies: 11
Views: 7455

Re: send window to bottom of stack

I have done a little research on this. I found that the 'Raise' method works well in both QT & GTK, though GTK is noticeably slower! The 'Lower' method is not as good. So using 'Raise' only I came up with this. Am I getting close to what you want?

Image
by cogier
Monday 7th December 2020 5:38pm
Forum: Project showcase
Topic: Hull Breach
Replies: 2
Views: 3513

Re: Hull Breach

I have played it a few times but find it very hard to 'seal' a breach, I managed to seal 2 and then I am toast! I just keep bouncing around as if I were drunk making it very difficult to get to the problem areas. It might be better with levels so that you can start with 2 breaches then 3... Maybe I ...
by cogier
Monday 7th December 2020 5:15pm
Forum: General
Topic: How can I play a .h264 video in a box?
Replies: 4
Views: 3564

Re: How can I play a .h264 video in a box?

Have a look at my VerySimpleVideoPlayer

I downloaded 2 x h264 videos and they worked OK.

Image
by cogier
Saturday 5th December 2020 5:11pm
Forum: General
Topic: Problem with gridview menu click
Replies: 6
Views: 4717

Re: Problem with gridview menu click

Hi Bill, I have carried out some tests and you are correct both events are triggered. As the 'Click' event is not classed as a mouse event you can't check the mouse buttons. I discovered that the 'Menu' event is triggered first so knowing that I was able to set up a trap for it. https://www.cogier.c...
by cogier
Saturday 5th December 2020 4:42pm
Forum: General
Topic: Form with in a Panel
Replies: 6
Views: 4852

Re: Form with in a Panel

Here is a little program that may help you. Let us know how you get on.

Image
TestApp-0.0.3.tar.gz
(817.27 KiB) Downloaded 315 times
by cogier
Saturday 5th December 2020 10:41am
Forum: General
Topic: A Gambas Newbie questions
Replies: 16
Views: 13062

Re: A Gambas Newbie questions

Regarding your code there are quite a few changes to make. I don't understand all the 'printing' parts of the code but here are a few tips:- Sub StandardCashDrawer change to Sub StandardCashDrawer() Dim As String A, B, keyprs change to Dim A, B, keyprs As String Dim t As Double change to Dim t As Fl...
by cogier
Wednesday 2nd December 2020 2:57pm
Forum: General
Topic: Keypress on a Form
Replies: 5
Views: 5277

Re: Keypress on a Form

Hi AndyGable and welcome to the forum Here is my input to your question. Public Sub Form_Open() ''All the Properies here can be made in the IDE With Me .Height = 150 .Width = 900 .Padding = 5 .Arrangement = Arrange.Fill End With With LCDLabel2 .Alignment = Align.Center .Expand = True .Padding = 20 ....
by cogier
Sunday 29th November 2020 11:47am
Forum: General
Topic: Toolbar problem
Replies: 4
Views: 3534

Re: Toolbar problem [SOLVED]

Well, would you believe it! I put the spring back to test out Quincunxian's theory and it all worked as expected :( :D . I think, like cage found out, you were probably correct in that the hierarchy was wrong but I can't confirm it now! The time I spent trying to get this right.... winge! Thanks I'l...