[Gambas-user] Null Object

2009-11-27 Thread Kadaitcha Man
I'm having trouble with editing a TableView. I found this when looking for a solution: http://old.nabble.com/tableview-edit-td25328595.html It's the same problem I've got. There is neither a class name nor any line number in the error message as the guy said, however he didn't respond back to the

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
aaand yet waiting for tomorrow Dag-Jarle Johansen schrieb: > you are a good guy, > i'm not, very very böse > (german, means mean) > > while I try to help you, my own shit is coming in > the only word I dont understand is pidgin? tell me > > Kadaitcha Man schrieb: > >> 2009/11/28 Jussi Lahtinen

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
you are a good guy, i'm not, very very böse (german, means mean) while I try to help you, my own shit is coming in the only word I dont understand is pidgin? tell me Kadaitcha Man schrieb: > 2009/11/28 Jussi Lahtinen : > > >> There are many GUIs where you must validate your input with enter. >

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
see what you mean, laughin to dead here, ok trying to get better. do you know how embarisning it is, to be narrowsighted and longsithed at once ok i try my best man, you have a lot of options here, just ask, you alone knows what the software is doing at this point you have to decide! regard

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Dag-Jarle Johansen
hi, I don't know if I have this right, but EVERYVERE you have to have to skip from one textfield to another, motsly by tab, PHP, HTML, every programm you know then you accept the entires. in gambas on ONE form perfectly easy, catch the Enter from a menu, as easy as that. and dont complain, when I s

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Kadaitcha Man
2009/11/28 Jussi Lahtinen : > There are many GUIs where you must validate your input with enter. > Example, if you send message with pidgin. Enter means, "I am finished. It's your turn to do something, mister pooter." Tab means, "I am not finished. It's still my turn and I'm still doing stuff." E

Re: [Gambas-user] Get the index of a menu

2009-11-27 Thread Kadaitcha Man
2009/11/28 David Dell : > How can I get the index of a menu in the collection of children of its > parent? There is no Menu.Index property. > > Thank you, Put the ID in the tag property. That way you don't have to go searching through a FOR EACH loop to get the ID. I have a similar issue with Com

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Kadaitcha Man
2009/11/28 Fabien Bodard : > so the answer is : > > private $MX as Integer > Private $MY as integer > > > Public sub gvOption_MouseDown >  $MX = mouse.x >  $MY=Mouse.Y > END > > Public sub gvOption_Menu() > > MyForm.Move($Mx, $My) > > END > > > Be carefull as Mouse.X is container relative... Ok, I

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Kadaitcha Man
2009/11/28 Benoît Minisini : > If you really need to know where is the mouse (but why?), you can use the > Mouse.ScreenX and Mouse.ScreenY properties. Meh. I'm a Windows developer of many years who's given up on M$ so I have assumptions about GUI programming that are extremely hard to lose :) I

[Gambas-user] Generator

2009-11-27 Thread Dag-Jarle Johansen
hi, I have tried out Gambas since about 1 1/2 month now, it mostly works fine. As an old VB6-programmer some issues are just new or different, depends on. It is fast, really fast, but perhaps this is a consequence of switching from windows to linux too, don't know. ( I just hate to do somethin

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Jussi Lahtinen
I think it is more like habit to end value input with enter, than assumption that enter will get you to next box. There are many GUIs where you must validate your input with enter. Example, if you send message with pidgin. I haven't use menu editor, but that sounds something I would find annoying t

Re: [Gambas-user] Problem building Gambas3 on openSUSE 11.2

2009-11-27 Thread Benoît Minisini
> On 21/11/09 18:43, Benoît Minisini wrote: > >> On 20/11/09 17:28, Werner wrote: > >>> Suse 11.2 came out last week. I seem to remember that it worked fine > >>> with 11.1 using qt3. > >>> > >>> My problem is that I can't configure support for Qt (I don't care about > >>> the other parts). > >>> >

[Gambas-user] FileChooser1

2009-11-27 Thread John
Hi All I have on the main form a Wizard1 control and in the first step of that Wizard1 control I have a Filechooser1 control. Here is the code ' Gambas class file PUBLIC Spath AS String PUBLIC SUB _new() END PUBLIC SUB Form_Open() END PUBLIC SUB Wizard1_Cancel() ME.Close END PUBL

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-27 Thread Benoît Minisini
> Hi benoit, > > Just a comment re menu-editor which when doing large menu's I find > annoying. > > The default action for the return/enter key in the textboxes is to trigger > the OK button in the menu editor, so if one hits enter and not tab to get > to the next box > hasty exit from the men

