Re: [Gambas-user] How to Change Keyboard Layout

2018-10-02 Thread Charlie Ogier
If you are using *buntu/Mint etc (and maybe other distros) you could try 
this: -


*Public Sub Form_Open()**
**Dim sKBFile As String[] = Split(File.Load("/etc/default/keyboard"), 
gb.NewLine)**

**Dim sLine As String **
**
**For Each sLine In sKBFile**
**  If sLine Begins "XKBLAYOUT" Then **Print sLine**
**Next**
**
End
*
Output using a UK (gb = Great Britain) keyboard is: -

*XKBLAYOUT="gb"

*Charlie*
*


On 01/10/18 22:01, Wael M via Gambas-user wrote:

thank you very much Lee
you solved it

I used:
Desktop.SendKeys("[Alt_L] + [Shift_L]")

so another problem appeared,
I need to detect if language is Arabic or English
I can't find a solution for that
Can you help me?


On Mon, 10/1/18, T Lee Davidson  wrote:

  Subject: Re: [Gambas-user] How to Change Keyboard Layout
  To: gambas-user@lists.sourceforge.net
  Date: Monday, October 1, 2018, 9:45 PM
  
  Perhaps Desktop.SendKeys ?
  
  ___

  Lee
  
  
  On 10/1/18

  12:42 PM, WAEL via Gambas-user wrote:
  >
  Hello
  > I'm trying to change system
  keyboard layout by pressing a key
  > I
  can't find the right code for doing so
  > please help
  > I usually
  press Alt+Shift to change keyboard from English to Arabic
  and vice
  > versa, but I need to program
  it to a button in my project
  > I tried:
  
  > system.language ="ar-EG"

  > but it would change system locale not the
  keyboard layout
  > I tried to code
  Alt+Shift in a button but also didn't work
  > any ideas please...
  >
  
  >

  >
  > --
  > Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html
  >
  >
  >
  ___
  > Gambas-user mailing list
  > Gambas-user@lists.sourceforge.net
  > https://lists.sourceforge.net/lists/listinfo/gambas-user
  >
  
  
  
  ___

  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
  



___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] JSON Parsing

2017-09-10 Thread Charlie Ogier

On 09/09/17 17:24, Brad Doyle via Gambas-user wrote:

Anyone have any working example of JSON parsing. Following the example I found 
online, I can get the list of primary keys, but any attempt to access any of 
the columns results in a NULL return. Once the decode is executed I get the key 
values, but attempts to retrieve any other column results in null. Any help is 
greatly appreciated.

Sincerely,

Brad R. Doyle


Hi Brad,

Have a look at the attached example which uses the URL in your post.

Charlie



ForBrad.tar.gz
Description: application/gzip
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] size limit for files at Gambas Bug Tracker

2017-09-02 Thread Charlie Reinl
Salut Benoît,

is there a size limit for files at Gambas Bug Tracker?
I wanted attach a 6,5 MB valgrind output, but the Gambas Bug Tracker
crashed while sending.
-- 
Amicalement
Charlie


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gambas3 debugging

2017-09-02 Thread Charlie Reinl
Salut,

does anyone have something like a 'How debug with the Gambas3-IDE' in
English?
-- 
Amicalement
Charlie


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Switching to GitLab

2017-08-26 Thread Charlie Reinl
Am Sonntag, den 20.08.2017, 21:31 +0300 schrieb Jussi Lahtinen:
> How do you get the change log with git? "git log" shows only one change
> (most recent?).
> Is this because I cloned the sources with "git clone --depth=1
> https://gitlab.com/gambas/gambas.git;?
> 
> Even when I want only the latest dev version, I would still like to know
> what has changed. It's quite important if you do bug hunting.
> 
> 
> Jussi
> 

Salut Jussi,

I found that 'git log --graph --oneline --all' you can go back to gambas
2.0.0 Tag
-- 
Amicalement
Charlie


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Why is this code running twice?

2017-08-02 Thread Charlie
Fernando Cabral wrote
> I am trying to create a sundial faceplate. I took the analogic clock,
> discarded what I did not need and thought I was ready to work on the
> calculations and drawing of the hour angles.
> 
> Nevertheless, I am mystified by two things I can't understand:
> a) The code produces a loop I can't see why (I am not referring to the FOR
> loop)
> b) I can't modify the drawing area dimensions ( dwgArea.width = 800  does
> not work)
> 
> Besides, I have a question: when a drawing area is created, it (0,0)
> supposed to be the central point?

Have a look at the excellent program 'Painting' which is on the Farm under
Example.




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Why-is-this-code-running-twice-tp59978p59985.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] textarea won't accept text

2017-07-28 Thread Charlie
bill-lancaster wrote
> I'm obviously missing something here but have just added a textarea
> control to my form.
> I can display text in it from code but can only enter one character.
> Any ideas?

I have tried this and I can't find a fault. I can enter as much text as I
like. Put text in with code and add more text with the keyboard. I have
tested it with gb.gui, gb.gtk3 and gb.qt4 and all behave the same.

An example, as Adrien said, might help.  



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/textarea-won-t-accept-text-tp59911p59922.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Weather app in Software Farm

2017-07-28 Thread Charlie
Tony Morehen wrote
> Hi Charlie, I just published a new version of gbWeather. 

Hi Tony,

This seems to be working quite well though I don't always get 'Future'
icons. I have been playing with this idea as well and if you look  here
<https://openweathermap.org/weather-conditions>   you will see all the icons
you need and you already have the name of the icon you need: -

sIcon = colForecast["list"][0]["weather"][0]["icon"]


You can download it with: -


You could download them all or only when they are needed. They are only 3 to
4kb



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Weather-app-in-Software-Farm-tp59768p59920.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Trouble with CSVFile Component

2017-07-28 Thread Charlie
markwalt wrote
> Hi guys,
> 
> I'm trying to write a very simple program that pulls in one CSV File, and
> spits out another, based on what's inside the file.

I use CSV files all the time. I find them easy and fast. Have a look at the
attached example, hopefully it will help.

CLIOnly1.tar    



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Trouble-with-CSVFile-Component-tp59904p59913.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Weather app in Software Farm

2017-07-27 Thread Charlie
I have tried out the latest version 0.1.9 and it worked on Mint 18 and the
TryIcon is fine. I put in my location and it finds it but I notice that Line
98 in Config.class: -

*Settings["Default/Location"] = Replace(txtLocation.Text, " ", "")*

takes out any spaces so Saint Peter Port becomes SaintPeterPort and then it
fails to load the weather. I changed the line to: -

*Settings["Default/Location"] = Trim(txtLocation.Text)*
and it works but is too large to fit on the Form:-

 

I have had a look at OpenWeather Database and the largest 'location' is: -
*Posëlok Psikhonevrologicheskoy Bol’nitsy Imeni Karamzina*

