Search found 1561 matches
- Thursday 26th August 2021 9:04am
- Forum: Component
- Topic: is there a tuturial for dynamic control creation
- Replies: 11
- Views: 9220
Re: is there a tuturial for dynamic control creation
PS. it's hard to tell what you are doing wrong if you do not post your code.
- Thursday 26th August 2021 8:58am
- Forum: Component
- Topic: is there a tuturial for dynamic control creation
- Replies: 11
- Views: 9220
Re: is there a tuturial for dynamic control creation
I managed to get that far but the entire scope of what I am thinking may be beyond gambas ability. I am going to explore control arrays to do this. I have a tab panel that I was going to dynamically create additional tabs as needed each one needs about 2 dozen controls in it. labels, textboxes, but...
- Wednesday 25th August 2021 11:33pm
- Forum: Component
- Topic: is there a tuturial for dynamic control creation
- Replies: 11
- Views: 9220
Re: is there a tuturial for dynamic control creation
I'm not exactly sure what you need exactly when you say "dynamic control creation" but maybe this helps. If you mean adding controls to your form with code then that's not too hard. consider this code... Private $hButton As Button Public Sub Form_Open() $hButton = New Button(MyButtonPanel)...
- Wednesday 25th August 2021 8:15am
- Forum: Component
- Topic: popup menu help
- Replies: 4
- Views: 4537
Re: popup menu help
How I do it.... Do not use the Controls PopupMenu property . do it all in the MouseUp event using the PopUp function and the menu tag Public Sub MyButton_MouseUp() If Not Mouse.Right Then Return Menu1.Tag = Last.Name Menu1.PopUp(Mouse.ScreenX, Mouse.ScreenY) End Then when any command from the menu i...
- Tuesday 24th August 2021 9:44am
- Forum: Component
- Topic: mediaview help
- Replies: 5
- Views: 4893
Re: mediaview help
1. In the form designer where you can select Form/View/container type objects there will be a new tab called Media on the far right hand side 2. & 3. looks like you fixed that. To make it not stretch it must not be in a panel that is 'arranged' (Arrange.fill, arrange.Horizontal, etc) It must be ...
- Thursday 19th August 2021 6:24pm
- Forum: Project showcase
- Topic: InFile
- Replies: 38
- Views: 24971
Re: InFile
I have just been having a look at D-Bus. I just need to go into a darkened room for an hour! Am I any wiser - Er.. NO! There is a program called D-feet (available from the Ubuntu Repos) that shows all the available connections on the D-Bus. Have you created an example program in Gambas that will de...
- Thursday 19th August 2021 12:02am
- Forum: Project showcase
- Topic: InFile
- Replies: 38
- Views: 24971
Re: InFile
Hey Charlie...... I've been checking out Dbus "gb.dbus" Your filemanager opening function could possibly be done better with Dbus :) I just tried the following on Cinnamon and it worked a treat :) DBus["session://org.freedesktop.FileManager1"]["/org/freedesktop/FileManager1&...
- Wednesday 18th August 2021 9:54am
- Forum: General
- Topic: Convert VB.net to Gambas
- Replies: 7
- Views: 4242
Re: Convert VB.net to Gambas
where to start? first of all gambas is not a loose as VB. So the first thing is you CAN NOT dim anything in the middle of code or conditionally. ALL dim must be done in the beginning of a function or sub. Sorry fella that's just not true. You can Dim anywhere you want inside a function. You can eve...
- Wednesday 18th August 2021 1:10am
- Forum: General
- Topic: [Solved] Package as Appimage
- Replies: 15
- Views: 17490
Re: Package as Appimage
try this to add the gambas stable ppa and re-install the newer gambas version...
sudo add-apt-repository ppa:gambas-team/gambas3
sudo apt-get update
sudo apt-get purge gambas3*
sudo at-get install gambas3*
sudo add-apt-repository ppa:gambas-team/gambas3
sudo apt-get update
sudo apt-get purge gambas3*
sudo at-get install gambas3*
- Wednesday 18th August 2021 1:04am
- Forum: General
- Topic: [Solved] Package as Appimage
- Replies: 15
- Views: 17490
Re: Package as Appimage
the installer does not install any particular version, the version it installs depends on how you have apt set up. if you need the ppa stable version you have to add the ppa to your apt and run apt-get update not just use the default version your distro has on it's repo. That's down to you not my in...