Re: [Gambas-user] Modifying a picture assigned to a menu

2009-11-27 Thread Benoît Minisini
> Let's say first I assign a picture to a menu: > > DIM Pic AS Picture > Pic = NEW Picture(18, 18) > Pic.Fill(Color.Black) > MenuCustomColor.Picture = Pic > > When I try to modify a picture assigned to a menu, if I use > > MenuCustomColor.Picture.Fill(Dialog.Color) > > it does not do

[Gambas-user] Modifying a picture assigned to a menu

2009-11-27 Thread David Dell
Let's say first I assign a picture to a menu: DIM Pic AS Picture Pic = NEW Picture(18, 18) Pic.Fill(Color.Black) MenuCustomColor.Picture = Pic When I try to modify a picture assigned to a menu, if I use MenuCustomColor.Picture.Fill(Dialog.Color) it does not do anything. Instead I hav

[Gambas-user] Get the index of a menu

2009-11-27 Thread David Dell
How can I get the index of a menu in the collection of children of its parent? There is no Menu.Index property. Thank you, David -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simpl

Re: [Gambas-user] Gambas script execution

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 20:09 +0100 schrieb Benoît Minisini: > > Am Mittwoch, den 25.11.2009, 00:27 +1100 schrieb > > > > nospam.nospam.nos...@gmail.com: > > > Matteo Lisi wrote: > > > > Hi ! > > > > > > > > The first line: > > > > #!/usr/bin/ gbs2 > > > > > > > > it's a typing error > >

Re: [Gambas-user] Gambas script execution

2009-11-27 Thread Benoît Minisini
> Am Mittwoch, den 25.11.2009, 00:27 +1100 schrieb > > nospam.nospam.nos...@gmail.com: > > Matteo Lisi wrote: > > > Hi ! > > > > > > The first line: > > > #!/usr/bin/ gbs2 > > > > > > it's a typing error > > > the right line is: > > > #!/usr/bin/gbs2 > > > > > > Thanks Charlie , but the

Re: [Gambas-user] Frame where the first item is not Enabled - focus problem

2009-11-27 Thread Benoît Minisini
> bbb888 wrote: > > In this form I have > > - several misc controls > > - a textarea > > - a frame (with several checkboxes and buttons) > > - a listview > > in that order in the heirarchy. > > > > In certain conditions, the first item in the frame has it's Enabled > > property set to false. > > Wh

[Gambas-user] Gambas 2 on ARM

2009-11-27 Thread Benoît Minisini
Hi, I have made some changes relative to pointer casts and strict pointer aliasing that should make the interpreter behave better on ARM architecture. This is in revision 2440. ARM users, please compile that and tell me what happens! I will continue the same job with the compiler and the infor

[Gambas-user] scrollview

2009-11-27 Thread abdurrahman ulusoy
 my code is ScrollView1.ScrollX= 100ScrollView1.Scrolly = 200 this codes are working in gambas2 but gambas3 not working.   ___ Yahoo! Türkiye açıldı! http://yahoo.com.tr İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizle

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Benoît Minisini
> Gambas3 > > I have a GridView named gvOptions, and this code: > > Public Sub gvOptions_Menu() > > Debug Mouse.X > Debug Mouse.Y > > End > > 1) Both Mouse.X and Mouse.Y tell me "no mouse event data" > > I need to capture the mouse position to pop up a window. How do I do > that in g3

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-27 Thread Fabien Bodard
it simply don't exist... you need to use the check mark and then compute the exclude by you self... it's not so complicated to do. 2009/11/27 David Dell : > I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical > application and I'm trying to create radio (mutually exclusive) menu >

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Fabien Bodard
so the answer is : private $MX as Integer Private $MY as integer Public sub gvOption_MouseDown $MX = mouse.x $MY=Mouse.Y END Public sub gvOption_Menu() MyForm.Move($Mx, $My) END Be carefull as Mouse.X is container relative... For a form in the whole screen ... use Mouse.ScreenX etc

[Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-27 Thread David Dell
I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical application and I'm trying to create radio (mutually exclusive) menu items, with a radio icon instead of a check mark when selected. I can't find any property in the Menu documentation that does that. Can you help? Thank you, Davi

[Gambas-user] Starting with F5

2009-11-27 Thread Dag-Jarle Johansen
Hi out there, I have a minor problem, since I added the gb.qt.kde.html, I (almost) always have to start the programm twice to get it run. first time it sais, compiling..., the message disappears, and then - nada - nothing. stop and restart, then it works. Any ideas? (Ubuntu 9.10, Gambas 2.13)

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 22:20 +1100 schrieb nospam.nospam.nos...@gmail.com: > Charlie Reinl wrote: > > Am Freitag, den 27.11.2009, 19:27 +1100 schrieb > > nospam.nospam.nos...@gmail.com: > >> Gambas3 > >> > >> I have a GridView named gvOptions, and this code: > >> > >> Public Sub gvOptions_Menu

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 22:13 +1100 schrieb nospam.nospam.nos...@gmail.com: > Bad assumptions, Charlie. Bad assumptions. Salut nospam. Ok, you right , but not for the IDE part that's in gambas. /app/src/gambas -- Amicalement Charlie -

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread nospam.nospam.nospam
Charlie Reinl wrote: > Am Freitag, den 27.11.2009, 19:27 +1100 schrieb > nospam.nospam.nos...@gmail.com: >> Gambas3 >> >> I have a GridView named gvOptions, and this code: >> >> Public Sub gvOptions_Menu() >> >> Debug Mouse.X >> Debug Mouse.Y >> >> End >> >> 1) Both Mouse.X and Mouse.Y tell me

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread nospam.nospam.nospam
Charlie Reinl wrote: > Am Freitag, den 27.11.2009, 19:27 +1100 schrieb > nospam.nospam.nos...@gmail.com: >> Gambas3 >> >> I have a GridView named gvOptions, and this code: >> >> Public Sub gvOptions_Menu() >> >> Debug Mouse.X >> Debug Mouse.Y >> >> End >> >> 1) Both Mouse.X and Mouse.Y tell me

Re: [Gambas-user] Ok, I'm stumped

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 19:27 +1100 schrieb nospam.nospam.nos...@gmail.com: > Gambas3 > > I have a GridView named gvOptions, and this code: > > Public Sub gvOptions_Menu() > > Debug Mouse.X > Debug Mouse.Y > > End > > 1) Both Mouse.X and Mouse.Y tell me "no mouse event data" > > I

Re: [Gambas-user] Gambas3 bug reports

2009-11-27 Thread nospam.nospam.nospam
Emil Tchekov wrote: > Salut Charlie, > > can help with spending? > > I have long term experience and very good contacts, that allow sure > and fast loss of any amount. BWAHAHAHHAAHAHA! PMSL Too funny. > Just call me +123 (0456) 7890 > > :-D ;-) :-P > > have a lot of fun!!! > > cheers > > > Emil

Re: [Gambas-user] Gambas3 bug reports

2009-11-27 Thread Ron
Emil Tchekov wrote: > > Just call me +123 (0456) 7890 > > That phone number must have cost you a small fortune to begin with ;-) ;-) > -Ursprüngliche Nachricht- > Von: Charlie Reinl [mailto:karl.re...@fen-net.de] > Gesendet: Freitag, 27. November 2009 11:01 > An: mailing list for gamba

Re: [Gambas-user] Gambas3 bug reports

2009-11-27 Thread Emil Tchekov
Salut Charlie, can help with spending? I have long term experience and very good contacts, that allow sure and fast loss of any amount. Just call me +123 (0456) 7890 :-D ;-) :-P have a lot of fun!!! cheers Emil -Ursprüngliche Nachricht- Von: Charlie Reinl [mailto:karl.re...@f

Re: [Gambas-user] Gambas3 bug reports

2009-11-27 Thread Charlie Reinl
Am Freitag, den 27.11.2009, 20:17 +1100 schrieb nospam.nospam.nos...@gmail.com: > I have a few. Where do they go? > Salut nospam, the office for "Gambas3 bug reports" is closed since September, because of extrem richness. And will only reopen after the last cent is spent. If you cant wait,

[Gambas-user] Gambas3 bug reports

2009-11-27 Thread nospam.nospam.nospam
I have a few. Where do they go? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core applicat

[Gambas-user] Ok, I'm stumped

2009-11-27 Thread nospam.nospam.nospam
Gambas3 I have a GridView named gvOptions, and this code: Public Sub gvOptions_Menu() Debug Mouse.X Debug Mouse.Y End 1) Both Mouse.X and Mouse.Y tell me "no mouse event data" I need to capture the mouse position to pop up a window. How do I do that in g3? 2) Where is the main body