Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread user
Good morning to all, Yes that would be nice and would help to thinking while reading similar methods in other controls. On Fri, 2010-10-15 at 23:21 +0200, Matti wrote: > This is not a problem with the docs. > You expected a similar method that the programmer didn't have written. > Maybe he should

Re: [Gambas-user] Error after project is compiled

2010-10-15 Thread Jason Hackney
I'm going to have to get back with you on this. That machine is having other problems as well as this--I am considering a full re-install of the OS. By the way, all of my other projects on that machine compile to an executable and run without a hitch. So, I'm not sure why it's just this one. Juss

Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread Benoît Minisini
> This is not a problem with the docs. > You expected a similar method that the programmer didn't have written. > Maybe he should better have wirtten a method like ListView1.Unselect? > Yes. The selection interface between ListView/ColumnView/Treeview should have the same methods as as the GridV

Re: [Gambas-user] Form transparent

2010-10-15 Thread Benoît Minisini
> Hi everyone, > > I knew that we can make a transparent form with Mask & Picture properties. > But it remove the transparent part of the form, so all controls (part) > placed on this area are hidden & we can click through. > I want a transparent form to see the back of the form & display some > c

[Gambas-user] Form transparent

2010-10-15 Thread Phạm Quang Dương
Hi everyone, I knew that we can make a transparent form with Mask & Picture properties. But it remove the transparent part of the form, so all controls (part) placed on this area are hidden & we can click through. I want a transparent form to see the back of the form & display some controls & dete

Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread Matti
This is not a problem with the docs. You expected a similar method that the programmer didn't have written. Maybe he should better have wirtten a method like ListView1.Unselect? Am 15.10.2010 22:58, schrieb user: > i have difficulties with the docs. > > they are not easy searched. > > for examp

Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread user
i have difficulties with the docs. they are not easy searched. for example i found easy for gridview unselect and i expected to be something similar for other controls with Select methods as Listview i did not expect to find the unselect in SelectAll method! On Fri, 2010-10-15 at 22:13 +0200, M

Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread Matti
You are right, that's the elegant solution: ListView1.SelectAll(False) It is always good to read the docs carefully (which I didn't) Am 15.10.2010 21:56, schrieb user: > Hm, i think i found it > > > ListView.SelectAll (gb.qt) > Syntax > > -- > SUB SelectAll (

Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread user
Hm, i think i found it ListView.SelectAll (gb.qt) Syntax -- SUB SelectAll ( [ Selected AS Boolean ] ) -- Selects or deselects all items in the view. * If Selected is TRUE, then all items are selected. This is the defaul

Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread user
Thanks i got it! On Fri, 2010-10-15 at 21:10 +0200, Matti wrote: > >From the docs: > .ListViewItem.Selected > PROPERTY Selected AS Boolean > Indicates if the item is selected > > I tried it (Gambas3) like this: > ListView1.MoveFirst > Do While ListView1.Item > ListView1.Item.Selected = Fa

Re: [Gambas-user] GridView and ListView Selections

2010-10-15 Thread Matti
>From the docs: .ListViewItem.Selected PROPERTY Selected AS Boolean Indicates if the item is selected I tried it (Gambas3) like this: ListView1.MoveFirst Do While ListView1.Item ListView1.Item.Selected = False ListView1.MoveNext Loop Probably, there are more elegant ways, but it wor

[Gambas-user] GridView and ListView Selections

2010-10-15 Thread user
Hi to all again, In a GridView we can unselect the selected rows as following grdResults.Rows.Unselect In a ListView control when i want to unselect how we can do it? i try to find something like lswResults.Items.Unselect but there is no Items (as there is Rows class for grd) class or some

Re: [Gambas-user] IDE crash with browse

2010-10-15 Thread Jussi Lahtinen
gvwFind.Column = 2 would be more convenient as search string can be found multiple times from same line. Jussi On Fri, Oct 15, 2010 at 18:01, Jussi Lahtinen wrote: > Hi! > Way to reproduce the problem: > 1. Open search window > 2. type some word for search > 3. click browse > 4. press arrow ke

[Gambas-user] IDE crash with browse

2010-10-15 Thread Jussi Lahtinen
Hi! Way to reproduce the problem: 1. Open search window 2. type some word for search 3. click browse 4. press arrow key to right or left Reason: If gvwFind is not in focus, it has no current row, ie gvwFind.Row = -1. Crash when; hFind = $aBrowse[gvwFind.Row] @ Public Sub gvwFind_Select() Suggesti

Re: [Gambas-user] Question about some simple code enterin' data

2010-10-15 Thread tobias
pira...@mail.com schrieb: EXACTLY EXACTO That's what I need. The function is called input mask. I could not find it in Gambas. -Original Message- From: tobias To: mailing list for gambas users Sent: Fri, Oct 15, 2010 9:26 am Subject: Re: [Gambas-user] Question about some simple code

Re: [Gambas-user] Question about some simple code enterin' data

2010-10-15 Thread piramix
EXACTLY EXACTO That's what I need. The function is called input mask. I could not find it in Gambas. -Original Message- From: tobias To: mailing list for gambas users Sent: Fri, Oct 15, 2010 9:26 am Subject: Re: [Gambas-user] Question about some simple code enterin' data pira...@mail

Re: [Gambas-user] Split a line with double spaces

2010-10-15 Thread user
nice idea... Thanks. On Fri, 2010-10-15 at 15:18 +0200, Stefano Palmeri wrote: > Il venerdì 15 ottobre 2010 13:26:13 user ha scritto: > > Hi to all, > > > > i have a string which contains two spaces in a row. > > > > i use split function to split this string in 2 parts with separator the > > 2 sp

Re: [Gambas-user] Split a line with double spaces

2010-10-15 Thread Stefano Palmeri
Il venerdì 15 ottobre 2010 13:26:13 user ha scritto: > Hi to all, > > i have a string which contains two spaces in a row. > > i use split function to split this string in 2 parts with separator the > 2 spaces. > > sOneLine="/mnt/store/RealViruses/minitest/Trojan-Spy.Win32.Zbot.hzu > Virus found Win

Re: [Gambas-user] Under construction or bug?

2010-10-15 Thread Jussi Lahtinen
I don't understand what you are saying. Do you mean that help lines are not for locally declared objects? But this doesn't work either: Private test As someclass test.somevariabl... Jussi On Fri, Oct 15, 2010 at 12:19, Fabien Bodard wrote: > dim is local > > private test as someclass >

Re: [Gambas-user] Question about some simple code enterin' data

2010-10-15 Thread tobias
pira...@mail.com schrieb: > Thanks Tobi for your quick reply. > With TextBox_KeyPress() I manage the insertion of numbers. But I need > to display both scores before the data entry. > The example you gave me with the serial numbers is exactly what I need. > Let's say -as another posibility- that I

[Gambas-user] Split a line with double spaces

2010-10-15 Thread user
Hi to all, i have a string which contains two spaces in a row. i use split function to split this string in 2 parts with separator the 2 spaces. sOneLine="/mnt/store/RealViruses/minitest/Trojan-Spy.Win32.Zbot.hzu Virus found Win32/Heur" sSplitLine = Split(sOneLine, (" ") Normally i want to ha

Re: [Gambas-user] Under construction or bug?

2010-10-15 Thread Fabien Bodard
dim is local private test as someclass test.somevariabl... 2010/10/14 Jussi Lahtinen : > Help line feature seems not to work correctly with recent revision. > If I type: > Dim test as someclass > > test.somevariabl...  I always get "No help found". > > Gambas 3 rev 3265 @Ubuntu 10.04 64bit

Re: [Gambas-user] Gambas and Mobiles, Symbian

2010-10-15 Thread Benoît Minisini
> There are some tookits which can be used in mobile devices (mainly > linux-based), as Elementary (based on efl[1]), which works in maemo, > for example. I think a binding from efl (written in C) to gambas can > possibly gambas for mobile. > > Elementary is clean, light and also runs on top of x1

[Gambas-user] Renaming a form minor bug

2010-10-15 Thread user
Hi all, i have a form named, Fhistory if i try to rename it to FHistory the ide complains about existing name, the renaming process is not case sensitive. I need to rename form as different name ex. Fhistory2 and then to FHistory i use Gambas 2.21, Ubuntu 64bit 10.04 --