which seems an excessively long name but it is there!




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Weather-app-in-Software-Farm-tp59768p59899.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Dragging from one control to another

2017-07-23 Thread Charlie
Rolf-Werner Eilert-2 wrote
> The GridView_Drop event doesn't fire at all. No idea why.

I can get this to work either, as you say the '_Drop' does not seem to fire.

I came up with a different way to do this that might be of interest, see
attached.

GUITest.tar   




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Dragging-from-one-control-to-another-tp59857p59883.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Weather app in Software Farm

2017-07-15 Thread Charlie
Tony Morehen wrote
> I just uploaded a Weather systray app to the software farm. 
> Comments/suggestions welcome.  Enjoy.

Hi Tony,

I tried your program on a computer at work and got it working after adding
*gb.qt4*. Linux Mint does not have QT5 yet. I tried it a home but even after
fixing QT I got: -

*"sni-qt/5871" WARN  12:51:31.765 void
StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE *

After 20 seconds FMain appeared but with no data. 

Not sure what the problem is.




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Weather-app-in-Software-Farm-tp59768p59771.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Best ways to format float values

2017-07-13 Thread Charlie
Also consider: -

Public Sub Main() 
Dim fNum As Float[] = [26.66016, 26.66516] 'Note 26.660..
and 26.665..
Dim fTemp As Float

For Each fTemp In fNum
  fTemp *= 100
  fTemp += 0.5
  fTemp = Int(fTemp)
  fTemp /= 100
  Print fTemp;;
Next

'Output 26.66 26.67

End




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Best-ways-to-format-float-values-tp59733p59743.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Best ways to format float values

2017-07-13 Thread Charlie
alexchernoff wrote
> Peace to all,
> 
> this might a bit silly but what is the best way to format float values
> like 26.66016 into having two digits AND/OR  with rounding them?
> 
> e.g.
> 26.66016 becomes 26.66 shortened
> 26.66016 becomes 26.67 rounded
> 
> cheers!

You said 'Format' so you could use: -

Print Format("26.66016", "#.00") '26.66
Print Format("26", "#.00") '26.00
Print Format("1.533", "#.00") '1.53




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Best-ways-to-format-float-values-tp59733p59740.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About gambas, the word

2017-07-13 Thread Charlie Reinl
Am Donnerstag, den 13.07.2017, 10:18 +0200 schrieb Jorge Carrión:
> It's a joke, I think. Searching for something that contains BAS, from
> Basic. Why an animal I don't know. Benoit likes to eat prawns, I soppouse...
> 
> 
> 
> Best Regards
> 
> 2017-07-13 8:37 GMT+02:00 Fernando Cabral <fernandojosecab...@gmail.com>:
> 
> > *Warning: this is only a linguistic curiosity with no relation to Gambas,
> > the language.*
> >
> > Entirely by chance, I came across the following definition and etymology
> > for gambas, the word:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > *From Petit Robert 2007: gambasgambas [gɑ̃bas] nom féminin plurielétym.
> > répandu v. 1960; catalan gamba, du latin populaire cambarus, classique
> > cammarus, du grec kammarosv■ Grosses crevettes comestibles de la
> > Méditerranée. Gambas frites (è scampi), grillées. Brochette de gambas.▫
> > Rare Une gamba [gɑ̃ba].*
> > In Brazil, I never heard the word gamba. I never found it in written text.
> > Nevertheless, at least one Brazilian dictionary registers it as a Spanish
> > word only recently introduced into Portuguese. So, perhaps it is used in
> > Portugal.
> >
> > Anyway, it is interesting to know that, in the end, it comes from Greek
> > "kammaros" that gave us the Portuguese "camarão" and the Italian
> > "gamberetto". Nevertheless, at the first sight, it is hard to see that
> > "gamba" and "camarão" come from the same Greek word.
> >

There is the old meaning : Gambas Almost Means BASIC!

look here http://gambas.sourceforge.net/en/main.html 
-- 
Amicalement
Charlie


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to use drag-and-drop

2017-07-11 Thread Charlie
Rolf-Werner Eilert-2 wrote
> The basic usage of the drag-and-drop functions isn't quite clear to me. 
> I couldn't find much information in the wiki about it. Here is my code. 
> I use t$ as a simple storage place and TextBox1 is only to see what the 
> thing does.
> 
> The user should pick the red cell in GridView1 and drag it to another 
> cell. The contents should appear there.
> 
> I use "MouseUp" and not "Drop" because Drop didn't have any result. But 
> maybe the way I implemented the whole thing isn't the right one anyhow?

Your code works. Is it that you want to drag the Background colour as well?
You can only drag Text or Images so if you want the Background as well you
will need to use other tricks. Try your modified code below. If I have
missed the point let me know.

t$ As String 
iBackGround As Integer

Public Sub Form_Open() 

GridView1.Rows.Count = 7 
GridView1.Columns.Count = 5 
TextBox1.Text = t$ 

End

Public Sub GridView1_Data(Row As Integer, Column As Integer) 

If Row = 4 And Column = 3 Then 
  GridView1.Data.Background = Color.Red 
  GridView1.Data.Alignment = Align.Center 
  GridView1.Data.Text = "E\nKorr\nWg" 
  t$ = GridView1.Data.Text 
Endif 

End 

Public Sub GridView1_Click() 

t$ = GridView1.Current.Text 
TextBox1.Text = "" 
iBackGround = GridView1.Current.Background

End 

Public Sub GridView1_MouseDrag() 

TextBox1.Text = t$

End

Public Sub GridView1_MouseUp() 

TextBox1.Text = GridView1.Row & "::" & GridView1.Column 
GridView1.Current.Text = t$
GridView1.Current.Background = iBackGround

End 



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-use-drag-and-drop-tp59720p59728.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Gambas Bug Tracker] Bug #1126: idea to add code snippets

2017-07-10 Thread Charlie
bugtracker wrote
> It would be a good idea to add code snippets
> something like this:
> Public Const _Properties As String = "*"
> 'Public Const _DefaultEvent As String = ""
> 'Public Const _DefaultSize As String = ""
> 'Public Const _Group As String = ""
> 'Public Const _DrawWith As String = ""
> 'Public Const _Similar As String = ""
> 
> Pcdg
> 
> Public const default group

You can add these yourself. Press [Ctrl]+[Alt]+P, select 'Code snippets'

 




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gambas-Bug-Tracker-Bug-1126-idea-to-add-code-snippets-tp59705p59708.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What is the simplest way to display text properties in Gambas?

2017-07-06 Thread Charlie
Fernando Cabral wrote
> I'd like to display text highlights like bold and italics. Can I do it
> using TextArea? If yes, how?
> 
> If I can't which resource should I use?

