Search found 58 matches

by sjsepan
Friday 01st November 2019 6:38pm
Forum: General
Topic: Resize & Refresh - Some observations.
Replies: 3
Views: 1649

Re: Resize & Refresh - Some observations.

Not really having trouble with resizing, as I am using Qt4/5; just noting that I too see the behaviour in the component he mentioned. I am not using that one anyway. :-) Steve UPDATE: I did create a project of type 'Graphical application' which is using gb.gui and it behaves as he says. The height/w...
by sjsepan
Friday 01st November 2019 4:46pm
Forum: General
Topic: picturebox vs imagview
Replies: 3
Views: 1317

Re: picturebox vs imagview

Re: #1, there's not a lot in the Wiki help describing the difference except in terms of Properties/Methods/Events, but they have different lineages: Control (gb.qt4) Container (gb.qt4) DrawingArea (gb.qt4) PictureBox (gb.qt4) http://gambaswiki.org/wiki/comp/gb.qt4/picturebox Property Image As Image ...
by sjsepan
Thursday 31st October 2019 5:18pm
Forum: General
Topic: Resize & Refresh - Some observations.
Replies: 3
Views: 1649

Re: Resize & Refresh - Some observations.

I am playing around with form resizing right now, and I'm seeing all you have described. BTW, when a menubar is present, it seems to take up about 21 or 22 pixels(?) of space, and the other controls then measure X=0 from the bottom of the menubar. Note that the form Height still reflects the full am...
by sjsepan
Wednesday 30th October 2019 10:27pm
Forum: General
Topic: Where's the Ncurses Cursor?
Replies: 2
Views: 1679

Re: Where's the Ncurses Cursor?

OK, I also ran across the topic on your blog.
http://captainbodgit.blogspot.com/2017/ ... -text.html
Its from a week later, so I'll have to see what else you came up with in that time...
Steve
by sjsepan
Wednesday 30th October 2019 9:06pm
Forum: General
Topic: Where's the Ncurses Cursor?
Replies: 2
Views: 1679

Re: Where's the Ncurses Cursor?

tried this also cursor only appears on upper-left border corner with Ask() i can see my input echoed there, but the PrintCenter() goes in the center (if i type one of the 'abc'). ' Gambas module file Public Sub Main() Dim sResponse As String Dim index As Integer ' With Window Screen.Cursor = Cursor....
by sjsepan
Wednesday 30th October 2019 4:43pm
Forum: General
Topic: when should I expect Catch not to catch errors?
Replies: 14
Views: 3415

Re: when should I expect Catch not to catch errors?

Steve, I think the problem is your "Finally" says "Return..". so that's what it is doing. You would normally use Finally to do stuff like close files or destroy objects, but you are saying "whatever happens, return something" so the code does not reach Catch. Does that make sense? If an error occur...
by sjsepan
Wednesday 30th October 2019 4:41pm
Forum: General
Topic: when should I expect Catch not to catch errors?
Replies: 14
Views: 3415

Re: when should I expect Catch not to catch errors?

Steve, I think the problem is your "Finally" says "Return..". so that's what it is doing. You would normally use Finally to do stuff like close files or destroy objects, but you are saying "whatever happens, return something" so the code does not reach Catch. Does that make sense? If an error occur...
by sjsepan
Wednesday 30th October 2019 4:36pm
Forum: General
Topic: when should I expect Catch not to catch errors?
Replies: 14
Views: 3415

Re: when should I expect Catch not to catch errors?

Just to underline what I'm saying, if you had code like this:- Function 1() 'Do stuff that creates an error Finally GoTo Function 2 Catch 'report error End Function 2() 'do something else I think you can see that the Catch code will never execute, because you are specifying a jump around it. I hope...
by sjsepan
Wednesday 30th October 2019 4:33pm
Forum: General
Topic: when should I expect Catch not to catch errors?
Replies: 14
Views: 3415

Re: when should I expect Catch not to catch errors?

Steve, I think the problem is your "Finally" says "Return..". so that's what it is doing. You would normally use Finally to do stuff like close files or destroy objects, but you are saying "whatever happens, return something" so the code does not reach Catch. Does that make sense? If an error occur...
by sjsepan
Wednesday 30th October 2019 4:29pm
Forum: General
Topic: when should I expect Catch not to catch errors?
Replies: 14
Views: 3415

Re: when should I expect Catch not to catch errors?

cogier wrote:
Wednesday 30th October 2019 2:38pm
What is this line all about? Gambas does not seem to like it and I have not seen this type of syntax before.

Image
That was a typo from editing that I didn't catch before posting -- please disregard. I've edited the earlier post to correct it.
Steve