[Gambas-user] Help Taskbar(form_panel)

2014-04-28 Thread herberth guzman
Hi, I'm making a desktop in Gambas3 called Innova (everything was possible thanks to the help of Fabien Bodard) some widget (w_desktop, w_date, w_clock, w_calc, w_eject, w_PcInfo), Etc. I'm making a panel for my desktop and I need to know how to set a form type panel having top with the windows o

Re: [Gambas-user] gambas 3.5.3 update

2014-04-28 Thread Matti
If exiftools is not in your repositories, you can get it here: http://www.sno.phy.queensu.ca/~phil/exiftool/install.html#Unix Am 28.04.2014 20:49, schrieb Larry Moore: > Using ... > sudo add-apt-repository ppa:nemh/gambas3 > sudo apt-get update > sudo apt-get install gambas3 > ​ > ... I was​ able

[Gambas-user] gambas 3.5.3 update

2014-04-28 Thread Larry Moore
Using ... sudo add-apt-repository ppa:nemh/gambas3 sudo apt-get update sudo apt-get install gambas3 ​ ... I was​ able to update the 3.1.1 that came with the unbuntu 14.04 upgrade. However there was one of the example programs that could not run due to needing "exiftool". Where and how do I get this

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread Stephen
Hi; Were you asking me or Ru Vuott? On 04/28/2014 08:27 AM, abbat81 wrote: > Thank you, and > how can I show some of forms. > I have a name of form "form2". > So, how can I call that form2 in your example? > Thanks > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/

Re: [Gambas-user] Form.Show by name as string of form

2014-04-28 Thread Jussi Lahtinen
Private hMyForms As New Collection() hMyForms.Add(Form_name_1,"Form_name_1") hMyForms.Add(Form_name_2,"Form_name_2") hMyForms.Add(Form_name_3,"Form_name_3") ... hMyForms["Form_name_1"].Show() Jussi On Mon, Apr 28, 2014 at 10:54 AM, abbat81 wrote: > Hi, > > I have a four forms in my proje

Re: [Gambas-user] String Functions give different values at cyrillic / not-cyrillic

2014-04-28 Thread Tobias Boege
On Mon, 28 Apr 2014, abbat81 wrote: > Print Len("ii") ' not cyrillic > Print Len("") ' cyrillic > > >10 > >20 > > How can I get correct value with cyrillic symbols? > Thanks > Use String.Len() which can deal with UTF-8 characters. -- "There's an old saying: Don't c

[Gambas-user] String Functions give different values at cyrillic / not-cyrillic

2014-04-28 Thread abbat81
Print Len("ii") ' not cyrillic Print Len("іі") ' cyrillic >10 >20 How can I get correct value with cyrillic symbols? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/String-Functions-give-different-values-at-cyrillic-not-cyrillic-tp46282.html Sent from

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread Ru Vuott
If you're referring to my example, you can call, having an array, you can call an its element via usual procedures: arrayForm[index].Show() bye vuott Lun 28/4/14, abbat81 ha scritto: Oggetto: Re: [Gambas-user] R: Form.Show by name as string

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread abbat81
Thank you, and how can I show some of forms. I have a name of form "form2". So, how can I call that form2 in your example? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Show-by-name-as-string-of-form-tp46270p46278.html Sent from the gambas-user mailing list archi

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread Stephen
As many instances of Form_Name_2 can be created as you want/need. For example; If we create a single form application (I'll call it FormMain) with only one button on the form (Button1) and the click event of button one looks like this; PUBLIC SUB Button1_Click() DIM hFormMain AS NEW FormMai

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread Ru Vuott
Hi, for example we have Main Form and 2 secondary Form, called: "Form1" and Form2". To open them at same time: Public Sub Form_Open() Dim f As New Form[] Dim f2 As Form f.Add(Form1) f.Add(Form2) For Each f2 In f f2.Show() Next End Bye ---

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread abbat81
Hi Stephen My forms already exists, so I can't use "As New Form_Name_2" I need to use name of forms -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Show-by-name-as-string-of-form-tp46270p46275.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] Downgraded to Gambas 3.5.2 with Ubuntu LTS 14:04

2014-04-28 Thread Johny Provoost
Yes it works with vuott's tips. No need to clean version 3.5.2. Don't know why it didn't worked when I installed Ubuntu 14.04. I added the ppa:nemh/gambas3, did a refresh of the sources, and installed gambas3 through synaptic. Johny op 27-04-14 23:57, ISS Boss schreef: If I

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread Stephen
This will work, it might not be exactly what you had in mind but then this isn't BASIC of old :) Public Sub Button1_Click() ' the 'h' prefix is just my personal style... and is not ' requirement... use whatever you like to differentiate ' the variable from the actual form.

Re: [Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread abbat81
Hi Vuott, can you help me with a little sample? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Form-Show-by-name-as-string-of-form-tp46270p46272.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] R: Form.Show by name as string of form

2014-04-28 Thread Ru Vuott
...I would use a Form[ ] variable array, not string. bye vuott Lun 28/4/14, abbat81 ha scritto: Oggetto: [Gambas-user] Form.Show by name as string of form A: gambas-user@lists.sourceforge.net Data: Lunedì 28 Aprile 2014, 09:54 Hi, I have a

[Gambas-user] Form.Show by name as string of form

2014-04-28 Thread abbat81
Hi, I have a four forms in my project: Form_name_1 Form_name_2 Form_name_3 Form_name_4 Form_name_5 How can I show a form by name of a form by string. Public Sub Button1_Click() Dim Form_name As String = "Form_name_2" Form_name.Show End -- View this message in context: http://gambas