Try using a TextLabel: -

 




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/What-is-the-simplest-way-to-display-text-properties-in-Gambas-tp59692p59696.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread Charlie
OK sorry I deleted that post once I reread your post.

Have a look at this solution

GUITest.tar   



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-contents-x-y-are-default-richtext-or-text-tp59568p59571.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-28 Thread Charlie
PICCORO McKAY Lenz wrote
> i have a piece of code, from a complex project, that export line by line
> to
> a file, the contents of the gridview, but not the text, only the richtext
> why are not the same?

Try using:

*linefile &= "\"" & grid[d, c].RichText & "\";"   'Not .Text*

Also you can use: -

*For d = 0 To grid.Rows.Max   'Instead of Count - 1 *

I have attached the program I used to test this. 
GUITest.tar   



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-contents-x-y-are-default-richtext-or-text-tp59568p59569.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread Charlie
bill-lancaster wrote
> I must be missing something - any ideas

Try changing the line

*Print IsDir(s) *

to

*Print IsDir(Trim(s)) *

It worked for me.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Strange-behaviour-of-File-Read-tp59467p59479.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] (Main) Form won't close - how to tell the user why

2017-06-20 Thread Charlie
adamn...@gmail.com wrote
> When they attempt to close the main form, the event loop won't terminate.
> Which is proper. However, I need to be able to tell the user to close the
> "such and such window". How can I find out which process is blocking the
> end of the event loop?

You could try hiding the Main form and only closing it when the user closes
the other forms. Have a look at the attached program.

GUITest.tar   





-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Main-Form-won-t-close-how-to-tell-the-user-why-tp59428p59432.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] reparent menu item

2017-06-18 Thread Charlie
Can you supply more detail and an example of what you are trying to do?



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/reparent-menu-item-tp59386p59397.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sharing Code Between Projects

2017-06-06 Thread Charlie
If you want to use a Module that is in another program just right click on
FMain in the Project window and click in Import.. 

 

Navigate to the Module you want and open it in your project.

Or did I misunderstand what you are looking for?





-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Sharing-Code-Between-Projects-tp59251p59254.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] rdir returns unwanted directories

2017-05-29 Thread Charlie
Tobias Boege-2 wrote
> Instead of Mid(sTemp, RInStr(sTemp, "/") + 1) you may want to use the
> appropriately named function File.Name(sTemp).

Thanks Tobi, I didn't know that one.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/rdir-returns-unwanted-directories-tp59204p59218.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] rdir returns unwanted directories

2017-05-28 Thread Charlie
I presume you just want the file name not the folder details. If so try this,
sFiles will contain just the file name: -
*Public Sub Form_Open()
Dim sFileArray As New String[]
Dim sFiles As New String[]
Dim sTemp As String
sFileArray = RDir(User.Home, "*", gb.File) 
For Each sTemp In sFileArray
  sFiles.Add(Mid(sTemp, RInStr(sTemp, "/") + 1))
Next
End*



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/rdir-returns-unwanted-directories-tp59204p59208.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Tabstrip question

2017-05-23 Thread Charlie
Hi Willy,
I have done a little testing and you can't disable the 'Tab'  but you can
disable the controls on that tab.
Using this I was unable to click on a Button on 'Tab1' *TabPanel1[1].Enabled
= False *
This will hide the tab from view *TabPanel1[1].Visible = False*




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Tabstrip-question-tp59088p59091.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] left$ vs String.left behaviour

2017-05-23 Thread Charlie
I'm not sure where 'querycolsinserts' comes in to this but the code below
works fine: - 
*Public Sub Form_Open()
Dim query1 As String = "`SHW325X`,"
Dim siCount As Short
For siCount = Len(query1) DownTo 1
Print String.Left(query1, siCount)
Next
Print String.Left(query1, -1)
Print Left$(query1, -1)
Print Left(query1, -1)
End*
The output is: -
`SHW325X`,
`SHW325X`
`SHW325X
`SHW325
`SHW32
`SHW3
`SHW
`SH
`S
`
`SHW325X`
`SHW325X`
`SHW325X`




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/left-vs-String-left-behaviour-tp59070p59083.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Possible bug (Application_Signal)

2017-05-13 Thread Charlie
I think there is a small bug relating to Application_Signal.
If the line 'Public Sub Application_Signal(x As Integer)' does not have 'x
As Integer' an error is generated in the code, see image, but the compiler
reports the 'x' as unused.
See attached program that has my system details included.
 
CLIOnly.tar   



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Possible-bug-Application-Signal-tp58971.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Charlie
Jussi Lahtinen wrote
> Anyone else using Gambas on Linux Mint 18.1 ? Everything working?
> Issues?Can you please go to Gambas IDE Menu "?" --> "System informations"
> and copy& paste the result, if you can.

I use Mint 18.1 without any problems, installed from the ppa using: -
sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update &&
sudo apt-get -y install gambas3
System Information: -
[System]
Gambas=3.9.2
OperatingSystem=Linux
Kernel=4.4.0-21-generic
Architecture=x86_64
Distribution=Linux Mint 18.1 Serena
Desktop=CINNAMON
Theme=Gtk
Language=en_GB.UTF-8
Memory=7855M
[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.803.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6
[Environment]
CINNAMON_VERSION=3.2.7
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-saVglEvzGG,guid=abe9145f73d18c95bf18421d59108efc
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=cinnamon
GDM_XSERVER_LOCATION=local
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=5810
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=1
HOME=/home/
LANG=en_GB.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
MDMSESSION=cinnamon
MDM_LANG=en_GB.UTF-8
MDM_XSERVER_LOCATION=local
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/
QT_ACCESSIBILITY=1
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=qgnomeplatform
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/2283,unix/:/tmp/.ICE-unix/2283
SHELL=/bin/bash
SSH_AGENT_PID=2353
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=8
XAUTHORITY=/home//.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=2a5d5f96ef9147c0b35535562b32d0ff-1494257404.496553-740014225
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_VTNR=8




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Editing-still-blocked-tp58923p58934.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Charlie
Have you checked the Edit menu, there is a 'Locked' feature there. This is
just a guess as 'Everything is locked' is a little vague.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Editing-still-blocked-tp58923p58924.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] transparency on rotated image

2017-05-07 Thread Charlie
Leon Davis wrote
> While I have your eyes. Is there a way to add text to an image?

Check out the good work done in 'Painting' which is in the Gambas Farm. Look
at 'Example17'
 



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/transparency-on-rotated-image-tp58901p58920.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TryIcon issues

2017-05-06 Thread Charlie
Try the following code: - 
*Public Sub form_Open()
  TrayIcon1.Visible = True
End
Public Sub Menu4_Click()
  TrayIcon1.Visible = False
  Me.Close
