Search found 976 matches

by BruceSteers
Sunday 27th November 2022 11:21am
Forum: Beginners
Topic: I have detected a minor bug in the Gambas IDE version 3.15.2
Replies: 4
Views: 43

Re: I have detected a minor bug in the Gambas IDE version 3.15.2

Coding your gui by hand and using the ide are different. You can't expect gambas to handle every mistake you make. Gambas "Form designer" designs the form and checks your naming against other names in the form designer. (Not your class) If you think it's a bug you should get on the gambas ...
by BruceSteers
Sunday 27th November 2022 11:02am
Forum: Beginners
Topic: Problems with Message and the window that creates it
Replies: 7
Views: 74

Re: Problems with Message and the window that creates it

No that's your coding.
Nothing should hide form automatically.

If form hides it's your code.

Post an example program.
by BruceSteers
Sunday 27th November 2022 12:38am
Forum: Beginners
Topic: Problems with Message and the window that creates it
Replies: 7
Views: 74

Re: Problems with Message and the window that creates it

I assume you are using the message command in the form.open event? That won't work as the form.must open first. Best way is to create a timer and start it in the form open event. Have the timer event use the message command and form.open can continue to work Private hTimer as Timer Public sub Form_O...
by BruceSteers
Sunday 27th November 2022 12:28am
Forum: Beginners
Topic: Adding keyboard shortcuts to menu items
Replies: 2
Views: 24

Re: Adding keyboard shortcuts to menu items

It's a bug in the gtk toolkit.
You must change your system font size.
If you up your font size a bit the key selector next to the modifier key options will appear. Try upping 1 PT so if 10 try 11

Or run gambas with the qt toolkit not gtk.
env GB_GUI=gb.qt5 gambas3
by BruceSteers
Sunday 27th November 2022 12:22am
Forum: General
Topic: Mouse dragging
Replies: 2
Views: 52

Re: Mouse dragging

Before calling the object.Drag() method you set Drag.IconX Drag.IconY I used this.. Public sub MyObject_MouseMove() If Mouse.Left then Drag.IconX = Mouse.ScreenX - Last.ScreenX Drag.IconY = Mouse.ScreenY - Last.ScreenY Drag.Icon = hDragPicture Last.Drag(sData, "text/plain") Endif End That ...
by BruceSteers
Saturday 26th November 2022 7:23pm
Forum: Beginners
Topic: I have detected a minor bug in the Gambas IDE version 3.15.2
Replies: 4
Views: 43

Re: I have detected a minor bug in the Gambas IDE version 3.15.2

When you change a name of an object in the ide it auto changes instances of the object name in your code, this is a feature not a bug.

Plus 3.15 is old so no bugs will get fixed. Bugs only get fixed in the latest version.
by BruceSteers
Saturday 26th November 2022 3:26am
Forum: General
Topic: Resize a picture
Replies: 5
Views: 79

Re: Resize a picture

Can anybody tell me how to resize a picture without using a Shell command? Shell "convert pict.png -resize 100x100 /tmp/pict.png" Wait Image.Stretch Dim hPic as Picture = Picture.Load(sMyPic) ' original size Dim hPicStretched As Picture = hPic.Image.Stretch(100,100).Picture ' resized pict...
by BruceSteers
Tuesday 22nd November 2022 7:44pm
Forum: Beginners
Topic: Creating a library
Replies: 13
Views: 185

Re: Creating a library

Aah hang on. i think i understand. It's probably an issue with a QT only system.
you probably need to use gb.gui.qt not gb.gui or something.

The other bruce will know about these problems better as he also uses a QT only system.
by BruceSteers
Tuesday 22nd November 2022 7:36pm
Forum: Beginners
Topic: Creating a library
Replies: 13
Views: 185

Re: Creating a library

You could always compile and install gambas yourself using the autotools method.. you can get the commands needed on this page i made.. http://138.68.116.47/cgi-bin/WebGambasUpgrade.gambas Just select your system (i chose debian-stable for the following) # Run the following commands in a terminal (c...
by BruceSteers
Tuesday 22nd November 2022 2:52pm
Forum: Beginners
Topic: Creating a library
Replies: 13
Views: 185

Re: Creating a library

p.s. @Bruce S: re http://gambaswiki.org/edit/doc/library?ht=library MY GAWD! It is so many years since I wrote that! It may not be entirely correct to the nTH level nowadays. The best bit is the precedence order for the location searches. It took me several megadays of reading the gbx(probably gbx2...