End*
The use of *Quit* is not recommended see 
http://gambaswiki.org/wiki/lang/quit   
I used *gb.gui* to get rid of the last error



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/TryIcon-issues-tp58908p58915.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] transparency on rotated image

2017-05-06 Thread Charlie
If you change: - 
*sImg.drawImage(sImg2)* to *sImg.PaintImage(sImg2, 0, 0)*
and
*sImg.DrawImage(sImg2, 50, 50)* to *sImg.PaintImage(sImg2, 50, 50)*
It seems to help, see the help section on PaintImage.
 



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/transparency-on-rotated-image-tp58901p58914.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help needed with drag icon

2017-04-28 Thread Charlie
Have a look at my previous efforts regarding this here 
http://gambas.8142.n7.nabble.com/Drag-Icon-td58574.html
  



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Help-needed-with-drag-icon-tp58829p58833.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] shell

2017-04-25 Thread Charlie
Can you post the 'Shell' code you are using.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/shell-tp58793p58795.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] collection of collection problem

2017-03-21 Thread Charlie
Can you simplify the code so we can run it or upload the program.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/collection-of-collection-problem-tp58654p58659.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Mouse move ...

2017-03-21 Thread Charlie
Riccardo wrote
> Is there a way to attach (or modify) the mouse move event to an object
> such that it is activated without the left mouse button being pressed? 

I interpret this to mean that an object (e.g. a panel) should know if the
mouse has 'Entered' or 'Left' it.
Have a look at the attached progran.  MouseOver.tar
  
 
  



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Mouse-move-tp58655p58658.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Drag Icon

2017-03-07 Thread Charlie
There seems to be an issue depending on which Component you use: -
gb.gui & gb.gtk3 only give a default 'drag.icon'
gb.qt4 works as desired but only on the 2nd and subsequent 'drags'
 
This is what I managed to get working: -
take21.tar   
Interestingly Shutter will only capture the image when using gb.qt4
(I don't have QT5 so there may be more differences!)



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Drag-Icon-tp58574p58575.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Media playback

2017-03-05 Thread Charlie
Thanks Fabien and bgWilly, 
I was looking at this on behalf of someone else. I have discovered that the
ToOpPy Linux 2.2 (the latest) is based on Ubuntu 12.04 which came with
Gambas2! None of the 'gstreamer-1' software, needed for Gambas 3.9.x, is
available from the ToOpPy repositories.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Media-playback-tp58542p58571.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] The Gambas Farm is 'Down'

2017-03-04 Thread Charlie
Excellent - Thanks.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/The-Gambas-Farm-is-Down-tp58567p58569.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] The Gambas Farm is 'Down'

2017-03-04 Thread Charlie
Is it just me or is there a problem with the Farm?
 



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/The-Gambas-Farm-is-Down-tp58567.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Media playback

2017-03-02 Thread Charlie
Can nobody help me?




-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Media-playback-tp58542p58563.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] whats new since rev. 8088

2017-02-24 Thread Charlie Reinl
Salut Benoît,

made an update last Wednwesday (22.02) from 8088 to 8102.
Now my program fails :
FCRMMain.?.0: #2: Cannot load class 'DBTableView': Loading has already
failed
FCRMMain.?.0 FCRMMain.?.0 Main.?.0 

So can you tell me whats new since rev. 8088 

This is the line where it happend.

tbvAddCustInfo = New DBTableView(TabAddCust, "tbvAddCustInfo",
"CUSTINFO") As "tbvAddCustInfo"

No, I can not send the project, but can try to make an example.

But perhaps you know what's wrong.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Media playback

2017-02-23 Thread Charlie
Can anybody tell me what dependencies are needed to play a video? The program
*VerySimpleVideoPlayer* (see the Gambas Farm) works perfectly in Ubuntu &
Mint but not in ToOpPy Linux which is based on Puppy Linux.
Any help appreciated. 



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Media-playback-tp58542.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Form Top bar

2017-02-16 Thread Charlie
On the Form properties set Border to False.



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Form-Top-bar-tp58480p58481.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sort multidimensional array?

2017-02-09 Thread Charlie
I played with this problem and came up with the attached.
Hope it helps
sort_second_array.tar
  



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58426.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] dynamic created Menus

2017-02-07 Thread Charlie
Karl seems happy now. I have modified the program for you Gianluigi, does
this do what you want?
 
MenuExample.tar
  



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/dynamic-created-Menus-tp58398p58415.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] dynamic created Menus

2017-02-06 Thread Charlie
Have a look at the code attached, the menu and menu items are all created in
code. I think this will do what you need.
 
MenuExample.tar
  
Hope it helps. 



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/dynamic-created-Menus-tp58398p58401.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] dynamic created Menus

2017-02-06 Thread Charlie Reinl
Salut,

how can I use dynamic created Menus, when they are made outside the
Form.
I expanded an example from Gianluigi to show what I want.
The problem is, the Click event is not fired, if the menu is not created
in the forms class.




MenuGroupTag-0.0.2.tar.gz
Description: application/compressed-tar
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how-to execute file or bash script packaged inside gambas

2017-01-29 Thread Charlie
Here is a little program that copies a small 'sh' file from the program's
folder and runs it.
Hope it helps.
runscript.tar   



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/how-to-execute-file-or-bash-script-packaged-inside-gambas-tp20046p58351.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Timer

2017-01-27 Thread Charlie
Hi j h-7,
I have created what I think you are looking for, have a look at the attached
program.
Stopwatch.tar   
 



-
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/Timer-tp58336p58340.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Console Window

2017-01-08 Thread Charlie
*All I have to do is click the "Dock" button whose Tooltip says "Undock
console" if it's docked or not.*
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Console-Window-tp58194p58195.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to Chr$(VARIABLE) as Chr$()

2016-12-31 Thread Charlie
Try changing the following line.
*var = Val("" & "80")*




--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-Chr-VARIABLE-as-Chr-H80-tp58096p58109.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installing GAMBAS on MINT

2016-12-28 Thread Charlie
Try pressing F4 when looking at the form. Mint comes with an old version of
Gambas. If you want to keep up to date with the latest stable release run
the following in Terminal. It will add the Gambas repository and update
everything for you.
*sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update
&& sudo apt-get update*




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Installing-GAMBAS-on-MINT-tp58065p58066.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Get Hex from Char using some Code Page

2016-12-27 Thread Charlie
Have a look at the attached program. It will work with the first 48
characters of Code page 866
Hex866.tar   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Get-Hex-from-Char-using-some-Code-Page-tp58055p58064.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Beware to revision #7983!

2016-12-19 Thread Charlie Reinl
Am Freitag, den 18.11.2016, 16:05 +0100 schrieb Benoît Minisini:
> Hi,
> 
> In revision #7983, I fixed a bug in date / string conversion, so that 
> now, as it is logically expected:
> 
> CDate(CStr(CDate(2))) = CDate(2)
> 
> BEFORE:
> 
> $ gbx3 -e 'CStr(CDate(2))'
> 01/01/-4801 23:00:00
> $ gbx3 -e 'CStr(CDate(CStr(CDate(2'
> 00/00/ 23:00:00
> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)'
> Type mismatch: wanted Date, got String instead
> 
> AFTER:
> 
> $ gbx3 -e 'CStr(CDate(2))'
> 01/02/-4801
> $ gbx3 -e 'CStr(CDate(CStr(CDate(2'
> 01/02/-4801
> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)'
> 01/01/-4801 23:00:00
> 
> (Note: The last line is displayed as a local date/time.)
> 
> It was not the case before, because the conversion were internally done 
> by taking the timezone into account, even if date/time values are 
> internally stored in UTC.
> 
> Now CDate() on a string always interpret it as an UTC date, and CStr() 
> on a date displays its UTC value.
> 
> Consequently, check your code!
> 
> CStr() and CDate() are not supposed to use a local time representation. 
> On the contrary. This is the job of Val(), Str() and Format().
> 
> If you wrote code that made that assumption, you did wrong.
> 
> BEWARE! BEWARE! BEWARE!
> 

Salut Benoît and Everyone,

I used for many moons this: format(Date("10/01/2016")," ") 
and I didn't felt me concerned by that mail..but:

format(Date("10/01/2016")," ") 
gives September 2016 now, gave Oktober 2016 before, 
because Date("10/01/2016") returns 30.09.2016 00:00:00 now (at leased
here in Germany). But that is one day lost.
I checked that now on Gambas=3.9.90 r8012 but was also on Revision: 8004


-- 
Amicalement
Charlie


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Setting focus to form.

2016-11-29 Thread Charlie
Here is my contribution to this solution. This code shows a 'Splash' screen
while doing a little work then closes the 'Splash' and returns the focus to
FMain.
Hope it helps.
FMainFocus.tar   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Setting-focus-to-form-tp57909p57920.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SimpleEval - Error

2016-11-28 Thread Charlie
Hi Fabien,
is there any progress on this please.
Thanks,
Charlie



--
View this message in context: 
http://gambas.8142.n7.nabble.com/SimpleEval-Error-tp57833p57900.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SimpleEval - Error

2016-11-22 Thread Charlie
I am sorry but I do not understand your explanation. I obviously don't have
the in depth knowledge of Gambas that you do. Can you please be a little
more explicit. Thanks.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/SimpleEval-Error-tp57833p57846.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] SimpleEval - Error

2016-11-19 Thread Charlie
I am interested in SimpleEval 0.2.0 which is on the 'Farm' but I get this
error: - 
http://gambas.8142.n7.nabble.com/file/n57833/Eval1.png;
border="0"/>    
If I try to run the program another error appears: - 
 
http://www.cogier.com/gambas/Eval2.png
  
Any advice will be appreciated.
System details below: - 
GambasInfo.txt   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/SimpleEval-Error-tp57833.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] FileChooser select bug

2016-11-09 Thread Charlie
Thanks Benoît that is useful information.




--
View this message in context: 
http://gambas.8142.n7.nabble.com/FileChooser-select-bug-tp57735p57740.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] FileChooser select bug

2016-11-08 Thread Charlie
When I place a *FileChooser* on a form and then deselect it, I am unable to
reselect the *FileChooser* with the mouse, I can click on it repeatedly but
nothing happens. I have to go to *Hierarchy* and select it there. I have
noticed this also happens on my Rapberry Pi 3 with Gambas 3.8.4 but
repeatedly clicking will eventually select it.

[System]
Gambas=3.9.1
OperatingSystem=Linux
Kernel=4.4.0-21-generic
Architecture=x86_64
Distribution=Linux Mint 18 Sarah
Desktop=CINNAMON
Theme=Gtk
Language=en_GB.UTF-8
Memory=7855M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.802.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CINNAMON_VERSION=3.0.7
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ED2ArfRFez,guid=011505a6ee8e618dbeecf4b15821daaf
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=cinnamon
GDM_XSERVER_LOCATION=local
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=4383
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=1
HOME=/home/
LANG=en_GB.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
MDMSESSION=cinnamon
MDM_LANG=en_GB.UTF-8
MDM_XSERVER_LOCATION=local
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/
QT_ACCESSIBILITY=1
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1953,unix/:/tmp/.ICE-unix/1953
SHELL=/bin/bash
SSH_AGENT_PID=2022
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=8
XAUTHORITY=/home//.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=2a5d5f96ef9147c0b35535562b32d0ff-1478613679.475530-854405882
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_VTNR=8



--
View this message in context: 
http://gambas.8142.n7.nabble.com/FileChooser-select-bug-tp57735.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] App idle with long loops

2016-10-12 Thread Charlie
Hi Dim,
I thought that as you are using 'wget' the easy way to keep control was to
use a BASH script which would do the job in the background. I have written a
bit of code that creates the BASH script and runs it in the background,
leaving the main program still responsive. Hope it helps.
WgetFiles.tar   
Check out  Gambas.One   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/App-idle-with-long-loops-tp57494p57539.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Charlie Reinl
Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carrión:
> Is there any example of task fork use? I have a proyect who sending massive
> e-mails to our customers and I guess that task can be a good solution...
> 
> Regards
> 
> 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis <demosthen...@gmail.com>:
> 
> > On 8/10/2016 19:09 μμ, Tobias Boege wrote:
> > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote:
> > >> Hello,
> > >>
> > >> i have very long (time consuming) For loops and my app is frozen until
> > >> loop is finished.
> > >>
> > >> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To
> > >> sOUTPUT
> > >>
> > >> 'get urls
> > >> For i = 0 To iDepth
> > >>   wgetURLS(i * 10)
> > >> Next
> > >>
> > >> Public Sub wgetURLS(iStart As Integer)
> > >> .
> > >>
> > >> Shell("wgetURLS.sh") To sOUTPUT
> > >>
> > >> .
> > >>
> > >> --
> > >>
> > >> Is there possible to set the gui idle and the same time run For...loops?
> > >>
> > > If you only want to refresh the GUI (e.g. if your For loops update a
> > > ProgressBar on your form and you want to update the value of that bar
> > > during the loop), then Wait [1] is sufficient.
> > >
> > > If you want the GUI to be fully operatable while your loops run in the
> > > background, you have to use a background Task [2]. As Gambas is single-
> > > threaded, Tasks are implemented as external processes which execute one
> > > of your classes. This limits the things you can do with Tasks (you cannot
> > > directly modify the main program, for example, but have to send data and
> > > status reports through a pipe from your Task to the main process and
> > > interpret them there). However, if all you want is loading some files via
> > > wget, that should not be a problem.
> > >
> > > Of course, there is also the gb.net.curl component which can download
> > files
> > > asynchronously. If you can use that (which depends on what you want to
> > do),
> > > you should.
> > >
> > > And as a fourth option, looking further into your code: if you want to
> > > execute shell scripts in a For loop, then don't use the Shell-To syntax
> > > but create a Process object instead and accumulate its output in Read
> > > events. The event loop will take care of everything and the GUI will be
> > > usable without any extra effort on your side.
> > >
> > > Finding the best solution depends, who would have thought, on what you
> > want
> > > to do *specifically*. Tasks are the most general and most cumbersome
> > option.
> > >
> > > Regards,
> > > Tobi
> > >
> > > [1] http://gambaswiki.org/wiki/lang/wait
> > > [2] http://gambaswiki.org/wiki/comp/gb/task
> > >
> > Thanks very much for the details.
> >
> > Regards,
> >
> > Dim
> >
> >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

Salut

I once found this one :
http://gambas.8142.n7.nabble.com/attachment/17635/0/TaskTest.zip 

It still exists, but don't remember if it worked.


-- 
Amicalement
Charlie


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Load an Image from Data

2016-10-05 Thread Charlie
Interesting. I have always used: -
*PictureBox1.Picture = Picture.load("Test.png")*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Load-an-Image-from-Data-tp57467p57474.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Menu has no Click() event

2016-10-03 Thread Charlie
Your code works fine in Linux Mint 18 Cinnamon 64bit
http://www.cogier.com/gambas/TestG.png
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-tp57442p57457.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambasdoc.org up for sale?

2016-10-03 Thread Charlie
In Mint/Ubuntu etc. simply run the following line to install the latest
stable release of Gambas: -
*/sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update
&& sudo apt-get -y install gambas3/*
This way you will stay up to date with any later stable releases.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gambasdoc-org-up-for-sale-tp57430p57456.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ProgressBar code example

2016-09-25 Thread Charlie
Have a look at the attached and see if that helps, if not check us out at 
Gambas.one   
Take2.tar   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/ProgressBar-code-example-tp57393p57405.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Softwarefarm / Libraries etc.

2016-09-16 Thread Charlie Reinl
Salut Benoît,

problem : I have a project using a gambas written library. How can I
install/set that on Softwarefarm?
*.gambas on /Data (project root) are not taken into account.

While that sudo function is not necessarily needed, how can I load it
per (hand) code, if present.
-- 
Amicalement
Charlie


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Christmas gift

2016-09-12 Thread Charlie Reinl

Am Montag, den 12.09.2016, 14:27 +0200 schrieb Benoît Minisini:
> Le 12/09/2016 à 12:14, Charlie Reinl a écrit :
> > Salut,
> >
> > since a few days I worked with the new 3.9.x IDE version.
> > And I missed the old console! Because I often used it to store
> > temporarily some lines code.
> > So my wish, not necessarily for Christmas, a writing pad, just beside
> > the console.
> >
> 
> The console was never intented to be used for that!
> 
> Why don't you just create a text file in the "Project" folder and use it 
> as writing pad?
> 

While I posted this afternoon only to Benoît, here the answer again for the 
list.

Salut Benoît,

because the old console was always on and it was handy like that. And
now I'm used to it!  
Have you never driven a nail with an empty bottle of red wine?

-- 
Amicalement
Charlie



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Christmas gift

2016-09-12 Thread Charlie Reinl
Salut,

since a few days I worked with the new 3.9.x IDE version.
And I missed the old console! Because I often used it to store
temporarily some lines code. 
So my wish, not necessarily for Christmas, a writing pad, just beside
the console. 

-- 
Amicalement
Charlie


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Positioning Image and Text in a Button

2016-08-23 Thread Charlie
You can have the "Buttons" I created in a group and this will work OK.
Check out the attached based on my last example, now 30 lines of code.
SimpleButton.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Positioning-Image-and-Text-in-a-Button-tp56931p57001.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Positioning Image and Text in a Button

2016-08-20 Thread Charlie
I thought I would add to this debate. The examples above work just fine but
they seem very complicated to me.
I have taken your picture, put it in a PictureBox and in 8 lines of code
have a button you can click.
SimpleButton.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Positioning-Image-and-Text-in-a-Button-tp56931p56949.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to add subitems to a ListView?

2016-08-04 Thread Charlie
Hi Gianluigi - Very good, you certainly know your way around the 'Paint'
command.




--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-tp56846p56855.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to add subitems to a ListView?

2016-08-02 Thread Charlie
See if the attached works for you. I have used a Gridview to get the result I
think you are looking for.
MultipleListView.tar
  
 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-tp56846p56849.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Is this a bug

2016-06-30 Thread Charlie
I have tried this using gb.gui/gb.gtk3/gb.qt4 and it fails, is this a bug?
Public Sub Button1_Click()
  SpinBox1.Enabled = False 'O.K.
  SpinBar1.Enabled = False 'Doesn't work
End



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Is-this-a-bug-tp56630.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Component problems

2016-05-23 Thread Charlie
I this case I think the problem starts with 'Me'. Is this because there is no
SpinLabel.Form which would be 'Me'?
I've messed about with this and if you change 'Me' to 'FMain' things change.
Hope that helps.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Component-problems-tp56386p56390.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MessageBox problem

2016-05-07 Thread Charlie
Hi Gianluigi,

That's an interesting twist and it does solve the problem, thank you.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154p56240.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MessageBox problem

2016-05-06 Thread Charlie
Yes I am aware of this but as I said "The MessageBox gives focus to the first
button created so it's a good idea to use the first button as 'Cancel' in
case a user presses [Enter]." So in your example if you reverse the 'Yes'
and 'No' (Cancel) buttons so that if the user presses [Enter] the 'No'
button if pressed the window is not closed then the problem reappears if you
click on the 'X'.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154p56234.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] QT5 Configuration on Ubuntu 16.04

2016-05-06 Thread Charlie
Try the following command.
*sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update
&& sudo apt-get -y install gambas3*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/QT5-Configuration-on-Ubuntu-16-04-tp56232p56233.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas=3.8.90 r7754

2016-05-05 Thread Charlie Reinl
Am Donnerstag, den 05.05.2016, 14:48 +0200 schrieb Benoît Minisini:
> Le 05/05/2016 14:44, Charlie Reinl a écrit :
> > Am Donnerstag, den 05.05.2016, 11:54 +0200 schrieb Charlie Reinl:
> >> Salut Benoît,
> >>
> >> Gambas=3.8.90 r7754 the debug console is broken.
> >> The ? line do not work any more. Entries + CR makes a empty line in the
> >> console.
> >> The ? line you can make entries only by copy/paste.
> >>
> >>
> >
> > Salut,
> >
> > now it work again.
> >
> > But I found a way to crash the IDE.
> > Go during debug to the console and press Ctrl+Shift+C.
> > My mistake when I wrote Ctrl+C.in bug-Report
> >
> 
> It sends the stop signal (^C) to the debugged program, but the IDE does 
> not crash. Can you give more details?
> 
Salut Benoît,

I can do that with every (I tried 3 ) gambas3 project.
Start it with F8, go to the console, change into the upper part (not in
the ? line) and press Ctrl+Shift+C.

Your right, the IDE do not crash, but the CRASH REPORT raise up with a
2, and with OK you can continue.


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas=3.8.90 r7754

2016-05-05 Thread Charlie Reinl
Am Donnerstag, den 05.05.2016, 11:54 +0200 schrieb Charlie Reinl:
> Salut Benoît,
> 
> Gambas=3.8.90 r7754 the debug console is broken.
> The ? line do not work any more. Entries + CR makes a empty line in the
> console.
> The ? line you can make entries only by copy/paste.
> 
> 

Salut,

now it work again.

But I found a way to crash the IDE.
Go during debug to the console and press Ctrl+Shift+C.
My mistake when I wrote Ctrl+C.in bug-Report


-- 
Amicalement
Charlie


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas=3.8.90 r7754

2016-05-05 Thread Charlie Reinl
Salut Benoît,

Gambas=3.8.90 r7754 the debug console is broken.
The ? line do not work any more. Entries + CR makes a empty line in the
console.
The ? line you can make entries only by copy/paste.


-- 
Amicalement
Charlie


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] MessageBox problem

2016-05-04 Thread Charlie
The MessageBox gives focus to the first button created so it's a good idea to
use the first button as 'Cancel' in case a user presses [Enter].
If the user decides he does not want the MessageBox at all and presses the
'X' to close it the message box returns the number of the last button which
in the case of a MessageBox with 2 button 'Cancel' & 'Do It' pressing the
'X' will cause the 'Do It' routine to be activated. See example attached. is
this correct?
MessageBoxTest.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MessageBox-problem-tp56154.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-03 Thread Charlie
I have now installed Gambas 3.8.4 from the ppa on 16.04 and the Farm now
works as expected
Thanks to all your efforts.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56147.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-02 Thread Charlie
Hi Gianluigi,
I followed your instructions to the letter and all went well, I saw no
errors. I rebooted the computer. The only problem is that Ubuntu says that
Gambas is not installed!
The Desktop had 2 log files on it which are below.
Make_Inst3-8.log
<http://gambas.8142.n7.nabble.com/file/n56126/Make_Inst3-8.log>  
R_conf3-8.log <http://gambas.8142.n7.nabble.com/file/n56126/R_conf3-8.log>  
Did I do something wrong?
Thanks,
Charlie



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56126.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-02 Thread Charlie
I have reinstalled Ubuntu 16.04, just to make sure. I then installed Gambas3
with the following command
*sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update
&& sudo apt-get -y install gambas3*
I started Gambas from the command line and saw the following: -
gambas1.png   
I tried again to load software from the Gambas Farm but unfortunately I
received exactly the same error message as before
I am not that concerned about this not working in Ubuntu as I intend to
install Linux Mint 18 when it is released in about a month's time which is
based on 16.04
If I install from a '.tar' is this likely to solve this problem?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56124.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-01 Thread Charlie
Are you able to add a 'xenial' repository to the Gambas ppa so that we can
download the stable version that will work from there?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56114.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt5

2016-05-01 Thread Charlie
Thanks for the reply Benoît. Ubuntu 16.04 has Gambas 3.8.4 which I also use
on Linux Mint 17.3 Cinnamon.
Here is the Gambas Farm error I get.
gambas1.png   
Here are the 'System information' details for both operating systems.
mint17.txt   
ubuntu16.txt   
Note that for future editions the English is 'System information' not
'System information*s*'.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/qt5-tp56109p56111.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] qt5

2016-05-01 Thread Charlie
I have been playing with Ubuntu 16.04 and a lot of the Gambas Farm programs
wont install as they use qt4 (gb.qt4 and gb.qt4.ext), Ubuntu uses qt5. If I
install the necessary libraries Synaptic uninstalls the IDE!
 *buntu 14.04/Mint 17* etc are supported until 2019 and have qt4. Has
anybody got any ideas on the best way to get around this?



--
View this message in context: http://gambas.8142.n7.nabble.com/qt5-tp56109.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ListEditor Icons

2016-04-19 Thread Charlie
/1) The ListEditor has four icons. If I don't like them, is there a chance to
change them?/
I don't know how to do this, or even if it can be done.
/2) And how is the Insert/Add button handled? Is there an event?/ 
When the list is displayed you can click on an item and then click the *Add*
button.
/3) I tried ListEditor1.List.Add("Hello") but it doesn't appear in the
list/. 
You need an array string e.g. 
Dim sString as String[] = ["Hello", "world"]
ListEditor1.List = sString
Have a look at the attached example: -
ListEditor_example.tar
  



--
View this message in context: 
http://gambas.8142.n7.nabble.com/ListEditor-Icons-tp56001p56002.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to replace chr$(13) from a text file

2016-04-11 Thread Charlie
Not sure why but if you add Chr(13) to the TextArea and then save the output
as a file then look at the Hex in the file the Chr(13) is '0A' which is
Chr(10).
The code below works.
*Public Mglobal As String
Public Sub Form_Open() 
TextArea1.text = "Hello" & Chr(13) & "World" & Chr(13) & "Hello " & Chr(13)
& "World" & Chr(13)
File.Save("~/delete.txt", TextArea1.text) 'Have a look at this file in a Hex
viewer
End 
Public Sub Button1_Click()
Mglobal = TextArea1.Text
Mglobal = Replace$(TextArea1.Text, Chr$(10), "|") 
TextArea1.text = Mglobal
End*



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-replace-chr-13-from-a-text-file-tp55908p55910.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301=/ca-pub-7940484522588532
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MediaView1.URL cannot set status

2016-03-10 Thread Charlie
Works for me as well.
 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MediaView1-URL-cannot-set-status-tp55626p55649.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Different Foreground Color of a string in TableView.Cell

2016-03-05 Thread Charlie
This works for me: -
Public Sub Form_Open()
TableView1.Rows.Count = 2
TableView1.Columns.Count = 2
With TableView1[0, 0]
  .Background = Color.Yellow
  .Foreground = Color.Red
  .Text = "Hello"
  .Alignment = Align.Center
  .Font.bold = True
End With
End



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Different-Foreground-Color-of-a-string-in-TableView-Cell-tp55597p55598.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] "Result is not available" error with ODBC connection and DataSource

2016-03-02 Thread Charlie Reinl
Am Mittwoch, den 02.03.2016, 21:03 +0100 schrieb Markus Schatten:
> Dear friends,
> 
> I'm trying to do a simple thing, connect a DataSource to a ODBC
> connection (unixODBC). The DSN points to a simple sqlite3 database
> which has a table test(a integer, b varchar(10)) in it. The unixODBC
> seems to be working fine, since I can connect to the database using
> isql and see all defined tables and data. The problem is when I try to
> do it with Gambas, when setting the Table attribute of DataSource I
> get the error:
> 
> Result is not available
> 
> The connection seems to load the schema of the table (I can see a and
> b in the header of the DataBrowser) but not the data.
> 
> Here is what I do:
> 
> ' Gambas class file
> 
> Public $con As New Connection
> 
> Public Sub _new()
>   $con.type = "odbc"
>   $con.Host = "sqlite" 'name of the DSN
>   $con.Login = "mylogin"
>   $con.Password = "mypass"
>   $con.port = ""
>   $con.name = ""
>   $con.Open
>   DataSource1.Connection = $con
>   Try DataSource1.Table = "test"
>   If Error Then
> Print Error.Text
> Print Error.Where
> Print Error.Backtrace
> Print Error.Class
> Print Error.Code
>   Endif
> 
> End
> 
> The fun part is that the same code works fine with a PostgreSQL
> database over the ODBC connection (no error is risen, both schema and
> data are loaded fine into the DataBrowser). I'm using the following
> entry in /etc/odbc.ini :
> 
> [sqlite]
> Description=My SQLite database
> Driver=SQLite3
> Database=/home/markus/test.sqlite3
> UserName = mylogin
> Password = mypass
> 
> What am I doing wrong?
> 
> All the best,
> 
> M.

Salut Markus,

does your sqlite3 tables have primary keys ?
-- 
Amicalement
Charlie


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fwd: Re: Feature request for gambas load screen

2016-02-26 Thread Charlie Reinl
Am Freitag, den 26.02.2016, 18:46 +1100 schrieb rterry:
> 
> 
> 
> 
> 
> Sent from my Samsung GALAXY S5
> 
>  Original message 
> From: Rolf-Werner Eilert <eilert-sprac...@t-online.de> 
> Date: 26/02/2016  18:42  (GMT+10:00) 
> To: gambas-user@lists.sourceforge.net 
> Subject: Re: [Gambas-user] Feature request for gambas load screen 
> 
> 
> Am 26.02.2016 04:35, schrieb richard terry:
> > On 26/02/16 10:07, Charlie Reinl wrote:
> >> Am Donnerstag, den 25.02.2016, 22:54 +0100 schrieb Benoît Minisini:
> >>> Le 25/02/2016 22:42, Charlie Reinl a écrit :
> >>>> Am Freitag, den 26.02.2016, 07:55 +1100 schrieb richard terry:
> >>>>> Hi benoit,
> >>>>>
> >>>>> If there is another way to do this please let me know.
> >>>>>
> >>>>> When I load gambas the boot screen has lots of 'old' projects on it. As
> >>>>> I continue to develop my software I sometimes run in parallel different
> >>>>> versions, they will com up looking the same except different database
> >>>>> version and svn version numbers, it all get very confusing, especially
> >>>>> if having to scroll down through other recently loaded gambas projects
> >>>>> eg downloaded from the software farm.
> >>>>>
> >>>>> Is there any way one can currently delete the unwanted ones, or could
> >>>>> you on the right mouse popup menu put a Delete Project from list option.
> >>>>>
> >>>>> Regards
> >>>>>
> >>>>> richard
> >>>> Salut Richard,
> >>>>
> >>>> cleaning up the project list, that was realised at Revision: 7589 but
> >>>> now on Revision: 7610 I see it got lost!
> >>>>
> >>> In '/trunk' IDE, you have a little delete icon visible when you hover
> >>> the project box: click on it to remove the project from the recent list.
> >>>
> >>> Regards,
> >> Salut Benoît,
> >>
> >> OH, yes indeed, oh thats the smarter solution! But not easy to find out.
> >> Thank you for telling.
> > I'm clueless, can't see this, could someone send me a screen dump
> > showing where it is to rte...@internode.on.net (thanks)
> >
> > richard
> >
> 
> It's on the trunk version only. I guess you use the latest official one 
> like me? It's not there yet.
> 
> Regards
> Rolf
> Yes use mint 3.8.4 so obviously not there.  

Salut,

and nothing (except sorting) on right mouse click ?

Oh, i see 3.8.4  was released Dec 21 2015.
But Revision: 7589 came on Jan 27 2016.
So you have to wait or update.

-- 
Amicalement
Charlie


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature request for gambas load screen

2016-02-25 Thread Charlie Reinl
Am Donnerstag, den 25.02.2016, 22:54 +0100 schrieb Benoît Minisini:
> Le 25/02/2016 22:42, Charlie Reinl a écrit :
> > Am Freitag, den 26.02.2016, 07:55 +1100 schrieb richard terry:
> >> Hi benoit,
> >>
> >> If there is another way to do this please let me know.
> >>
> >> When I load gambas the boot screen has lots of 'old' projects on it. As
> >> I continue to develop my software I sometimes run in parallel different
> >> versions, they will com up looking the same except different database
> >> version and svn version numbers, it all get very confusing, especially
> >> if having to scroll down through other recently loaded gambas projects
> >> eg downloaded from the software farm.
> >>
> >> Is there any way one can currently delete the unwanted ones, or could
> >> you on the right mouse popup menu put a Delete Project from list option.
> >>
> >> Regards
> >>
> >> richard
> >
> > Salut Richard,
> >
> > cleaning up the project list, that was realised at Revision: 7589 but
> > now on Revision: 7610 I see it got lost!
> >
> 
> In '/trunk' IDE, you have a little delete icon visible when you hover 
> the project box: click on it to remove the project from the recent list.
> 
> Regards,

Salut Benoît,

OH, yes indeed, oh thats the smarter solution! But not easy to find out.
Thank you for telling. 
-- 
Amicalement
Charlie


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] An heretical suggestion for the IDE toolbar

2016-02-25 Thread Charlie
Simply press [F12] to swap between code and Form



--
View this message in context: 
http://gambas.8142.n7.nabble.com/An-heretical-suggestion-for-the-IDE-toolbar-tp55547p3.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to automatically select all text when first entering editable TableView cell?

2016-02-25 Thread Charlie
Sorry Fabien but your code does not work for me (GTK or QT4), The next
selected cell's text is not 'selected'
Have a look at the video attached.
cinnamon-20160225-1.webm
   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/How-to-automatically-select-all-text-when-first-entering-editable-TableView-cell-tp55537p2.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   4   5   6   7   8   >