From abu.syafa at ...626... Mon Aug 1 01:44:12 2005 From: abu.syafa at ...626... (abu syafa) Date: Mon, 1 Aug 2005 06:44:12 +0700 Subject: [Gambas-user] Cannot create new form (Gambas 1.0.6) IT WORKS NOW In-Reply-To: <200507261706.55315.gambas@...1...> References: <20050724192138.55977.qmail@...1038...> <200507261706.55315.gambas@...1...> Message-ID: <46f0b9ad050731164455abfcc8@...627...> I WANNA UPgrade Gambas from 0.9.x to 2-1.9.14. WHAT SHOULd I DO ? is it necesary to remove my first gambas or not ? From sevek at ...929... Mon Aug 1 05:59:30 2005 From: sevek at ...929... (SeveK) Date: Sun, 31 Jul 2005 21:59:30 -0600 Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: <35721.85.155.33.88.1122744554.squirrel@...962...> References: <200507301728.44644.gambas@...1...> <35721.85.155.33.88.1122744554.squirrel@...962...> Message-ID: <42ED9E22.6020201@...929...> Hi, i'm having the same problem. i'm using suse 9.3 and i have this components disabled: - gb.clanlib - gb.db.odbc - gb.db.postgresql - gb.sdl i downloaded curl and compiled and mysql-devel from the suse's ftp because mysql-devel and libcurl are not on the cds. any ideas? Lorenzo Tejera wrote: >No for to much run you could arrive shortly :DDDDDDDd recent compiled, I >get this error in gambas2-1.9.14 IDE > >cerebro:/opt/gambas2/bin# ./gambas2.gambas >ERROR: #2: Cannot load class 'ValueBox': Unable to load class file > >Regards FIDO BUG :D > > > >>Hi, all guys. >> >> >>Here is a new release of the development version that you can get there: >> >> >>http://prdownloads.sourceforge.net/gambas/gambas2-1.9.14.tar.bz2?download >> >> >>Now making Gambas components in Gambas really works :-) >> >> >>The development environment gets a new font selection dialog and a new >>color selection dialog both based on two new controls made with Gambas. >> >>Here is the complete Changelog: >> >> >>--8<--------------------------------------------------------------------- >>------ >> >> >>CONFIGURATION >> >> >>* BUG: Finally applied the "fish jail" :-) patch of Dirk Mueller to the >>symbolic link creation. * BUG: Components directory including a gambas part >>are now correctly packaged. >> >>DEVELOPMENT ENVIRONMENT >> >> >>* New font and color dialogs in the property sheet. >>* The welcome, about and tips dialog now use the system colors. >>* Symbols including an underscore are not displayed anymore in the >>completion list. >> >>COMPILER >> >> >>* BUG: events from gambas classes are now internally prefixed with a >>colon, as the events from native classes. * The bytecode version is now >>written in each compiled class. >> >>INTERPRETER >> >> >>* BUG: Now a native class can have a static property that returns a >>usable virtual class. * If the bytecode version of a compiled class is >>different from the bytecode version of the interpreter, then an error is >>raised. * BUG: Many fixes in the gambas archive management. Now everything >>should work as expected :-) * The Boolean[] array class was implemented. >>* Object.GetProperty() now can return the value of static properties. >>* BUG: Classes located in gambas archives are now freed with the global >>classes when the interpreter ends. * BUG: Format$(0, "+#") now works >>correctly. * A new property, Application.Dir, that returns the application >>startup working directory at startup. Note that the current working >>directory is modified by the interpreter. * BUG: Hex$() and Bin$() now >>correctly display negative values. >> >>QT COMPONENT >> >> >>* Eight new properties in Color class that returns system colors. >>* A new array operator in Color class to split a color in its Red, Green, >>Blue, Alpha or Hue, Saturation, Value parts. >>* BUG: Some fixes in the arrangement algorithm of containers. >>* BUG: The DrawingArea draws its border correctly again. >>* A new property, Font.Scalable, that returns if a font is freely >>scalable. * A new property, Font.Grade, that represents a predefined font >>size proportional to the default application font. Range from -9 to +9. * A >>new control, UserControl, that acts as a parent class for implementing >>user controls directly in Gambas. * A new method, >>ScrollView.EnsureVisible, that ensures that a specified >>area of the ScrollView is visible. * A new property, TextArea.ScrollBar, to >>choose the display policy of the scrollbars. * A new class, TrayIcons, for >>enumerating all TrayIcon controls. * New properties in the TrayIcon class: >>Tag, ScreenX, ScreenY, Width and >>Height. >>* BUG: TrayIcon now catches Enter and Leave events. >>* BUG: The Design property now works with controls written in Gambas. >>* BUG: Some fixes in Open event trigerring of embedded forms. >>* Three new controls made with Gambas: FontChooser, ColorChooser and >>CustomListBox. >> >> >>DATABASE COMPONENT >> >> >>* A new method, CConnection.Subst(), that converts gambas values into >>the underlying database SQL syntax, and substitutes them in a query string. >> * BUG: Result can manage tables whose primary keys are not the first >>fields of the table. * BUG: Result enumeration are deletion-safe now. >>* BUG: You can use variant values with functions that use substitution. >> >> >>GTK+ COMPONENT >> >> >>* Updated. >> >> >>SDL COMPONENT >> >> >>* Updated. >> >> >>OPENGL COMPONENT >> >> >>* Updated. >> >> >>--8<--------------------------------------------------------------------- >>------ >> >> >> >>ABOUT THE GAMBAS COMPONENTS MADE IN GAMBAS THING >> >> >>The source of these controls is the "gb.qt" gambas project located in the >> gb.qt component source directory. At the moment, it is part of this >>component, but it may become an independent component in the future. >> >>How does it work concretely ? >> >> >>I added a new control named "UserControl", and every user control made in >> Gambas should inherits it. This control is just a container with no >>properties. I just embedded a Form inside it. >> >>Why is Usercontrol needed ? >> >> >>Because if you use a form as a component, the user will see all its >>public properties and event handlers. By embedding the form, I can provide >>to the user a control with the interface I want, and this way hide all the >>specific stuff located in the embedded form. >> >>UserControl is a container with no properties, and its internal >>Arrangement >>property set to 'Fill'. But it is not declared as a usable control to the >>IDE. >> >> >>The simpler for understanding is looking at the sources :-) >> >> >>For example, the ColorChooser control embeds a form named FColorChooser, >>and in the IDE you will only see ColorChooser. The internal FColorChooser >>is completely hidden. >> >>As you may know ;-) Form controls are their own event observer. So I >>attached the FColorChooser to ColorChooser to get all events generated by >>the Form, and raised back the events like Form_Open or Form_Resize that >>the form needs to work. >> >>I am not completely satisfied with that, but at the moment it is the only >>way I found to make user controls behave like I wanted. >> >> >>In the future, I may implement something like UserContainer, to help >>implementing user controls that have containers. >> >>Note that components made in Gambas work exactly like any executable >>projects. They can include all the resource files they need, and their own >> translations. >> >>Please look at that as much as possible :-) This is the base for a future >> implementation of components like: - Complex controls like FontChooser or >>ColorChooser: FileChooser, DirChooser, >>anything you can imagine. - Controls bound to database. >>- Report designer. >>- WebForm designer. >>- Gambas MDI windows. >>... >> >> >>The limit is time and imagination :-) >> >> >>Enjoy it! >> >> >>-- >>Benoit Minisini >>mailto:gambas at ...1... >> >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>from IBM. Find simple to follow Roadmaps, straightforward articles, >>informative Webcasts and more! Get everything you need to get up to speed, >>fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > From sourceforge-raindog2 at ...94... Mon Aug 1 02:28:26 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 31 Jul 2005 20:28:26 -0400 Subject: [Gambas-user] Again on DrawingArea In-Reply-To: <42ECA353.6090202@...1...> References: <42ECA353.6090202@...1...> Message-ID: <200507312028.26881.sourceforge-raindog2@...94...> On Sunday 31 July 2005 06:09, PV wrote: > This happens because now it seems that the Draw event is constantly > called in an endless loop, whereas, in versions <= 1.9.12, it was > called only once when some redrawing was needed. > What happened? :-) I have no idea what happened, but when using any language and any graphical toolkit that fires a redraw event, I always make a global (or module-level) variable called something like CurrentlyRedrawing, check to see if it's nonzero at the beginning of the draw event code, exit if it is, set it if it's not, and unset it at the end of the draw event. In Gambas, it's something like PUBLIC CurrentlyRedrawing AS Integer PUBLIC SUB DrawingArea1_Draw() IF CurrentlyRedrawing THEN RETURN CurrentlyRedrawing = 1 ' redrawing routines here.... CurrentlyRedrawing = 0 END Hope that points you in the right direction. Rob From sevek at ...929... Mon Aug 1 06:21:35 2005 From: sevek at ...929... (SeveK) Date: Sun, 31 Jul 2005 22:21:35 -0600 Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: <42ED9E22.6020201@...929...> References: <200507301728.44644.gambas@...1...> <35721.85.155.33.88.1122744554.squirrel@...962...> <42ED9E22.6020201@...929...> Message-ID: <42EDA34F.7010303@...929...> make clean ./configure make su -c "make install" and it's working now. i dont now why but is working. Regards. SeveK wrote: > Hi, i'm having the same problem. i'm using suse 9.3 and i have this > components disabled: > > - gb.clanlib > - gb.db.odbc > - gb.db.postgresql > - gb.sdl > > i downloaded curl and compiled and mysql-devel from the suse's ftp > because mysql-devel and libcurl are not on the cds. > > any ideas? > > Lorenzo Tejera wrote: > >> No for to much run you could arrive shortly :DDDDDDDd recent compiled, I >> get this error in gambas2-1.9.14 IDE >> >> cerebro:/opt/gambas2/bin# ./gambas2.gambas >> ERROR: #2: Cannot load class 'ValueBox': Unable to load class file >> >> Regards FIDO BUG :D >> >> >> >>> Hi, all guys. >>> >>> >>> Here is a new release of the development version that you can get >>> there: >>> >>> >>> http://prdownloads.sourceforge.net/gambas/gambas2-1.9.14.tar.bz2?download >>> >>> >>> >>> Now making Gambas components in Gambas really works :-) >>> >>> >>> The development environment gets a new font selection dialog and a new >>> color selection dialog both based on two new controls made with Gambas. >>> >>> Here is the complete Changelog: >>> >>> >>> --8<--------------------------------------------------------------------- >>> >>> ------ >>> >>> >>> CONFIGURATION >>> >>> >>> * BUG: Finally applied the "fish jail" :-) patch of Dirk Mueller to the >>> symbolic link creation. * BUG: Components directory including a >>> gambas part >>> are now correctly packaged. >>> >>> DEVELOPMENT ENVIRONMENT >>> >>> >>> * New font and color dialogs in the property sheet. >>> * The welcome, about and tips dialog now use the system colors. >>> * Symbols including an underscore are not displayed anymore in the >>> completion list. >>> >>> COMPILER >>> >>> >>> * BUG: events from gambas classes are now internally prefixed with a >>> colon, as the events from native classes. * The bytecode version is now >>> written in each compiled class. >>> >>> INTERPRETER >>> >>> >>> * BUG: Now a native class can have a static property that returns a >>> usable virtual class. * If the bytecode version of a compiled class is >>> different from the bytecode version of the interpreter, then an >>> error is >>> raised. * BUG: Many fixes in the gambas archive management. Now >>> everything >>> should work as expected :-) * The Boolean[] array class was >>> implemented. >>> * Object.GetProperty() now can return the value of static properties. >>> * BUG: Classes located in gambas archives are now freed with the global >>> classes when the interpreter ends. * BUG: Format$(0, "+#") now works >>> correctly. * A new property, Application.Dir, that returns the >>> application >>> startup working directory at startup. Note that the current working >>> directory is modified by the interpreter. * BUG: Hex$() and Bin$() now >>> correctly display negative values. >>> >>> QT COMPONENT >>> >>> >>> * Eight new properties in Color class that returns system colors. >>> * A new array operator in Color class to split a color in its Red, >>> Green, >>> Blue, Alpha or Hue, Saturation, Value parts. >>> * BUG: Some fixes in the arrangement algorithm of containers. >>> * BUG: The DrawingArea draws its border correctly again. >>> * A new property, Font.Scalable, that returns if a font is freely >>> scalable. * A new property, Font.Grade, that represents a predefined >>> font >>> size proportional to the default application font. Range from -9 to >>> +9. * A >>> new control, UserControl, that acts as a parent class for implementing >>> user controls directly in Gambas. * A new method, >>> ScrollView.EnsureVisible, that ensures that a specified >>> area of the ScrollView is visible. * A new property, >>> TextArea.ScrollBar, to >>> choose the display policy of the scrollbars. * A new class, >>> TrayIcons, for >>> enumerating all TrayIcon controls. * New properties in the TrayIcon >>> class: >>> Tag, ScreenX, ScreenY, Width and >>> Height. >>> * BUG: TrayIcon now catches Enter and Leave events. >>> * BUG: The Design property now works with controls written in Gambas. >>> * BUG: Some fixes in Open event trigerring of embedded forms. >>> * Three new controls made with Gambas: FontChooser, ColorChooser and >>> CustomListBox. >>> >>> >>> DATABASE COMPONENT >>> >>> >>> * A new method, CConnection.Subst(), that converts gambas values into >>> the underlying database SQL syntax, and substitutes them in a query >>> string. >>> * BUG: Result can manage tables whose primary keys are not the first >>> fields of the table. * BUG: Result enumeration are deletion-safe now. >>> * BUG: You can use variant values with functions that use substitution. >>> >>> >>> GTK+ COMPONENT >>> >>> >>> * Updated. >>> >>> >>> SDL COMPONENT >>> >>> >>> * Updated. >>> >>> >>> OPENGL COMPONENT >>> >>> >>> * Updated. >>> >>> >>> --8<--------------------------------------------------------------------- >>> >>> ------ >>> >>> >>> >>> ABOUT THE GAMBAS COMPONENTS MADE IN GAMBAS THING >>> >>> >>> The source of these controls is the "gb.qt" gambas project located >>> in the >>> gb.qt component source directory. At the moment, it is part of this >>> component, but it may become an independent component in the future. >>> >>> How does it work concretely ? >>> >>> >>> I added a new control named "UserControl", and every user control >>> made in >>> Gambas should inherits it. This control is just a container with no >>> properties. I just embedded a Form inside it. >>> >>> Why is Usercontrol needed ? >>> >>> >>> Because if you use a form as a component, the user will see all its >>> public properties and event handlers. By embedding the form, I can >>> provide >>> to the user a control with the interface I want, and this way hide >>> all the >>> specific stuff located in the embedded form. >>> >>> UserControl is a container with no properties, and its internal >>> Arrangement >>> property set to 'Fill'. But it is not declared as a usable control >>> to the >>> IDE. >>> >>> >>> The simpler for understanding is looking at the sources :-) >>> >>> >>> For example, the ColorChooser control embeds a form named >>> FColorChooser, >>> and in the IDE you will only see ColorChooser. The internal >>> FColorChooser >>> is completely hidden. >>> >>> As you may know ;-) Form controls are their own event observer. So I >>> attached the FColorChooser to ColorChooser to get all events >>> generated by >>> the Form, and raised back the events like Form_Open or Form_Resize that >>> the form needs to work. >>> >>> I am not completely satisfied with that, but at the moment it is the >>> only >>> way I found to make user controls behave like I wanted. >>> >>> >>> In the future, I may implement something like UserContainer, to help >>> implementing user controls that have containers. >>> >>> Note that components made in Gambas work exactly like any executable >>> projects. They can include all the resource files they need, and >>> their own >>> translations. >>> >>> Please look at that as much as possible :-) This is the base for a >>> future >>> implementation of components like: - Complex controls like >>> FontChooser or >>> ColorChooser: FileChooser, DirChooser, >>> anything you can imagine. - Controls bound to database. >>> - Report designer. >>> - WebForm designer. >>> - Gambas MDI windows. >>> ... >>> >>> >>> The limit is time and imagination :-) >>> >>> >>> Enjoy it! >>> >>> >>> -- >>> Benoit Minisini >>> mailto:gambas at ...1... >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>> informative Webcasts and more! Get everything you need to get up to >>> speed, >>> fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bsdpowa at ...43... Mon Aug 1 11:25:23 2005 From: bsdpowa at ...43... (vbmax bsdpowa) Date: Mon, 1 Aug 2005 02:25:23 -0700 (PDT) Subject: [Gambas-user] Cannot create new form (Gambas 1.0.6) IT WORKS NOW In-Reply-To: <46f0b9ad050731164455abfcc8@...627...> Message-ID: <20050801092523.75920.qmail@...1074...> I installed Gambas 1.0.6 with yum and then I installed version 1.0.9 from source without uninstalling that one and it worked.So no, it's not necessary. --- abu syafa wrote: > I WANNA UPgrade Gambas from 0.9.x to 2-1.9.14. > WHAT SHOULd I DO ? > is it necesary to remove my first gambas or not ? > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From oreip at ...1... Mon Aug 1 11:31:49 2005 From: oreip at ...1... (PV) Date: Mon, 01 Aug 2005 11:31:49 +0200 Subject: [Gambas-user] Again on DrawingArea In-Reply-To: <200507312028.26881.sourceforge-raindog2@...94...> References: <42ECA353.6090202@...1...> <200507312028.26881.sourceforge-raindog2@...94...> Message-ID: <42EDEC05.5000608@...1...> On 01/08/2005 02:28, Rob wrote: > I have no idea what happened, but when using any language and any > graphical toolkit that fires a redraw event, I always make a global > (or module-level) variable called something like CurrentlyRedrawing, > check to see if it's nonzero at the beginning of the draw event code, > exit if it is, set it if it's not, and unset it at the end of the > draw event. Rob, thanks for your suggestion. However in this case it is of no use because it seems that the Draw event is triggered sequentially, so that, when it is called, CurrentlyRedrawing is set, the drawing routines are performed, CurrentlyRedrawing is cleared and then the Draw event is fired again, and since CurrentlyRedrawing has been cleared, the Draw event is repeated in an endless loop anyway. Playing a bit more with the code instead, I finally spotted the glitch, or at least a part of it. It appears that setting DrawingArea1.Background and/or DrawingArea1.Backcolor inside the Draw event is what is causing the code to loop and consequently the 100% CPU usage. Please note however that in versions < 1.9.13 these same lines of code weren't doing any harm and the redrawing speed was visibly greater. I will investigate more... :-) Ciao, Piero From gambas at ...1... Mon Aug 1 14:30:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Aug 2005 14:30:16 +0200 Subject: [Gambas-user] Cannot create new form (Gambas 1.0.6) IT WORKS NOW In-Reply-To: <20050801092523.75920.qmail@...1074...> References: <20050801092523.75920.qmail@...1074...> Message-ID: <200508011430.16160.gambas@...1...> On Monday 01 August 2005 11:25, vbmax bsdpowa wrote: > I installed Gambas 1.0.6 with yum and then I installed > version 1.0.9 from source without uninstalling that > one and it worked.So no, it's not necessary. > > --- abu syafa wrote: > > I WANNA UPgrade Gambas from 0.9.x to 2-1.9.14. > > WHAT SHOULd I DO ? > > is it necesary to remove my first gambas or not ? > > ------------------------------------------------------- I think you want to install both stable and development version of the same machine. Of course this is possible - How could I debug both otherwise ? :-) But you can't install two different versions of the stable (or development) version without some hacking. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Aug 1 14:48:52 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Aug 2005 14:48:52 +0200 Subject: [Gambas-user] Again on DrawingArea In-Reply-To: <42EDEC05.5000608@...1...> References: <42ECA353.6090202@...1...> <200507312028.26881.sourceforge-raindog2@...94...> <42EDEC05.5000608@...1...> Message-ID: <200508011448.52946.gambas@...1...> On Monday 01 August 2005 11:31, PV wrote: > On 01/08/2005 02:28, Rob wrote: > > I have no idea what happened, but when using any language and any > > graphical toolkit that fires a redraw event, I always make a global > > (or module-level) variable called something like CurrentlyRedrawing, > > check to see if it's nonzero at the beginning of the draw event code, > > exit if it is, set it if it's not, and unset it at the end of the > > draw event. > > Rob, thanks for your suggestion. > > However in this case it is of no use because it seems that the Draw event > is triggered sequentially, so that, when it is called, CurrentlyRedrawing > is set, the drawing routines are performed, CurrentlyRedrawing is cleared > and then the Draw event is fired again, and since CurrentlyRedrawing has > been cleared, the Draw event is repeated in an endless loop anyway. > > Playing a bit more with the code instead, I finally spotted the glitch, or > at least a part of it. > It appears that setting DrawingArea1.Background and/or > DrawingArea1.Backcolor inside the Draw event is what is causing the code to > loop and consequently the 100% CPU usage. > > Please note however that in versions < 1.9.13 these same lines of code > weren't doing any harm and the redrawing speed was visibly greater. > I will investigate more... :-) > > > Ciao, > Piero > Here is more informationabout the DrawingArea internal stuffs :-) It is related to the way QT manages draw events sent by the X Server. First, you must know that a draw event is a rectangle in your window that you must redraw. Then there is two ways: 1) All X11 draw events are merged by QT into a Region object, that is not rectangular, and then the QT paint event is called, and thus the Gambas Draw event. All drawings during the draw event handler will be clipped by this region. It worked like that before my modifications. 2) QT merges nothing, and you get one Gambas draw event for each X11 draw event. The drawing is clipped by the rectangle It works like that now. Why doing that ? Logically, during the drawing event handler, you have to draw the less possible things to speed up the drawing. The only way in Gambas to know what to draw is the Clip.[X/Y/W/H] properties of the Draw class. In the first case, as drawing is clipped by the region, Clip.[X/Y/W/H] returns the smalles rectangle that includes the region. But, for example, when you enlarge a little a window, the region contains two rectangles: one at the right of the window, the other at the bottom. And so, the including rectangle is the entire window! +--------------------------------+---+ | | x | xxx = The region used by QT | | x | | | x | | | x | | | x | | | x | | | x | | Old size | x | | | x | +--------------------------------+ x | |xxxxxxxxxxxxxxxxxxxxx New size xxxx | +------------------------------------+ When you can easily draw any sub-rectangle of your drawing area, the second way is the better. When you can't easily do that, i.e. when your drawing is too complex to be easily splitted into a rectangle, you prefer drawing everything each time you receive a Draw event. And so, you do the job twice or more times comparing to the first way. So it is twice or ore slower. I think you are in that case. Am I wrong ? The solution will be having a property in the DrawingArea to tell it merging or not drawing events. I think I will do that. Regards, -- Benoit Minisini mailto:gambas at ...1... From comtux at ...626... Mon Aug 1 15:09:12 2005 From: comtux at ...626... (Steve Starr) Date: Mon, 1 Aug 2005 15:09:12 +0200 Subject: [Gambas-user] Gambas Developers Message-ID: <200508011509.12241.comtux@...626...> Hello my name is Steve Starr and i am currently in the process of building a new linux distro http://www.comtuxaps.com and i am looking to pay gambas developers to write tutorials code examples and help on gambas projects if you are interested please e-mail me back at comtux at ...626... Thanks Steve Starr ComtuxAPS From oreip at ...1... Mon Aug 1 15:34:16 2005 From: oreip at ...1... (PV) Date: Mon, 01 Aug 2005 15:34:16 +0200 Subject: [Gambas-user] Again on DrawingArea In-Reply-To: <200508011448.52946.gambas@...1...> References: <42ECA353.6090202@...1...> <200507312028.26881.sourceforge-raindog2@...94...> <42EDEC05.5000608@...1...> <200508011448.52946.gambas@...1...> Message-ID: <42EE24D8.5030802@...1...> On 01/08/2005 14:48, Benoit Minisini wrote: > Here is more informationabout the DrawingArea internal stuffs :-) [snip] > When you can't easily do that, i.e. when your drawing is too complex to be > easily splitted into a rectangle, you prefer drawing everything each time you > receive a Draw event. And so, you do the job twice or more times comparing to > the first way. So it is twice or ore slower. > > I think you are in that case. Am I wrong ? No, you are absolutely right! :-) Actually all the drawing routines are enclosed in the Draw event and the resulting graph is way too complex to be split into rectangles. > The solution will be having a property in the DrawingArea to tell it merging > or not drawing events. I think I will do that. Thank you Benoit for your explanations, everything is much more clear now and I won't go crazy trying to find glitches or speedups in my code... :-) And thanks a lot in advance for the merge/not merge property that you plan to add to the DrawingArea! Ciao, Piero From peski_2k at ...67... Mon Aug 1 18:27:34 2005 From: peski_2k at ...67... (Peski) Date: Mon, 01 Aug 2005 18:27:34 +0200 Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: <42ED9E22.6020201@...929...> References: <200507301728.44644.gambas@...1...> <35721.85.155.33.88.1122744554.squirrel@...962...> <42ED9E22.6020201@...929...> Message-ID: <42EE4D76.5070808@...67...> SeveK escribi?: > Hi, i'm having the same problem. i'm using suse 9.3 and i have this > components disabled: > > - gb.clanlib > - gb.db.odbc > - gb.db.postgresql > - gb.sdl > > i downloaded curl and compiled and mysql-devel from the suse's ftp > because mysql-devel and libcurl are not on the cds. > > any ideas? > > Lorenzo Tejera wrote: What is your problem for install gb.sdl? Maybe something relationship with 2D SDL Image? If this is your case, probably you need install SDL_gfx. I recommend to you that before of install any lib (as curl) compiling it, try find his correspondent rpm package for your suse version. The system can be altered and you can have some problems if you compile some libs and this installation is not correctly registrered by system. Installing from rpm this never happen. If you haven't some rpm package in your CD, you can find it in: http://www.rpmseek.com/index.html or better, you can use apt for suse for easy install of all packages available (http://linux01.gwdg.de/apt4rpm/) From forty_ at ...18... Mon Aug 1 20:10:14 2005 From: forty_ at ...18... (forty) Date: Mon, 1 Aug 2005 20:10:14 +0200 Subject: [Gambas-user] strange Settings Message-ID: <200508012010.14688.forty_@...18...> Hello, i have big troubles with Settings.save since 1.9.10. Gambas says no ToString, but in a new Project the Settings are OK. See my Mail "Gambas 1.9.12 Settings" Hmm, whats wrong in my Project? Result, nothing :) Workaround for my Problem. I made a new Project whith Gambas 1.9.13 and create a Form. Than, i close Gambas and overwrite Form1 and the Class with my Form and Class. And now, very strange. The Settings are working, without any changes in the Source. What's the different? -- regards forty From gambasfr at ...11... Mon Aug 1 22:39:58 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 1 Aug 2005 22:39:58 +0200 Subject: [Gambas-user] gb.gtk 050731 In-Reply-To: <42ECCF23.1010600@...282...> References: <42ECCF23.1010600@...282...> Message-ID: <200508012239.58570.gambasfr@...11...> Le Dimanche 31 Juillet 2005 15:16, Daniel Campos a ?crit?: > Hi: > > New version of gb.gtk: 050731 > > http://gambas.gnulinex.org/gtk > > This version adds the new stuff implemented by Beno?t in the gb.qt > component, and yes, > it has some bugs, but it would help Benoit to test the "UserControl" and > Gambas control > creation with gb.gtk, so they not depend on gb.qt. > > Beno?t: Apart from this, you should adapt the color chooser to be > compatible with > gb.gtk: When using GTK+, all h,s,v values have different ranges than in QT: > > H: 0 - 360 > S: 0 - 100 > V: 0 - 100 > > All GTK+ applications work in this way, and the gb.gtk component must be > compatible > with the rest of GTK+ applications. I suppose you could check the active > component > using the "Components" class, and then use values from 0 to 255 when > using gb.qt and > the values I told you when using gb.gtk. > > I also added an experimental method called "Reparent" for al widgets > except top-level > windows, so any control can change its parent. Thank daniel... it take a while but it's here :) really interessant.. i'll send then a little exemple that look like the gimp toolbox using. hem ... bad english. Fabien > Changelog: > > * NEW: ScrollView.EnsureVisible implemented. > * NEW: "UserControl" class implemented. > * NEW: TrayIcon.Tag, W and H properties added. > * NEW: Font.Scalable and Font.Grade properties implemented. > * NEW: System colors added to "Color" class. > * NEW: TextArea.Scrollbar property added. > * NEW: Control.Reparent method added to reparent widgets (but not > top-level windows) > * FIXED: Mouse, Focus, and Key events handling redesigned: 28 bytes less > per widget. > * NEW: Application.Font implemented. > > > Regards, > > D. Campos > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Mon Aug 1 22:50:35 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 1 Aug 2005 22:50:35 +0200 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: References: Message-ID: <200508012250.35429.gambasfr@...11...> Le Vendredi 29 Juillet 2005 02:42, Peski - a ?crit?: > > > Laurent Carlier, What will can we do with this new components? 3D > > > games with textures, ilumination... etc...? Will be possible import 3D > > > object modeled with 3D programs as 3D Studio, Blender... etc...? > > > > > > Regards, > > > Peski > > > >so... > >the responce is for me :) > > > >this new component is just a base. It allow just to use the opengl lib. > >Opengl is a set of function that make more easier to use the video card > > and it's processor. > > > >After laurent have finished his component, the next step will be to make a > >3d > >engine that simplify the management of 3d objects and 3d world. > >Another component can be linked to the enginer to allow to load different > >3D > >file format. > > > >It's just an idea... > > > >so wait... or better, help us ! > > I like help... but I don't have the necessary knowledge. Nowadays, until I > learn to program, my help to gambas is only test new versions and translate > documents to my language (I can translate to spanish better than translate > to english, don't worry ;-) > If you need some 3D element in the future for test, I have a house made > with 3dStudio and some elements more. > > >Regards, > >Fabien Bodard (...and Laurent, but he is too timid) > > > >alias <-- the gambas opengl team --> ;-) > > ups... you want say to me that you also work in this component, truth? > Sorry, I don't know this! but less as Laurent :) > Good work! > > Regards, > Peski > > PD: What is the difference betwen gb.sdl.opengl and gb.opengl?? gb.sdl.opengl is the container.. the recipient to receive the opengl lib output with the sdl stuff. gb.opengl is the component to use the opengl lib function. in a near future we will have gb.gtk.opengl and gb.qt.opengl component, so you can create a game with graphical routine that run on each toolkit. regards, Fabien Bodard > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From m.galm at ...31... Tue Aug 2 11:42:34 2005 From: m.galm at ...31... (m.galm) Date: Tue, 2 Aug 2005 10:42:34 +0100 Subject: [Gambas-user] error-msgbox Message-ID: <200508021042.35035.m.galm@...31...> Hello. If you run a Program in the IDE and get an Error-msg like "out of bounds" for Example, the msgbox with the error hides behind all other windows (class-editors, forms ...) and you have to minimize all Windows to see it. Maybe make it topmost or hide all other Windows when you start. Michael Galm (gambas 1.09, suse9.1, kde 3.4) From forty_ at ...18... Tue Aug 2 15:46:44 2005 From: forty_ at ...18... (forty) Date: Tue, 2 Aug 2005 15:46:44 +0200 Subject: [Gambas-user] strange Settings In-Reply-To: <200508012010.14688.forty_@...18...> References: <200508012010.14688.forty_@...18...> Message-ID: <200508021546.44745.forty_@...18...> Am Montag, 1. August 2005 20:10 schrieb forty: > Hello, > Hmm, whats wrong in my Project? in my Project was a Start-Form namend Main. Today, i renamed Form1 from Yesterday copied back to Main, and Gambas tells me Unknown symbol 'ToSring' in class 'Main'. Gambas looks in my Main Class for ToString, when it' s called Main? thx From gambas at ...1... Tue Aug 2 21:30:10 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Aug 2005 21:30:10 +0200 Subject: [Gambas-user] error-msgbox In-Reply-To: <200508021042.35035.m.galm@...31...> References: <200508021042.35035.m.galm@...31...> Message-ID: <200508022130.10643.gambas@...1...> On Tuesday 02 August 2005 11:42, m.galm wrote: > Hello. > > If you run a Program in the IDE and get an Error-msg like "out of bounds" > for Example, the msgbox with the error hides behind all other windows > (class-editors, forms ...) and you have to minimize all Windows to see it. > Maybe make it topmost or hide all other Windows when you start. > > Michael Galm > > (gambas 1.09, suse9.1, kde 3.4) > I don't have this problem. Can you send me the screenshots of your entire kde window manager configuration please ? Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 2 21:31:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Aug 2005 21:31:19 +0200 Subject: [Gambas-user] strange Settings In-Reply-To: <200508012010.14688.forty_@...18...> References: <200508012010.14688.forty_@...18...> Message-ID: <200508022131.19073.gambas@...1...> On Monday 01 August 2005 20:10, forty wrote: > Hello, > > i have big troubles with Settings.save since 1.9.10. Gambas says no > ToString, but in a new Project the Settings are OK. > See my Mail "Gambas 1.9.12 Settings" > > Hmm, whats wrong in my Project? Result, nothing :) > > Workaround for my Problem. > I made a new Project whith Gambas 1.9.13 and create a Form. Than, i close > Gambas and overwrite Form1 and the Class with my Form and Class. > And now, very strange. The Settings are working, without any changes in the > Source. What's the different? I don't understand what you wrote - except that you have problems with the Settings class. Could you send a project that depicts the problem, with step by step explanation ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 2 21:57:23 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Aug 2005 21:57:23 +0200 Subject: [Gambas-user] documentation system maintenance Message-ID: <200508022157.23219.gambas@...1...> Hi, I'm currently updating the documentation system, so don't touch anything! :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 2 22:08:11 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Aug 2005 22:08:11 +0200 Subject: [Gambas-user] documentation system updated! Message-ID: <200508022208.11596.gambas@...1...> Documentation system is up and updated now :-) To Rob: I compiled gba2 and gbc2 on my machine and downloaded the binaries to the home gambas directory on binara. http://new.gambasdoc.org If you want to write or translate documentation, please send me a mail with the password you want and I will create an account for you. At the moment, you can't register directly from the wiki, it does not work. I'm waiting for your comments about this tool - After all this is a tool for everybody... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 2 22:56:48 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Aug 2005 22:56:48 +0200 Subject: [Gambas-user] gb.gtk 050731 In-Reply-To: <42ECCF23.1010600@...282...> References: <42ECCF23.1010600@...282...> Message-ID: <200508022256.48803.gambas@...1...> On Sunday 31 July 2005 15:16, Daniel Campos wrote: > Hi: > > New version of gb.gtk: 050731 > > http://gambas.gnulinex.org/gtk > > This version adds the new stuff implemented by Beno?t in the gb.qt > component, and yes, > it has some bugs, but it would help Benoit to test the "UserControl" and > Gambas control > creation with gb.gtk, so they not depend on gb.qt. > > Beno?t: Apart from this, you should adapt the color chooser to be > compatible with > gb.gtk: When using GTK+, all h,s,v values have different ranges than in QT: > > H: 0 - 360 > S: 0 - 100 > V: 0 - 100 > > All GTK+ applications work in this way, and the gb.gtk component must be > compatible > with the rest of GTK+ applications. I suppose you could check the active > component > using the "Components" class, and then use values from 0 to 255 when > using gb.qt and > the values I told you when using gb.gtk. Of course not, we must choose the same values for everything. Think that the gb.qt and gb.gtk components must be swapped as much as possible. Then, I think there GTK+ is wrong, because if you have to lost the less precision possible between HSV <-> RGB conversion, then the values of HSV must have at least the same range as the values of RGB. So the values of 0->255 for S & V, and not less. In the GTK+ component, if you already have HSV <-> RGB conversion functions that takes values between 0 and 100, you just have to apply a factor of 100/255 before the conversion, and a factor of 255/100 after. Or better rewrite the HSV <-> RGB conversion routine (by taking the QT ones for example) to have the minimal precision needed. Another solution would be having floating point values for HSV, I don't know. As for the 0->360 and 0->359 thing, I must check, because on QT the value of H is modulo 360, i.e. 360 == 0. I don't know on GTK, but I think so. In a few words, gb.qt and gb.gtk must have the same methods & properties behaviour. But the dialogs can be different: this is not a problem. As for the color (and other) dialog I made in Gambas, they will be the same between QT, GTK+. This is the goal :-) There is another problem with the stock icons you added in gb.gtk. They are too much GTK+ specific. So here is what I propose to you :-) - I will copy in the gambas part of the gb.qt component all equivalent KDE icons, and I think the Picture class will be able to get them automatically. I hope it works.. - We should find an organization and a naming convention for stock icons that is not too much GTK+ specific. The names must be the same between gb.qt and gb.gtk - This way the IDE will able to present them to the user. > > I also added an experimental method called "Reparent" for al widgets > except top-level > windows, so any control can change its parent. I know that in some cases this leads to problems in QT. This needs a lot of tests, but I will add it to try. Regards, -- Benoit Minisini mailto:gambas at ...1... From frankberg at ...390... Tue Aug 2 23:35:53 2005 From: frankberg at ...390... (Frank Berg) Date: Tue, 2 Aug 2005 23:35:53 +0200 Subject: [Gambas-user] documentation system updated! References: <200508022208.11596.gambas@...1...> Message-ID: <001001c597aa$2905fd20$0200a8c0@...602...> hi, if i translate a site and i make an mistake in translation, and i edit the site new, the site is again complete in english. is it maybe better to ask before editing an startet translated site: Edit the translated site or begin an new translation with english text frank ----- Original Message ----- From: "Benoit Minisini" To: Sent: Tuesday, August 02, 2005 10:08 PM Subject: [Gambas-user] documentation system updated! > Documentation system is up and updated now :-) > > To Rob: I compiled gba2 and gbc2 on my machine and downloaded the binaries > to > the home gambas directory on binara. > > http://new.gambasdoc.org > > If you want to write or translate documentation, please send me a mail > with > the password you want and I will create an account for you. At the moment, > you can't register directly from the wiki, it does not work. > > I'm waiting for your comments about this tool - After all this is a tool > for > everybody... > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > >> From danielcampos at ...282... Tue Aug 2 23:56:49 2005 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 02 Aug 2005 23:56:49 +0200 Subject: [Gambas-user] gb.gtk 050731 In-Reply-To: <200508022256.48803.gambas@...1...> References: <42ECCF23.1010600@...282...> <200508022256.48803.gambas@...1...> Message-ID: <42EFEC21.3070106@...282...> Hi: > >Of course not, we must choose the same values for everything. Think that the >gb.qt and gb.gtk components must be swapped as much as possible. > > Of course? Well, this a GTK+ component... So it should follow the GTK+ standards... I don't think is a good idea to have a GTK+ component fully based on QT (constants, names, interfaces for classes) ... But you're the boss. :-) > >In a few words, gb.qt and gb.gtk must have the same methods & properties >behaviour. But the dialogs can be different: this is not a problem. > > This is a problem: the GTK+ color dialog shows values from 0-360 (Hue) and 0-100 (Saturation and Value)... >As for the color (and other) dialog I made in Gambas, they will be the same >between QT, GTK+. This is the goal :-) > > So do we will have a native dialog with values different from the ones made with Gambas? >There is another problem with the stock icons you added in gb.gtk. They are >too much GTK+ specific. So here is what I propose to you :-) > >- I will copy in the gambas part of the gb.qt component all equivalent KDE >icons, and I think the Picture class will be able to get them automatically. >I hope it works.. > >- We should find an organization and a naming convention for stock icons that >is not too much GTK+ specific. The names must be the same between gb.qt and >gb.gtk - This way the IDE will able to present them to the user. > > OK > >I know that in some cases this leads to problems in QT. This needs a lot of >tests, but I will add it to try. > > Fabien has already found an utility for that feature: dialogs that can be added or removed from panels, something like the Gimp. It would be nice to have that feature in both components... Regards, D. Campos > > > From peski_2k at ...67... Wed Aug 3 01:23:11 2005 From: peski_2k at ...67... (Peski -) Date: Tue, 02 Aug 2005 23:23:11 +0000 Subject: [Gambas-user] Suggestions for Gambas Message-ID: Hi, At first, excuse me if my english isn't good. I'm not English. Some days ago, I have noticed that gambas make executable files with all files found in project folder. For example, if I have a little programa written in Gambas, and in the project folder of this program I have a .mpeg file with size=100MB, Gambas will make an executable file of 100MB+real size of my program, in spite of this video file isn't use actually in my program. I think is better that gambas only insert in executable file the files which program actually uses. About IDE, Would be possible show in the tree project, procedures and functions below his class? With this option We will access quickly to this procedures and functions. Yes, I know that exist a button in code editor with more or less same function, but I think that this option is useful and homey for certain peoples (for me as example, ;-) hehe) This is all. Regards, Peski PD: Have I written well? ;-) PD2: Sorry if I'm repeating this mail, but from days ago I'm having problems with anti-spam filters due to my "non-official hotmail method" for send mails. As my previous post haven't reply, I think that maybe this mail was another victim of your anti-spam services ;-) From abu.syafa at ...626... Wed Aug 3 02:00:17 2005 From: abu.syafa at ...626... (abu syafa) Date: Wed, 3 Aug 2005 07:00:17 +0700 Subject: [Gambas-user] Install on Slackware 10.1 Message-ID: <46f0b9ad05080217001ec5374c@...627...> I have download the Gambas2-9.14 and install it. there was some errors like [make]digicam .... (or whats) but when i installed old version Gambas1.0.9. it's oK. what's wrong ???? From akubukanspy at ...43... Wed Aug 3 06:32:03 2005 From: akubukanspy at ...43... (Yudi Astira) Date: Tue, 2 Aug 2005 21:32:03 -0700 (PDT) Subject: [Gambas-user] Install on Slackware 10.1 In-Reply-To: <46f0b9ad05080217001ec5374c@...627...> Message-ID: <20050803043204.73467.qmail@...1035...> Could you send the error log too ? --- abu syafa wrote: > I have download the Gambas2-9.14 and install it. > there was some errors like [make]digicam .... (or > whats) > but when i installed old version Gambas1.0.9. it's > oK. > what's wrong ???? > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Yudi Astira, http://www.hdteam.net __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From gambasfr at ...11... Wed Aug 3 12:59:47 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Wed, 3 Aug 2005 12:59:47 +0200 Subject: [Gambas-user] gb.gtk 050731 In-Reply-To: <42EFEC21.3070106@...282...> References: <42ECCF23.1010600@...282...> <200508022256.48803.gambas@...1...> <42EFEC21.3070106@...282...> Message-ID: <200508031259.47681.gambasfr@...11...> Le Mardi 02 Ao?t 2005 23:56, Daniel Campos a ?crit?: > Hi: > >Of course not, we must choose the same values for everything. Think that > > the gb.qt and gb.gtk components must be swapped as much as possible. > > Of course? Well, this a GTK+ component... So it should follow the GTK+ > standards... > I don't think is a good idea to have a GTK+ component fully based on QT > (constants, > names, interfaces for classes) ... But you're the boss. :-) > > >In a few words, gb.qt and gb.gtk must have the same methods & properties > >behaviour. But the dialogs can be different: this is not a problem. > > This is a problem: the GTK+ color dialog shows values from 0-360 (Hue) > and 0-100 > (Saturation and Value)... > > >As for the color (and other) dialog I made in Gambas, they will be the > > same between QT, GTK+. This is the goal :-) > > So do we will have a native dialog with values different from the ones > made with Gambas? > > >There is another problem with the stock icons you added in gb.gtk. They > > are too much GTK+ specific. So here is what I propose to you :-) > > > >- I will copy in the gambas part of the gb.qt component all equivalent KDE > >icons, and I think the Picture class will be able to get them > > automatically. I hope it works.. There is mabe a way to know the kde icon path ? and then make some alias... to them. > >- We should find an organization and a naming convention for stock icons > > that is not too much GTK+ specific. The names must be the same between > > gb.qt and gb.gtk - This way the IDE will able to present them to the > > user. > > OK > > >I know that in some cases this leads to problems in QT. This needs a lot > > of tests, but I will add it to try. > > Fabien has already found an utility for that feature: dialogs that can > be added > or removed from panels, something like the Gimp. It would be nice to have > that feature in both components... i think i can implement that as a gambas writed component. Regards, Fabien Bodard > Regards, > > D. Campos > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Wed Aug 3 13:39:53 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Wed, 3 Aug 2005 13:39:53 +0200 Subject: [Gambas-user] gb.gtk 050731 In-Reply-To: <42EFEC21.3070106@...282...> References: <42ECCF23.1010600@...282...> <200508022256.48803.gambas@...1...> <42EFEC21.3070106@...282...> Message-ID: <200508031339.54042.gambasfr@...11...> Le Mardi 02 Ao?t 2005 23:56, Daniel Campos a ?crit?: Hey daniel... I need VSplit :) Regards, Fabien > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Aug 3 17:34:28 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Aug 2005 17:34:28 +0200 Subject: [Gambas-user] documentation system updated! In-Reply-To: <001001c597aa$2905fd20$0200a8c0@...602...> References: <200508022208.11596.gambas@...1...> <001001c597aa$2905fd20$0200a8c0@...602...> Message-ID: <200508031734.28818.gambas@...1...> On Tuesday 02 August 2005 23:35, Frank Berg wrote: > hi, > > if i translate a site and i make an mistake in translation, > and i edit the site new, the site is again complete in english. > is it maybe better to ask before editing an startet translated site: > Edit the translated site or begin > an new translation with english text > > frank > > Sorry, I don't understand what you want to say :-( Can you explain me again ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 3 17:38:08 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Aug 2005 17:38:08 +0200 Subject: [Gambas-user] Suggestions for Gambas In-Reply-To: References: Message-ID: <200508031738.08415.gambas@...1...> On Wednesday 03 August 2005 01:23, Peski - wrote: > Hi, > > At first, excuse me if my english isn't good. I'm not English. > > Some days ago, I have noticed that gambas make executable files with all > files found in project folder. For example, if I have a little programa > written in Gambas, and in the project folder of this program I have a .mpeg > file with size=100MB, Gambas will make an executable file of 100MB+real > size of my program, in spite of this video file isn't use actually in my > program. I think is better that gambas only insert in executable file the > files which program actually uses. Yes, but how can the archiver (the program that makes executables) know which files are used and which files are not used ? The rule is: everything in the project directory is part of the program. But if you want to put trash in your project directory that does not go into the executable, try to create a sub-directory whose name begins with a dot. I think it works :-) > > About IDE, Would be possible show in the tree project, procedures and > functions below his class? > With this option We will access quickly to this procedures and functions. > Yes, I know that exist a button in code editor with more or less same > function, but I think that this option is useful and homey for certain > peoples (for me as example, ;-) hehe) In the next IDE ? :-) > > This is all. > > Regards, > Peski > > PD: Have I written well? ;-) > > PD2: Sorry if I'm repeating this mail, but from days ago I'm having > problems with anti-spam filters due to my "non-official hotmail method" for > send mails. > As my previous post haven't reply, I think that maybe this mail was another > victim of your anti-spam services ;-) > > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 3 17:39:48 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Aug 2005 17:39:48 +0200 Subject: [Gambas-user] Install on Slackware 10.1 In-Reply-To: <46f0b9ad05080217001ec5374c@...627...> References: <46f0b9ad05080217001ec5374c@...627...> Message-ID: <200508031739.48876.gambas@...1...> On Wednesday 03 August 2005 02:00, abu syafa wrote: > I have download the Gambas2-9.14 and install it. > there was some errors like [make]digicam .... (or whats) > but when i installed old version Gambas1.0.9. it's oK. > what's wrong ???? > You may lose your hair :-) (see http://gambas.sf.net/troubleshooting.html) -- Benoit Minisini mailto:gambas at ...1... From forty_ at ...18... Wed Aug 3 18:33:29 2005 From: forty_ at ...18... (forty) Date: Wed, 3 Aug 2005 18:33:29 +0200 Subject: [Gambas-user] strange Settings In-Reply-To: <200508022131.19073.gambas@...1...> References: <200508012010.14688.forty_@...18...> <200508022131.19073.gambas@...1...> Message-ID: <200508031833.29662.forty_@...18...> Am Dienstag, 2. August 2005 21:31 schrieb Benoit Minisini: Hello, > Could you send a project that depicts the problem, with step by step > explanation ? my Mail to you is Is being held by the list moderator. Reasen: Message body is too big: 940400 bytes but there's a limit of 256 :-( From gambas at ...1... Wed Aug 3 18:47:18 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 3 Aug 2005 18:47:18 +0200 Subject: [Gambas-user] strange Settings In-Reply-To: <200508031833.29662.forty_@...18...> References: <200508012010.14688.forty_@...18...> <200508022131.19073.gambas@...1...> <200508031833.29662.forty_@...18...> Message-ID: <200508031847.19050.gambas@...1...> On Wednesday 03 August 2005 18:33, forty wrote: > Am Dienstag, 2. August 2005 21:31 schrieb Benoit Minisini: > > Hello, > > > Could you send a project that depicts the problem, with step by step > > explanation ? > > my Mail to you is Is being held by the list moderator. > > Reasen: > Message body is too big: 940400 bytes but there's a limit of 256 > > :-( > Send it me directly (the mail in my signature), not on the mailing-list! :-) -- Benoit Minisini mailto:gambas at ...1... From peski_2k at ...67... Wed Aug 3 19:09:41 2005 From: peski_2k at ...67... (Peski -) Date: Wed, 03 Aug 2005 17:09:41 +0000 Subject: [Gambas-user] Suggestions for Gambas In-Reply-To: <200508031738.08415.gambas@...1...> Message-ID: Hi, >Yes, but how can the archiver (the program that makes executables) know >which >files are used and which files are not used? This is your work... think think think! ;-) Ok, Now, I see that is hard make this. If I have some idea I'll contact with you. I have tried some methods but Its doesn't work correctly. >The rule is: everything in the project directory is part of the program. > >But if you want to put trash in your project directory that does not go >into >the executable, try to create a sub-directory whose name begins with a dot. >I >think it works :-) Ok, I'll try rename bin folder to .bin. With this, I think that principal "increase size" focus will be fixed (in bin folder I have each version compiled...) ;-) > > About IDE, Would be possible show in the tree project, procedures and > > functions below his class? > > With this option We will access quickly to this procedures and >functions. > > Yes, I know that exist a button in code editor with more or less same > > function, but I think that this option is useful and homey for certain > > peoples (for me as example, ;-) hehe) > >In the next IDE ? :-) Ok, I will remember your words! ;-) Regards, Peski From abu.syafa at ...626... Thu Aug 4 00:15:32 2005 From: abu.syafa at ...626... (abu syafa) Date: Thu, 4 Aug 2005 05:15:32 +0700 Subject: [Gambas-user] Install on Slackware 10.1 In-Reply-To: <200508031739.48876.gambas@...1...> References: <46f0b9ad05080217001ec5374c@...627...> <200508031739.48876.gambas@...1...> Message-ID: <46f0b9ad050803151579b7f222@...627...> On 8/3/05, Benoit Minisini wrote: > On Wednesday 03 August 2005 02:00, abu syafa wrote: > > I have download the Gambas2-9.14 and install it. > > there was some errors like [make]digicam .... (or whats) > > but when i installed old version Gambas1.0.9. it's oK. > > what's wrong ???? > > > > You may lose your hair :-) (see http://gambas.sf.net/troubleshooting.html) > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I'v Got it !. first of all, i'm sorry for everythings. but i'v just been the new comer and newbie here. i usually coding at visual basic, foxpro, and delphi . could you tell me how to create an arabic editor. UNICODE like ???? From danielcampos at ...282... Thu Aug 4 07:44:37 2005 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 04 Aug 2005 07:44:37 +0200 Subject: [Gambas-user] gb.gtk / bug gb.qt Message-ID: <42F1AB45.7010201@...282...> Hi: New release of the gb.gtk component: http://gambas.gnulinex.org/gtk This version adds the HSplit and VSplit containers, so it could be removed from gb.qt.ext and placed at gb.qt. The gb.qt implementation has a bug: the "Children.Count" returns a wrong number, I suppose it is counting also the internal children of the widget. Regards, D. Campos From marco at ...1075... Thu Aug 4 08:46:28 2005 From: marco at ...1075... (Marco Antonio) Date: Thu, 04 Aug 2005 12:16:28 +0530 Subject: [Gambas-user] Gambas2 doesn't run Message-ID: <42F1B9C4.1040106@...1075...> I am using Mandrake 10.2 and I was using Gambas. Now I installed Gambas2 using the rpms for Mandrake but I receive this error when I try to run Gambas2: FOutput.ReadConfig.55: #2: Cannot load class 'FOption': Unable to load class file Please, anyone can help me? Marco From danielcampos at ...282... Thu Aug 4 08:54:27 2005 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 04 Aug 2005 08:54:27 +0200 Subject: [Gambas-user] Gambas2 doesn't run In-Reply-To: <42F1B9C4.1040106@...1075...> References: <42F1B9C4.1040106@...1075...> Message-ID: <42F1BBA3.2070209@...282...> Hi: Did you used the packages available at www.kudla.org ? If you used the packages provided in the Mandrake official distribution, uninstall them and install those provided by Rob Kudla... Regards, D. Campos Marco Antonio escribi?: > I am using Mandrake 10.2 and I was using Gambas. Now I installed > Gambas2 using the rpms for Mandrake but I receive this error when I > try to run Gambas2: > > FOutput.ReadConfig.55: #2: Cannot load class 'FOption': Unable to load > class file > > Please, anyone can help me? > > Marco > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From marco at ...1075... Thu Aug 4 09:28:31 2005 From: marco at ...1075... (Marco Antonio) Date: Thu, 04 Aug 2005 12:58:31 +0530 Subject: [Gambas-user] Gambas2 doesn't run yet Message-ID: <42F1C39F.9030704@...1075...> I am using Mandrake 10.2 and I downloaded the GAMBAS2 rpms from Rob Kudla but I can't launch it. When I try: # gambas2 I receive this: FOutput.ReadConfig.55: #2: Cannot load class 'FOption': Unable to load class file or when I try this: # gambas2.gambas I receive this: ERROR: #2: Cannot load class 'Project': Unable to load class file Anyone?! Thanks Marco From christian at ...980... Thu Aug 4 16:02:18 2005 From: christian at ...980... (Christian E. =?iso-8859-1?q?L=F3pez?= Finnberg) Date: Thu, 4 Aug 2005 15:02:18 +0100 Subject: [Gambas-user] Gambas2 doesn't run yet In-Reply-To: <42F1C39F.9030704@...1075...> References: <42F1C39F.9030704@...1075...> Message-ID: <200508041502.19033.christian@...980...> I had the same problem yesterday... This and and other one with "ValueBox" instead of FOption. I was compiling myself so I did what Piero said in a post to the list: > I solved it by going into directory gambas2-1.9.14/gb.qt/src/gb.qt and > noting that gb.qt.gambas had not been properly compiled (I could tell it > from the date). I then issued a gbc2;gba2;make install command and after > that the problem disappeared. > > I haven't investigated though the problem that caused this malfunction. > > Ciao, > Piero > > Not sure if this gonna help you. Good luck. Maybe Benoit solves it for 1.9.15. I don't know if he even know what the problem is, anyway. -- Saludos, Christian E. L?pez Finnberg El Jueves, 4 de Agosto de 2005 08:28, Marco Antonio escribi?: > I am using Mandrake 10.2 and I downloaded the GAMBAS2 rpms from Rob > Kudla but I can't launch it. > > When I try: > > # gambas2 > > I receive this: > > FOutput.ReadConfig.55: #2: Cannot load class 'FOption': Unable to load > class file > > or when I try this: > > # gambas2.gambas > > I receive this: > > ERROR: #2: Cannot load class 'Project': Unable to load class file > > > Anyone?! > > Thanks > > Marco > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From matthias-laur at ...978... Thu Aug 4 16:09:18 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Thu, 4 Aug 2005 16:09:18 +0200 Subject: AW: [Gambas-user] Gambas2 doesn't run yet In-Reply-To: <200508041502.19033.christian@...980...> Message-ID: <0ML2Dk-1E0gPJ1l2J-0006pv@...979...> Yes, i had the same problem. I did it too. Many thanks for the tip. Regards, Matthias From gambas at ...1... Thu Aug 4 17:36:07 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 4 Aug 2005 17:36:07 +0200 Subject: [Gambas-user] Install on Slackware 10.1 In-Reply-To: <46f0b9ad050803151579b7f222@...627...> References: <46f0b9ad05080217001ec5374c@...627...> <200508031739.48876.gambas@...1...> <46f0b9ad050803151579b7f222@...627...> Message-ID: <200508041736.07379.gambas@...1...> On Thursday 04 August 2005 00:15, abu syafa wrote: > On 8/3/05, Benoit Minisini wrote: > > On Wednesday 03 August 2005 02:00, abu syafa wrote: > > > I have download the Gambas2-9.14 and install it. > > > there was some errors like [make]digicam .... (or whats) > > > but when i installed old version Gambas1.0.9. it's oK. > > > what's wrong ???? > > > > You may lose your hair :-) (see > > http://gambas.sf.net/troubleshooting.html) > > > > -- > > Benoit Minisini > > mailto:gambas at ...1... > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I'v Got it !. > first of all, i'm sorry for everythings. but i'v just been the new > comer and newbie here. i usually coding at visual basic, foxpro, and > delphi . > could you tell me how to create an arabic editor. > UNICODE like ???? > Did you try the TextArea control of Gambas ? It should be, as the QT widget it is based one logically deals with unicode and right-to-left written languages. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Aug 4 18:30:19 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 4 Aug 2005 12:30:19 -0400 Subject: [Gambas-user] Gambas2 doesn't run In-Reply-To: <42F1BBA3.2070209@...282...> References: <42F1B9C4.1040106@...1075...> <42F1BBA3.2070209@...282...> Message-ID: <200508041230.19889.sourceforge-raindog2@...94...> On Thursday 04 August 2005 02:54, Daniel Campos wrote: > Did you used the packages available at www.kudla.org ? If you used > the packages provided in the Mandrake official > distribution, uninstall them and install those provided by Rob > Kudla... I've only made packages for 10.1, the current official release of Mandrake, not 10.2 or 2006.0. I will probably never make packages for 10.2 since I never installed it and it's outdated now. But now I have 2006.0 beta 1 running on my laptop and I'll probably rebuild all the packages for it. Not sure why he'd get the errors he got, but it sounds like some other people got them when compiling from source as well. Rob From fidojones at ...805... Thu Aug 4 18:50:17 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Thu, 4 Aug 2005 18:50:17 +0200 (CEST) Subject: [Gambas-user] Workspace not work in gambas 1.9.14 works fine in the previous versions Message-ID: <43410.85.155.33.88.1123174217.squirrel@...962...> Say this error "The parent of a Window must be a Container or a Workspace" hWindow = NEW Window(WorkSpace1) AS "MyWin" and the parent is a workspace, please benoit take a look, only fails in 1.9.14 example attached....look it fido...... -------------- next part -------------- A non-text attachment was scrubbed... Name: workspace-0.0.1.tar.gz Type: application/gzip Size: 2615 bytes Desc: not available URL: From antoniorsi at ...86... Fri Aug 5 01:45:35 2005 From: antoniorsi at ...86... (tonio) Date: Thu, 04 Aug 2005 23:45:35 +0000 Subject: [Gambas-user] error in gambas2 1.9.14 Message-ID: <42F2A89F.4060206@...86...> hello in the project preference component, when I select the gb.qt.ext component and then click (2-3 time) the botton down for scroll the list i received an error : see the screenshot ciao Tonio -------------- next part -------------- A non-text attachment was scrubbed... Name: err_gambas2.png Type: image/png Size: 25089 bytes Desc: not available URL: From gambas at ...1... Fri Aug 5 15:33:41 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 5 Aug 2005 15:33:41 +0200 Subject: [Gambas-user] Workspace not work in gambas 1.9.14 works fine in the previous versions In-Reply-To: <43410.85.155.33.88.1123174217.squirrel@...962...> References: <43410.85.155.33.88.1123174217.squirrel@...962...> Message-ID: <200508051533.41636.gambas@...1...> On Thursday 04 August 2005 18:50, Lorenzo Tejera wrote: > Say this error > > "The parent of a Window must be a Container or a Workspace" > > hWindow = NEW Window(WorkSpace1) AS "MyWin" > > and the parent is a workspace, > > please benoit take a look, only fails in 1.9.14 > > example attached....look it > > fido...... OK. But I warn you that the Workspace will certainly disappear if I fdon't have the time to rewrite it. Regards, -- Benoit Minisini mailto:gambas at ...1... From fidojones at ...805... Fri Aug 5 19:39:35 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Fri, 5 Aug 2005 19:39:35 +0200 (CEST) Subject: [Gambas-user] Workspace not work in gambas 1.9.14 works fine in the previous versions In-Reply-To: <200508051533.41636.gambas@...1...> References: <43410.85.155.33.88.1123174217.squirrel@...962...> <200508051533.41636.gambas@...1...> Message-ID: <43063.85.155.33.88.1123263575.squirrel@...962...> I need MDI buaaaaaaaaa sniffffffff Don't kill me so softly, I have a big TPV software developed in GAMBAS with MDI. buaaaaaaaaaaaaa > On Thursday 04 August 2005 18:50, Lorenzo Tejera wrote: > >> Say this error >> >> >> "The parent of a Window must be a Container or a Workspace" >> >> >> hWindow = NEW Window(WorkSpace1) AS "MyWin" >> >> and the parent is a workspace, >> >> please benoit take a look, only fails in 1.9.14 >> >> example attached....look it >> >> fido...... > > OK. > > > But I warn you that the Workspace will certainly disappear if I fdon't > have the time to rewrite it. > > Regards, > > > -- > Benoit Minisini > mailto:gambas at ...1... > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gbv at ...1076... Sat Aug 6 09:21:56 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Sat, 6 Aug 2005 09:21:56 +0200 Subject: [Gambas-user] 1.9.14 RPMS for SUSE 9.3 Message-ID: <200508060921.56446.gbv@...1076...> Hello all, Because of SuSE has released an RPM 1.9.14 named 'gambas' with all in one package, I also released the colection of 'gambas2' 1.9.14 packages for SUSE 9.3. My intention was not to release experimental gambas packages at the moment, but lastly I changed my mind. Hope it helps. The site where you can get the rpms is the same that gambas 1.0.x series ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms There are only recent packages for 9.3, at the moment I have no access to older SuSE versions. I hope next month I will able to build also for 9.2. Any feedback is welcome. Guillermo. PD. For 1.9.14, I had to apply the building patch related with gb.qt.gambas component. -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From danielcampos at ...282... Sat Aug 6 17:32:39 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 06 Aug 2005 17:32:39 +0200 Subject: [Gambas-user] gb.gtk 05806 / qt bug Message-ID: <42F4D817.2090406@...282...> Hi: New version of the gb.gtk component: http://gambas.gnulinex.org/gtk 050806 - Alpha * FIXED: Window.Mask and Window.Picture works in not top-level windows. * FIXED: "Label" code rewritten to avoid extrange problems everywhere. * NEW: "ListBox" Activate event implemented. * FIXED: Position of HBox children for RTL languages. * FIXED: Window.Raise now works if the window has a parent. * FIXED: "PictureBox" mouse events are working now. * FIXED: "Label" mouse events are working now. * NEW: "TextBox" Activate event implemented. * NEW: Enter and Leave events implemented fro all controls. * FIXED: Frame,Panel,HBox,VBox,Hpanel and VPanel now receive MouseMove and MouseUp events. * NEW: "drag" part of DND, "Drag.Icon" and "Drag.Source" implemented. Beno?t, it seems there's a problem with the "Picture" and "Mask" properties in the gb.qt component. Please try the example I send with this new gb.gtk version and then change to the gb.qt component, something is wrong... Regards, D. Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: MiTest.tar.gz Type: application/x-gzip Size: 49549 bytes Desc: not available URL: From peski_2k at ...67... Sun Aug 7 01:59:13 2005 From: peski_2k at ...67... (Peski -) Date: Sat, 06 Aug 2005 23:59:13 +0000 Subject: [Gambas-user] 1.9.14 RPMS for SUSE 9.3 In-Reply-To: <200508060921.56446.gbv@...1076...> Message-ID: Hi Guillermo, Have this version fixed the problems related with gtk component? In this case, what did you do for fix it? Regards, Peski From gbv at ...1076... Sun Aug 7 08:20:07 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Sun, 7 Aug 2005 08:20:07 +0200 Subject: [Gambas-user] 1.9.14 RPMS for SUSE 9.3 In-Reply-To: References: Message-ID: <200508070820.07070.gbv@...1076...> El Domingo, 7 de Agosto de 2005 01:59, Peski - escribi?: > Hi Guillermo, > > Have this version fixed the problems related with gtk component? > In this case, what did you do for fix it? > No, I did nothing about it. The problems are still there. Daniel Campos said there some bug fixed in this component for next release. Hope this permit to run gb.gtk component in suse. Guillermo -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From frederik.de.richter at ...533... Sun Aug 7 11:22:03 2005 From: frederik.de.richter at ...533... (erik) Date: Sun, 07 Aug 2005 11:22:03 +0200 Subject: [Gambas-user] (no subject) Message-ID: <42F5D2BB.8090304@...533...> From m.epper at ...626... Sun Aug 7 16:06:25 2005 From: m.epper at ...626... (Epper) Date: Sun, 7 Aug 2005 16:06:25 +0200 Subject: [Gambas-user] 1.0.9 Error viewing Forms Message-ID: <8e99e48205080707067fbcd199@...627...> I've just installed Gambas on Fedora Core 4 (renaming gcc32 in gcc). At first run I start a new project. At the end of the wizard i add a form and when I want to see the form I get this error: http://host.epper.org/linux/gambas/gambas_error.png (It is an Italian Version) Thankyou very much, Epper -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Sun Aug 7 18:30:43 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 18:30:43 +0200 Subject: [Gambas-user] 1.0.9 Error viewing Forms In-Reply-To: <8e99e48205080707067fbcd199@...627...> References: <8e99e48205080707067fbcd199@...627...> Message-ID: <200508071830.43226.gambas@...1...> On Sunday 07 August 2005 16:06, Epper wrote: > I've just installed Gambas on Fedora Core 4 (renaming gcc32 in gcc). > > At first run I start a new project. At the end of the wizard i add a form > and when I want to see the form I get this error: > > http://host.epper.org/linux/gambas/gambas_error.png > > (It is an Italian Version) > > Thankyou very much, Epper Did you compile from sources ? Is there anybody having the same problem on another distribution ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 7 19:36:27 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 19:36:27 +0200 Subject: [Gambas-user] Don't download gambas 1.9.15 now! Message-ID: <200508071936.27874.gambas@...1...> Hi, I have just uploaded gambas 1.9.15, but don't download it, as I just found why gb.qt is not compiled... The reason is that the gambas part of gb.qt needs the native part for being compiled, and it cannot work :-( So wait a little, until I found a workaround for that... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 7 22:20:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Aug 2005 22:20:25 +0200 Subject: [Gambas-user] Release of gambas 1.9.15 Message-ID: <200508072220.25593.gambas@...1...> At least, it should be good :-p What is new in this version ? The work on components written in Gambas has continued. Now you can make true containers. Otherwise: * ColumnView (and other view controls) got a Compare event that is called for comparing columns. A new not yet finished FileChooser control was made to show that. * The controls programmed in Gambas were moved to a new component, gb.form. When the GTK+ component will be finished :-) this component will be able to be used with gb.qt or gb.gtk indifferently. This is the better way for making new controls without having to program it in both toolkit. For example, I think about a Calendar control, TextBox for editing dates, times... Buttons for choosing colors, fonts... And so on... * Right-to-left languages are now took in account by container arrangement routines. * There is a new experimental Editor control in the QT extension component. It aims at replacing the GambasEditor control. It can share its text with other editors, display number lines. It may support custom highlighting routines in the future. There is an experimental 'gambas2-with-editor' project for those who want to see it in action. If you are interested in having a support for custom highlighting, tell me. * The problem of gb.qt not being compiled should be solved - If not, you know where lodging a complaint :-) Note that the last gb.gtk version was not included in this version. Regards, -- Benoit Minisini mailto:gambas at ...1... From m.epper at ...626... Mon Aug 8 14:09:09 2005 From: m.epper at ...626... (Epper) Date: Mon, 8 Aug 2005 14:09:09 +0200 Subject: [Gambas-user] Re: 1.0.9 Error viewing Forms Message-ID: <8e99e48205080805096e12f3c6@...627...> No, I've installed Gambas with yum. From danielcampos at ...282... Mon Aug 8 14:35:35 2005 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 08 Aug 2005 14:35:35 +0200 Subject: [Gambas-user] gb.gtk 080805 Message-ID: <42F75197.5070002@...282...> Hi: Here is a new version of gb.gtk: http://gambas.gnulinex.org/gtk Just for gambas-1.9.15, in order to test the UserContainer and Stock classes: * NEW: "UserContainer" class implemented. * FIXED: Some problems in menu representation. * NEW: "Stock" class implemented. * NEW: Stubs for Label.Autoresize and "Compare" properties and events. If you already downloaded and installed gambas2-1.9.15, remove the gb.gtk.gambas file placed in the components directory ( usually /usr/lib/gambas2 ), prior to compile and install this new version. Regards, D. Campos From gambas at ...1... Mon Aug 8 19:35:45 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Aug 2005 19:35:45 +0200 Subject: [Gambas-user] gb.gtk 05806 / qt bug In-Reply-To: <42F4D817.2090406@...282...> References: <42F4D817.2090406@...282...> Message-ID: <200508081935.45644.gambas@...1...> On Saturday 06 August 2005 17:32, Daniel Campos wrote: > Hi: > > New version of the gb.gtk component: > > http://gambas.gnulinex.org/gtk > > 050806 - Alpha > > * FIXED: Window.Mask and Window.Picture works in not top-level windows. > * FIXED: "Label" code rewritten to avoid extrange problems everywhere. > * NEW: "ListBox" Activate event implemented. > * FIXED: Position of HBox children for RTL languages. > * FIXED: Window.Raise now works if the window has a parent. > * FIXED: "PictureBox" mouse events are working now. > * FIXED: "Label" mouse events are working now. > * NEW: "TextBox" Activate event implemented. > * NEW: Enter and Leave events implemented fro all controls. > * FIXED: Frame,Panel,HBox,VBox,Hpanel and VPanel now receive MouseMove > and MouseUp events. > * NEW: "drag" part of DND, "Drag.Icon" and "Drag.Source" implemented. > > > Beno?t, it seems there's a problem with the "Picture" and "Mask" > properties in the gb.qt component. > Please try the example I send with this new gb.gtk version and then > change to the gb.qt component, > something is wrong... > > Regards, > > D. Campos I found - Actually I didn't think about the fact that an embedded window could have a mask, so there was bugs in the mask property management. Now it works. Two remarks: - Picture.Resize does not stretch the picture, it just resizes its dimensions. To stretch a picture, you have to do Picture = Picture.Image.Stretch(...).Picture ! But we can implement a Picture.Stretch method that does the same thing. I just wanted the user to be implicitely warned about the image stored in memory/XServer problem... By having a lot of code to write, the user will think "wow - it must be slow". - Resizing images is faster in GTK+ than in QT! Regards, -- Benoit Minisini mailto:gambas at ...1... From gbv at ...1076... Mon Aug 8 19:32:53 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Mon, 8 Aug 2005 19:32:53 +0200 Subject: [Gambas-user] 1.9.15 compilation error Message-ID: <200508081932.54024.gbv@...1076...> Hello, Trying to build 1.9.15 rpms I get the following compilation error: g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3/include -D_REENTRANT -pipe -Wall -fno-exceptions -Wno-unused-value -g -Os -fno-omit-frame-pointer -MT CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c CEditor.cpp -fPIC -DPIC -o .libs/CEditor.o CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol /usr/include/bits/mathcalls.h:242: error: previous declaration of `double y1(double)' make[5]: *** [CEditor.lo] Error 1 make[5]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src/ext' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.12722 (%build) Mi system is SuSE 9.3 with gcc-3.3.5 Any tip? Guillermo -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From lordheavy at ...512... Mon Aug 8 20:44:43 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 08 Aug 2005 20:44:43 +0200 Subject: [Gambas-user] 1.9.15 compilation error In-Reply-To: <200508081932.54024.gbv@...1076...> References: <200508081932.54024.gbv@...1076...> Message-ID: <42F7A81B.7040706@...512...> Guillermo Ballester Valor a ?crit : > Hello, > > Trying to build 1.9.15 rpms I get the following compilation error: > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3/include -D_REENTRANT -pipe > -Wall -fno-exceptions -Wno-unused-value -g -Os -fno-omit-frame-pointer -MT > CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c CEditor.cpp -fPIC -DPIC > -o .libs/CEditor.o > CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol > /usr/include/bits/mathcalls.h:242: error: previous declaration of `double > y1(double)' > make[5]: *** [CEditor.lo] Error 1 > make[5]: Leaving directory > `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src/ext' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.12722 (%build) > > Mi system is SuSE 9.3 with gcc-3.3.5 > > Any tip? > > Guillermo > You should compile with gcc 4 .... Or use the attached file (replace src/ext/CEditor.cpp) Regards, -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: CEditor.cpp Type: text/x-c++src Size: 17070 bytes Desc: not available URL: From oreip at ...1... Tue Aug 9 12:29:44 2005 From: oreip at ...1... (PV) Date: Tue, 09 Aug 2005 12:29:44 +0200 Subject: [Gambas-user] Release of gambas 1.9.15 In-Reply-To: <200508072220.25593.gambas@...1...> References: <200508072220.25593.gambas@...1...> Message-ID: <42F88598.1070007@...1...> On 07/08/2005 22:20, Benoit Minisini wrote: > At least, it should be good :-p > > What is new in this version ? I haven't seen this mentioned in the Changelog but I just noticed that the DrawingArea widget now sports a Merge property that makes my redrawing faaaaaaaast as lightning as before! :-) Thanks Benoit! > * The problem of gb.qt not being compiled should be solved - If not, you know > where lodging a complaint :-) This time I had problems with the gb.form component: it wasn't compiled as expected and the old "ValueBox not found" issue came out again. However, the same procedure already mentioned in the list (applied to gb.form, of course) did the trick. Ciao, Piero From abu.syafa at ...626... Wed Aug 10 00:16:36 2005 From: abu.syafa at ...626... (abu syafa) Date: Wed, 10 Aug 2005 05:16:36 +0700 Subject: [Gambas-user] My Errors when installing on Slackware 10.1 Message-ID: <46f0b9ad050809151627d7a916@...627...> $./configure --> OK $make --> there are some errors here: CWebcam.c: In function `CFEATURES_driver': CWebcam.c:927: error: storage size of `vcap' isn't known CWebcam.c:929: error: `VIDIOC_QUERYCAP' undeclared (first use in this function) CWebcam.c:929: error: (Each undeclared identifier is reported only once CWebcam.c:929: error: for each function it appears in.) CWebcam.c:927: warning: unused variable `vcap' CWebcam.c: In function `CFEATURES_bus': CWebcam.c:942: error: storage size of `vcap' isn't known CWebcam.c:944: error: `VIDIOC_QUERYCAP' undeclared (first use in this function) CWebcam.c:942: warning: unused variable `vcap' CWebcam.c: In function `CFEATURES_version': CWebcam.c:958: error: storage size of `vcap' isn't known CWebcam.c:960: error: `VIDIOC_QUERYCAP' undeclared (first use in this function) CWebcam.c:958: warning: unused variable `vcap' CWebcam.c: In function `CTUNER_low': CWebcam.c:1040: error: storage size of `vfreq' isn't known CWebcam.c:1046: error: `VIDIOC_G_FREQUENCY' undeclared (first use in this function) CWebcam.c:1051: error: `V4L2_TUNER_CAP_LOW' undeclared (first use in this function) CWebcam.c:1040: warning: unused variable `vfreq' CWebcam.c: In function `CTUNER_frequency': CWebcam.c:1070: error: storage size of `vfreq' isn't known CWebcam.c:1077: error: `VIDIOC_G_FREQUENCY' undeclared (first use in this function) CWebcam.c:1088: error: `VIDIOC_S_FREQUENCY' undeclared (first use in this function) CWebcam.c:1070: warning: unused variable `vfreq' make[4]: *** [CWebcam.lo] Error 1 make[4]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/gambas2-1.9.14' make: *** [all] Error 2 From gambas at ...1... Tue Aug 9 21:47:30 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Aug 2005 21:47:30 +0200 Subject: [Gambas-user] Release of gambas 1.9.15 In-Reply-To: <42F88598.1070007@...1...> References: <200508072220.25593.gambas@...1...> <42F88598.1070007@...1...> Message-ID: <200508092147.31403.gambas@...1...> On Tuesday 09 August 2005 12:29, PV wrote: > On 07/08/2005 22:20, Benoit Minisini wrote: > > At least, it should be good :-p > > > > What is new in this version ? > > I haven't seen this mentioned in the Changelog but I just noticed that the > DrawingArea widget now sports a Merge property that makes my redrawing > faaaaaaaast as lightning as before! :-) > Thanks Benoit! > > > * The problem of gb.qt not being compiled should be solved - If not, you > > know where lodging a complaint :-) > > This time I had problems with the gb.form component: it wasn't compiled as > expected and the old "ValueBox not found" issue came out again. > However, the same procedure already mentioned in the list (applied to > gb.form, of course) did the trick. > > > Ciao, > Piero > Gasp, I made the same mistake with gb.form... It references itself... Well, I have to make a new release soon to fix that! Regards, -- Benoit Minisini mailto:gambas at ...1... From matthias-laur at ...978... Tue Aug 9 09:48:52 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 9 Aug 2005 09:48:52 +0200 Subject: [Gambas-user] 1.9.15 compilation error Message-ID: <0MKwpI-1E2Oqz3UHu-00064y@...979...> Hi, I get this error: make[5]: *** [CEditor.lo] Fehler 1 make[5]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt/src/ext' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/Laur/gambas2-1.9.15' make: *** [all] Fehler 2 I'm using debian and gcc 4.0 Regards, Matthias -------------- next part -------------- An HTML attachment was scrubbed... URL: From kztyrvlq at ...966... Tue Aug 9 03:52:42 2005 From: kztyrvlq at ...966... (A Person) Date: Mon, 08 Aug 2005 23:22:42 -0230 Subject: [Gambas-user] Printer Setup Message-ID: <42F80C6A.9050802@...966...> Monday, 8 August 2005 I have checked about and I can absolutely nothing about the printer setup in Gambas. Is the Printer SetUp form a Gambas form or is it a front end for something? How can I semi-permanently modify the defaults? For example, the setup defaults to A4. I want US Letter. I just loaded the latest stable and it is a very good program. Paul. From gbv at ...1076... Mon Aug 8 23:46:20 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Mon, 8 Aug 2005 23:46:20 +0200 Subject: [Gambas-user] gb.qt bad compilation problem still here in 1.9.15 ? Message-ID: <200508082346.21248.gbv@...1076...> Hello, Finally I've build the rpms for 1.9.15. But after install them and try to launch gambas2: ERROR: #2: Cannot load class 'ValueBox': Unable to load class file So the problem is still there. I have to apply the same patch that for 1.9.14. Guillermo -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From francesco.difusco at ...69... Wed Aug 10 07:08:36 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Wed, 10 Aug 2005 07:08:36 +0200 Subject: [Gambas-user] Where to find applications written in Gambas Message-ID: <1123650516.8251.2.camel@...1064...> Where do I find applications written in Gambas? I want to realize a section in my site describing applications realized using Gambas. Could anyone of you help me, please? Thanks a lot Francesco From gbv at ...1076... Mon Aug 8 21:43:21 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Mon, 8 Aug 2005 21:43:21 +0200 Subject: [Gambas-user] 1.9.15 compilation error In-Reply-To: <42F7A81B.7040706@...512...> References: <200508081932.54024.gbv@...1076...> <42F7A81B.7040706@...512...> Message-ID: <200508082143.22149.gbv@...1076...> Thanks! I will compile with gcc 4.0.1 ;-) Guillermo El Lunes, 8 de Agosto de 2005 20:44, Laurent Carlier escribi?: > Guillermo Ballester Valor a ?crit : > > Hello, > > > > Trying to build 1.9.15 rpms I get the following compilation error: > > > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/lib/qt3/include -D_REENTRANT > > -pipe -Wall -fno-exceptions -Wno-unused-value -g -Os > > -fno-omit-frame-pointer -MT CEditor.lo -MD -MP -MF .deps/CEditor.Tpo -c > > CEditor.cpp -fPIC -DPIC -o .libs/CEditor.o > > CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol > > /usr/include/bits/mathcalls.h:242: error: previous declaration of `double > > y1(double)' > > make[5]: *** [CEditor.lo] Error 1 > > make[5]: Leaving directory > > `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src/ext' > > make[4]: *** [all-recursive] Error 1 > > make[4]: Leaving directory > > `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt/src' make[3]: *** > > [all-recursive] Error 1 > > make[3]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15/gb.qt' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.15' > > make: *** [all] Error 2 > > error: Bad exit status from /var/tmp/rpm-tmp.12722 (%build) > > > > Mi system is SuSE 9.3 with gcc-3.3.5 > > > > Any tip? > > > > Guillermo > > You should compile with gcc 4 .... > > Or use the attached file (replace src/ext/CEditor.cpp) > > Regards, -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From gbv at ...1076... Wed Aug 10 07:29:49 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Wed, 10 Aug 2005 07:29:49 +0200 Subject: [Gambas-user] gb.qt bad compilation problem still here in 1.9.15 ? In-Reply-To: <200508082346.21248.gbv@...1076...> References: <200508082346.21248.gbv@...1076...> Message-ID: <200508100729.50247.gbv@...1076...> For some reason the gambas-user list has been blocked during a long while, now I've resolved the problem. I had to apply the same tip that for 1.9.14 but this time in the directory 'comp/gb.form'. Guillermo. El Lunes, 8 de Agosto de 2005 23:46, Guillermo Ballester Valor escribi?: > Hello, > > Finally I've build the rpms for 1.9.15. But after install them and try to > launch gambas2: > > ERROR: #2: Cannot load class 'ValueBox': Unable to load class file > > So the problem is still there. I have to apply the same patch that for > 1.9.14. > > Guillermo -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From gbv at ...1076... Wed Aug 10 07:41:17 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Wed, 10 Aug 2005 07:41:17 +0200 Subject: [Gambas-user] Gambas2 1.9.15 for SuSE 9.3 Message-ID: <200508100741.17805.gbv@...1076...> Hello all, I finally was able to build the gambas2 1.9.15 RPMS for SuSE 9.3. I had to use the following tips: - compile with gcc 4.0.1 - before install step: cd comp/src/gb.form gbc2 gba2 I also used the gtk+ component from Daniel Campos, '050808' . Of course, there is the new 'gb.form' component. You can download them here ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.3 Guillermo -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From gambas at ...1... Wed Aug 10 20:29:50 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Aug 2005 20:29:50 +0200 Subject: [Gambas-user] My Errors when installing on Slackware 10.1 In-Reply-To: <46f0b9ad050809151627d7a916@...627...> References: <46f0b9ad050809151627d7a916@...627...> Message-ID: <200508102029.50513.gambas@...1...> On Wednesday 10 August 2005 00:16, abu syafa wrote: > $./configure > --> OK > $make > --> there are some errors here: > CWebcam.c: In function `CFEATURES_driver': > CWebcam.c:927: error: storage size of `vcap' isn't known > CWebcam.c:929: error: `VIDIOC_QUERYCAP' undeclared (first use in this > function) CWebcam.c:929: error: (Each undeclared identifier is reported > only once CWebcam.c:929: error: for each function it appears in.) > CWebcam.c:927: warning: unused variable `vcap' > CWebcam.c: In function `CFEATURES_bus': > CWebcam.c:942: error: storage size of `vcap' isn't known > CWebcam.c:944: error: `VIDIOC_QUERYCAP' undeclared (first use in this > function) CWebcam.c:942: warning: unused variable `vcap' > CWebcam.c: In function `CFEATURES_version': > CWebcam.c:958: error: storage size of `vcap' isn't known > CWebcam.c:960: error: `VIDIOC_QUERYCAP' undeclared (first use in this > function) CWebcam.c:958: warning: unused variable `vcap' > CWebcam.c: In function `CTUNER_low': > CWebcam.c:1040: error: storage size of `vfreq' isn't known > CWebcam.c:1046: error: `VIDIOC_G_FREQUENCY' undeclared (first use in > this function) > CWebcam.c:1051: error: `V4L2_TUNER_CAP_LOW' undeclared (first use in > this function) > CWebcam.c:1040: warning: unused variable `vfreq' > CWebcam.c: In function `CTUNER_frequency': > CWebcam.c:1070: error: storage size of `vfreq' isn't known > CWebcam.c:1077: error: `VIDIOC_G_FREQUENCY' undeclared (first use in > this function) > CWebcam.c:1088: error: `VIDIOC_S_FREQUENCY' undeclared (first use in > this function) > CWebcam.c:1070: warning: unused variable `vfreq' > make[4]: *** [CWebcam.lo] Error 1 > make[4]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/gambas2-1.9.14' > make: *** [all] Error 2 > > You have to install the linux kernel headers. Maybe you have to install the complete linux sources to get them. The reason is that the video component uses a part specific to the Linux kernel named "Video For Linux". Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 10 20:45:36 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Aug 2005 20:45:36 +0200 Subject: [Gambas-user] Printer Setup In-Reply-To: <42F80C6A.9050802@...966...> References: <42F80C6A.9050802@...966...> Message-ID: <200508102045.37053.gambas@...1...> On Tuesday 09 August 2005 03:52, A Person wrote: > Monday, 8 August 2005 > > I have checked about and I can absolutely nothing about the printer > setup in Gambas. > > Is the Printer SetUp form a Gambas form or is it a front end for something? > > How can I semi-permanently modify the defaults? For example, the setup > defaults to A4. I want US Letter. > > I just loaded the latest stable and it is a very good program. > > Paul. > > At the moment, the printer setup in Gambas is just a call to the Qt library printer setup dialog. Did you try to set the Printer properties before calling Printer.Setup ? I think a real and complete printer setup depends on KDE or GNOME. I know that with KDE you can do the following: 1) Print to a postcript file with Gambas, by setting a filename in the Printer.File property. 2) exec kprinter with all needed options. Tell me the result! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 10 20:47:39 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 10 Aug 2005 20:47:39 +0200 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <1123650516.8251.2.camel@...1064...> References: <1123650516.8251.2.camel@...1064...> Message-ID: <200508102047.39132.gambas@...1...> On Wednesday 10 August 2005 07:08, Di Fusco Francesco wrote: > Where do I find applications written in Gambas? I want to realize a > section in my site describing applications realized using Gambas. Could > anyone of you help me, please? > Thanks a lot > > Francesco > Personally, I wrote the development environment, the database manager, and a big CGI script to have a dynamic translatable help system :-) I have asked this question before on the mailing-list, so by searching a little you will find some answers to your question. Tell us the result! -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Aug 10 20:53:03 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 10 Aug 2005 14:53:03 -0400 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <1123650516.8251.2.camel@...1064...> References: <1123650516.8251.2.camel@...1064...> Message-ID: <200508101450.50949.sourceforge-raindog2@...94...> On Wednesday 10 August 2005 01:08, Di Fusco Francesco wrote: > Where do I find applications written in Gambas? I want to realize a > section in my site describing applications realized using Gambas. Well, http://gambas.magic-systems.net/ (GambasForge) currently has 62 projects listed, though some of them are just code snippets. For a while, Linspire/Lindows was dabbling in using early 0.x versions of Gambas to write some of their utilities, but I think they've since settled on PyQt (judging by LPhoto and LSongs) since Gambas was still a long way from 1.0 when they released those. Rob From matthias-laur at ...978... Wed Aug 10 22:22:49 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Wed, 10 Aug 2005 20:22:49 +0000 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <200508102047.39132.gambas@...1...> References: <1123650516.8251.2.camel@...1064...> <200508102047.39132.gambas@...1...> Message-ID: <200508102022.49593.matthias-laur@...978...> Hello, I'm just working on a project in gambas. It is my bachelor exam for the university. The application is a "homeserver" for controling some hardware (video observation for example) in your private house. Please tell me what informations you need? Gambas is one of the best things in the linux world :-) Regards, Matthias From francesco.difusco at ...69... Wed Aug 10 23:29:50 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Wed, 10 Aug 2005 23:29:50 +0200 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <200508102047.39132.gambas@...1...> References: <1123650516.8251.2.camel@...1064...> <200508102047.39132.gambas@...1...> Message-ID: <1123709391.518.8.camel@...1064...> > > Personally, I wrote the development environment, the database manager, and a > big CGI script to have a dynamic translatable help system :-) > I have asked this question before on the mailing-list, so by searching a > little you will find some answers to your question. > > Tell us the result! > Well, I'll try it. I think Gambas is a very powerful tool. I have used it to realize simple programs, or interfaces to command line programs. But whenever I look for "Gambas" in Internet, I always find the same pages. Only few about programs realized in Gambas, ready to download. I would like to realize a catalogation of the gambas software, articles, tutorials, etc. In http://www.teachingonline.it/articoli.php you will find some article/tutorials I wrote about gambas (I know, they are in Italian language) Francesco From francesco.difusco at ...69... Wed Aug 10 23:31:09 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Wed, 10 Aug 2005 23:31:09 +0200 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <200508101450.50949.sourceforge-raindog2@...94...> References: <1123650516.8251.2.camel@...1064...> <200508101450.50949.sourceforge-raindog2@...94...> Message-ID: <1123709469.518.10.camel@...1064...> Il giorno mer, 10-08-2005 alle 14:53 -0400, Rob ha scritto: > On Wednesday 10 August 2005 01:08, Di Fusco Francesco wrote: > > Where do I find applications written in Gambas? I want to realize a > > section in my site describing applications realized using Gambas. > > Well, http://gambas.magic-systems.net/ (GambasForge) currently has 62 > projects listed, though some of them are just code snippets. Thank you Rob, I'll start from here. Francesco From francesco.difusco at ...69... Wed Aug 10 23:34:47 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Wed, 10 Aug 2005 23:34:47 +0200 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <200508102022.49593.matthias-laur@...978...> References: <1123650516.8251.2.camel@...1064...> <200508102047.39132.gambas@...1...> <200508102022.49593.matthias-laur@...978...> Message-ID: <1123709687.518.15.camel@...1064...> Il giorno mer, 10-08-2005 alle 20:22 +0000, Matthias Laur ha scritto: > Hello, > I'm just working on a project in gambas. It is my bachelor exam for the > university. The application is a "homeserver" for controling some hardware > (video observation for example) in your private house. Please tell me what > informations you need? Everything about your project, as soon as you finish it. Maybe you could write a tutorial for me (well, at the moment I am non able to pay you), or maybe I could publish your software in my site. I could write a tutorial, if you don't want to do it. Anyway, everything is appreciated a lot. Francesco From oreip at ...1... Wed Aug 10 23:37:05 2005 From: oreip at ...1... (PV) Date: Wed, 10 Aug 2005 23:37:05 +0200 Subject: [Gambas-user] My Errors when installing on Slackware 10.1 In-Reply-To: <200508102029.50513.gambas@...1...> References: <46f0b9ad050809151627d7a916@...627...> <200508102029.50513.gambas@...1...> Message-ID: <42FA7381.705@...1...> On 10/08/2005 20:29, Benoit Minisini wrote: > You have to install the linux kernel headers. Maybe you have to install the > complete linux sources to get them. > > The reason is that the video component uses a part specific to the Linux > kernel named "Video For Linux". Actually, I run Slackware too and I'm experiencing the same problem that has been mentioned. I have the complete kernel sources installed on my machine and I am able to compile and use applications using v4l but so far no success to compile gb.v4l in Gambas. The only solution for me is to disable gb.v4l, at least for now. Ciao, Piero From danielcampos at ...282... Thu Aug 11 07:22:39 2005 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 11 Aug 2005 07:22:39 +0200 Subject: [Gambas-user] My Errors when installing on Slackware 10.1 In-Reply-To: <200508102029.50513.gambas@...1...> References: <46f0b9ad050809151627d7a916@...627...> <200508102029.50513.gambas@...1...> Message-ID: <42FAE09F.7030101@...282...> Benoit Minisini escribi?: >On Wednesday 10 August 2005 00:16, abu syafa wrote: > > >> >> >> >> > >You have to install the linux kernel headers. Maybe you have to install the >complete linux sources to get them. > > Hi: I think the kernel-headers package should be enough, not all kernel sources... Regards, D. Campos > > > From matthias-laur at ...978... Thu Aug 11 08:39:43 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Thu, 11 Aug 2005 08:39:43 +0200 Subject: AW: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <1123709687.518.15.camel@...1064...> Message-ID: <0MKwtQ-1E36j93Wwu-0002Rr@...979...> It should be finish at the end of october. Today, it is all in german, but I try to translate some parts. Maybe you can give some informations about your site. Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Di Fusco Francesco Gesendet: Mittwoch, 10. August 2005 23:35 An: gambas-user at lists.sourceforge.net Betreff: Re: [Gambas-user] Where to find applications written in Gambas Il giorno mer, 10-08-2005 alle 20:22 +0000, Matthias Laur ha scritto: > Hello, > I'm just working on a project in gambas. It is my bachelor exam for the > university. The application is a "homeserver" for controling some hardware > (video observation for example) in your private house. Please tell me what > informations you need? Everything about your project, as soon as you finish it. Maybe you could write a tutorial for me (well, at the moment I am non able to pay you), or maybe I could publish your software in my site. I could write a tutorial, if you don't want to do it. Anyway, everything is appreciated a lot. Francesco ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From francesco.difusco at ...69... Thu Aug 11 10:06:27 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Thu, 11 Aug 2005 10:06:27 +0200 Subject: AW: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <0MKwtQ-1E36j93Wwu-0002Rr@...979...> References: <0MKwtQ-1E36j93Wwu-0002Rr@...979...> Message-ID: <1123747587.13090.3.camel@...1064...> Il giorno gio, 11-08-2005 alle 08:39 +0200, Matthias Laur ha scritto: > It should be finish at the end of october. Today, it is all in german, but I > try to translate some parts. Maybe you can give some informations about your > site. Well, actually I have two sites devoted to Gambas, but only one is working now. The first, www.gambas-italia.net, is the one I am non upgrading, the second one, www.teachingonline.it is the site I update more frequently, and where you can find (in Italian, now) various articles (only few, actually) about Gambas. Thanks Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From oreip at ...1... Thu Aug 11 09:59:51 2005 From: oreip at ...1... (PV) Date: Thu, 11 Aug 2005 09:59:51 +0200 Subject: [Gambas-user] My Errors when installing on Slackware 10.1 In-Reply-To: <42FAE09F.7030101@...282...> References: <46f0b9ad050809151627d7a916@...627...> <200508102029.50513.gambas@...1...> <42FAE09F.7030101@...282...> Message-ID: <42FB0577.1050602@...1...> On 11/08/2005 07:22, Daniel Campos wrote: > Benoit Minisini escribi?: >> You have to install the linux kernel headers. Maybe you have to >> install the complete linux sources to get them. >> >> > Hi: > > I think the kernel-headers package should be enough, not all kernel > sources... On Slackware you still have the choice to install a 2.4 kernel and/or 2.4 sources and headers, so if you do that, you will end up with 2.4 stuff in /usr/include/linux and that will be the cause of the error during compilation of gb.v4l. To solve this problem, it is necessary either to install a more recent 2.6 kernel sources package or, as it was in my case since I had already installed it, simply link /usr/include/linux to where the 2.6 headers are on your hd, in my case /usr/src/linux/include/linux. Now my Gambas installation finally boasts a beautiful v4l component... :-) Ciao, Piero From joern.koerner at ...18... Thu Aug 11 10:24:54 2005 From: joern.koerner at ...18... (Joern Koerner) Date: Thu, 11 Aug 2005 10:24:54 +0200 Subject: [Gambas-user] Richtext Editcontrol? Message-ID: <200508111024.55489.joern.koerner@...18...> Is there something like a RichText edit-Control in Gambas, or KWord integration? This is what I would really like to have. Joern From matthias-laur at ...978... Thu Aug 11 10:50:12 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Thu, 11 Aug 2005 10:50:12 +0200 Subject: [Gambas-user] can't compile 1.9.15 Message-ID: <0ML2Dk-1E38lP1ZTY-0000u7@...979...> Until 1.9.15 there was no problem on my machine to compile gambas, but with this version I get still this error: CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol /usr/include/bits/mathcalls.h:242: error: previous declaration of `double y1(double)' make[5]: *** [CEditor.lo] Fehler 1 make[5]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt/src/ext' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/Laur/gambas2-1.9.15' make: *** [all] Fehler 2 I use now 4.0.1, but it is always this error. Whats wrong? Regards, Matthias -------------- next part -------------- An HTML attachment was scrubbed... URL: From lordheavy at ...512... Thu Aug 11 11:10:18 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 11 Aug 2005 11:10:18 +0200 Subject: [Gambas-user] can't compile 1.9.15 In-Reply-To: <0ML2Dk-1E38lP1ZTY-0000u7@...979...> References: <0ML2Dk-1E38lP1ZTY-0000u7@...979...> Message-ID: <42FB15FA.8080106@...512...> Matthias Laur a ?crit : > Until 1.9.15 there was no problem on my machine to compile gambas, but with > this version I get still this error: > > > > CEditor.cpp:37: error: `int y1' redeclared as different kind of symbol > > /usr/include/bits/mathcalls.h:242: error: previous declaration of `double > > y1(double)' > > make[5]: *** [CEditor.lo] Fehler 1 > > make[5]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt/src/ext' > > make[4]: *** [all-recursive] Fehler 1 > > make[4]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt/src' > > make[3]: *** [all-recursive] Fehler 1 > > make[3]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt' > > make[2]: *** [all] Fehler 2 > > make[2]: Leaving directory `/home/Laur/gambas2-1.9.15/gb.qt' > > make[1]: *** [all-recursive] Fehler 1 > > make[1]: Leaving directory `/home/Laur/gambas2-1.9.15' > > make: *** [all] Fehler 2 > > > > I use now 4.0.1, but it is always this error. Whats wrong? > > > > Regards, > > Matthias > > (under debian) Does compile with : CXX=g++-4.0 ./configure && make Raise an error ? Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From matthias-laur at ...978... Thu Aug 11 11:20:22 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Thu, 11 Aug 2005 11:20:22 +0200 Subject: AW: [Gambas-user] can't compile 1.9.15 In-Reply-To: <42FB15FA.8080106@...512...> Message-ID: <0ML29c-1E39Ec18KK-0003E3@...979...> (under debian) Does compile with : CXX=g++-4.0 ./configure && make Raise an error ? What do you mean? I use this command: ./configure -C CC=/usr/bin/gcc-4.0 --prefix=/opt/gambas2 Another time I have switched gcc-4.0 to the standard compiler It is always the same error. From matthias-laur at ...978... Thu Aug 11 11:55:57 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Thu, 11 Aug 2005 11:55:57 +0200 Subject: AW: [Gambas-user] can't compile 1.9.15 In-Reply-To: <42FB15FA.8080106@...512...> Message-ID: <0MKwpI-1E39n22cgR-0007NG@...979...> Now I know what you mean. I tried it with g++ 4.0 and it works. Thank you! From lordheavy at ...512... Thu Aug 11 12:10:35 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 11 Aug 2005 12:10:35 +0200 Subject: AW: [Gambas-user] can't compile 1.9.15 In-Reply-To: <0ML29c-1E39Ec18KK-0003E3@...979...> References: <0ML29c-1E39Ec18KK-0003E3@...979...> Message-ID: <42FB241B.90800@...512...> Matthias Laur a ?crit : > (under debian) > Does compile with : CXX=g++-4.0 ./configure && make > > Raise an error ? > If you have the same error at compilation time > > What do you mean? > > I use this command: ./configure -C CC=/usr/bin/gcc-4.0 --prefix=/opt/gambas2 > > Another time I have switched gcc-4.0 to the standard compiler > > It is always the same error. > > CC is for c, CXX is for C++ .... and Ceditor.cpp (qt component) is C++ Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gbv at ...1076... Thu Aug 11 11:30:16 2005 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Thu, 11 Aug 2005 11:30:16 +0200 Subject: AW: [Gambas-user] can't compile 1.9.15 In-Reply-To: <0ML29c-1E39Ec18KK-0003E3@...979...> References: <0ML29c-1E39Ec18KK-0003E3@...979...> Message-ID: <200508111130.16710.gbv@...1076...> El Jueves, 11 de Agosto de 2005 11:20, Matthias Laur escribi?: > (under debian) > Does compile with : CXX=g++-4.0 ./configure && make > > Raise an error ? > > > What do you mean? > > I use this command: ./configure -C CC=/usr/bin/gcc-4.0 > --prefix=/opt/gambas2 > > Another time I have switched gcc-4.0 to the standard compiler > > It is always the same error. You also have to add 'CXX=/usr/bin/gxx-4.0' The problem is in a c++ file, not in a plain c one. Guillermo -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Linux user #117181. See http://counter.li.org/ Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html From elentirmo at ...20... Thu Aug 11 13:16:07 2005 From: elentirmo at ...20... (Marco Bauer) Date: Thu, 11 Aug 2005 13:16:07 +0200 Subject: [Gambas-user] Richtext Editcontrol? In-Reply-To: <200508111024.55489.joern.koerner@...18...> References: <200508111024.55489.joern.koerner@...18...> Message-ID: <200508111316.08488.elentirmo@...20...> Hi Joern, you can use the TextView control to display text with different fonts, sizes, colors etc. using HTML tags. For example: TextView.Text = TextView.Text & "some text" Gruss Marco Am Donnerstag, 11. August 2005 10:24 schrieb Joern Koerner: > Is there something like a RichText edit-Control in Gambas, or KWord > integration? > > This is what I would really like to have. > > Joern > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Aug 11 17:07:09 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 11 Aug 2005 17:07:09 +0200 Subject: [Gambas-user] Release of gambas 1.9.16 Message-ID: <200508111707.09197.gambas@...1...> Hi, This release should fix the compilation problems of 1.9.14 and 1.9.15. Otherwise, I will make a 1.9.17... :o) Containers written with Gambas support is good now, and now you have two new containers in the gb.form component: ToolPanel, that implements toolbars with panels like the Gambas tool-box, and Wizard, that helps you making wizards. Try them and tell me what you think about that. If you are more curious, the sources of these two new containers are in './comp/gb.form'. Enjoy it, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1077... Thu Aug 11 18:16:28 2005 From: gambas at ...1077... (gambas at ...1077...) Date: Thu, 11 Aug 2005 11:16:28 -0500 Subject: [Gambas-user] gb.api ApiStruct Message-ID: <1123776988.42fb79dcdebbd@...1078...> Hello everyone! I am new to Gambas and only have some experience in VB. I am trying to use the ApiStruct function from the gb.api Component. I am running version 1.9.13 Following the instructions from the (old) manual. Here is the source code I am using: PUBLIC SUB Button1_Click() DIM stData AS ApiStruct DIM hPointer AS Pointer stData = NEW ApiStruct(["gen_id", "n_count", "str"], [Api.short, Api.int, Api.pointer]) hPointer = Alloc(stData.Size) stData.PutValue(hPointer, "gen_id", 23) stData.PutValue(hPointer, "n_count", 257) stData.PutValue(hPointer, "str", "my data") PRINT stData.GetValue(hPointer, "gen_id") END When I execute the event I get the following error message: Invalid field type in the stData = NEW ApiStruct(["gen_id", "n_count", "str"], [Api.short, Api.int, Api.pointer]) line. I tried all kinds of things but nothing seems to work. The same code worked in version 1.9.11 as long as I did not use the "str" Api.Pointer variable. Please help!! Also, does anybody know were I could find more documentation for this Component. Thanks!! Alex From lduperval at ...626... Thu Aug 11 18:37:31 2005 From: lduperval at ...626... (Laurent Duperval) Date: Thu, 11 Aug 2005 12:37:31 -0400 Subject: [Gambas-user] Gambas and Postgres 8.x Message-ID: <870c8dd20508110937495f5ab5@...627...> Hi, Has anyone had any success usng Gambas with Postgres 8? I'm considering migrating from 7.x to 8.x. Thanks, L From sourceforge-raindog2 at ...94... Thu Aug 11 19:42:54 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 11 Aug 2005 13:42:54 -0400 Subject: [Gambas-user] Richtext Editcontrol? In-Reply-To: <200508111316.08488.elentirmo@...20...> References: <200508111024.55489.joern.koerner@...18...> <200508111316.08488.elentirmo@...20...> Message-ID: <200508111342.54883.sourceforge-raindog2@...94...> On Thursday 11 August 2005 07:16, Marco Bauer wrote: > > Is there something like a RichText edit-Control in Gambas, or > > KWord integration? > Hi Joern, > you can use the TextView control to display text with different > fonts, sizes, colors etc. using HTML tags. For example: Unfortunately, as far as I know there's no way to edit text using a TextView control. Qt has a QTextEdit widget to do this, but I think it's only available starting with 4.0. I'm not sure about KDE (as Joern suggested, it may be that the KDE solution is to embed KWord using DCOP.) However, it should be possible to implement one in the meantime by subclassing TextView and intercepting key presses etc. If not TextView, then I guess you'd have to use a DrawingArea and write your own HTML parsing code.... ewwww. Rob From oreip at ...1... Thu Aug 11 21:40:44 2005 From: oreip at ...1... (PV) Date: Thu, 11 Aug 2005 21:40:44 +0200 Subject: [Gambas-user] Release of gambas 1.9.16 In-Reply-To: <200508111707.09197.gambas@...1...> References: <200508111707.09197.gambas@...1...> Message-ID: <42FBA9BC.3030505@...1...> On 11/08/2005 17:07, Benoit Minisini wrote: > Hi, > > This release should fix the compilation problems of 1.9.14 and 1.9.15. > > Otherwise, I will make a 1.9.17... :o) Everything compiled and ran smooooth as silk... :-) Ciao, Piero From joern.koerner at ...18... Fri Aug 12 10:18:07 2005 From: joern.koerner at ...18... (Joern Koerner) Date: Fri, 12 Aug 2005 10:18:07 +0200 Subject: [Gambas-user] Richtext Editcontrol? In-Reply-To: <200508111342.54883.sourceforge-raindog2@...94...> References: <200508111024.55489.joern.koerner@...18...> <200508111316.08488.elentirmo@...20...> <200508111342.54883.sourceforge-raindog2@...94...> Message-ID: <200508121018.07375.joern.koerner@...18...> On Thursday 11 August 2005 19:42, Rob wrote: > On Thursday 11 August 2005 07:16, Marco Bauer wrote: > > > Is there something like a RichText edit-Control in Gambas, or > > > KWord integration? > > > > Hi Joern, > > you can use the TextView control to display text with different > > fonts, sizes, colors etc. using HTML tags. For example: > > Unfortunately, as far as I know there's no way to edit text using a > TextView control. Qt has a QTextEdit widget to do this, but I think > it's only available starting with 4.0. I'm not sure about KDE (as > Joern suggested, it may be that the KDE solution is to embed KWord > using DCOP.) > > However, it should be possible to implement one in the meantime by > subclassing TextView and intercepting key presses etc. If not > TextView, then I guess you'd have to use a DrawingArea and write your > own HTML parsing code.... ewwww. ...I already guessed it... ;-) Joern From gambas at ...1... Fri Aug 12 21:53:58 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 12 Aug 2005 21:53:58 +0200 Subject: [Gambas-user] Richtext Editcontrol? In-Reply-To: <200508111342.54883.sourceforge-raindog2@...94...> References: <200508111024.55489.joern.koerner@...18...> <200508111316.08488.elentirmo@...20...> <200508111342.54883.sourceforge-raindog2@...94...> Message-ID: <200508122153.58326.gambas@...1...> On Thursday 11 August 2005 19:42, Rob wrote: > On Thursday 11 August 2005 07:16, Marco Bauer wrote: > > > Is there something like a RichText edit-Control in Gambas, or > > > KWord integration? > > > > Hi Joern, > > you can use the TextView control to display text with different > > fonts, sizes, colors etc. using HTML tags. For example: > > Unfortunately, as far as I know there's no way to edit text using a > TextView control. Qt has a QTextEdit widget to do this, but I think > it's only available starting with 4.0. I'm not sure about KDE (as > Joern suggested, it may be that the KDE solution is to embed KWord > using DCOP.) > > However, it should be possible to implement one in the meantime by > subclassing TextView and intercepting key presses etc. If not > TextView, then I guess you'd have to use a DrawingArea and write your > own HTML parsing code.... ewwww. > > Rob > There is a "rich text" editor widget in qt3, but I never had the time to put it in the gb.qt component. Anyway I need to see with Daniel first: we must check the features of the rich text editor in qt, and in gtk+, so that the corresponding gambas control has the same interface in gb.qt and gb.gtk... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Fri Aug 12 22:04:48 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Fri, 12 Aug 2005 22:04:48 +0200 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <1123709469.518.10.camel@...1064...> References: <1123650516.8251.2.camel@...1064...> <200508101450.50949.sourceforge-raindog2@...94...> <1123709469.518.10.camel@...1064...> Message-ID: <200508122204.49012.gambasfr@...11...> Le Mercredi 10 Ao?t 2005 23:31, Di Fusco Francesco a ?crit?: > Il giorno mer, 10-08-2005 alle 14:53 -0400, Rob ha scritto: > > On Wednesday 10 August 2005 01:08, Di Fusco Francesco wrote: > > > Where do I find applications written in Gambas? I want to realize a > > > section in my site describing applications realized using Gambas. > > > > Well, http://gambas.magic-systems.net/ (GambasForge) currently has 62 > > projects listed, though some of them are just code snippets. > > Thank you Rob, I'll start from here. > > Francesco > hey Rob, it's http://www.gambasforge.net now :) Fabien Bodard From sourceforge-raindog2 at ...94... Fri Aug 12 23:00:12 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 12 Aug 2005 17:00:12 -0400 Subject: [Gambas-user] Where to find applications written in Gambas In-Reply-To: <200508122204.49012.gambasfr@...11...> References: <1123650516.8251.2.camel@...1064...> <1123709469.518.10.camel@...1064...> <200508122204.49012.gambasfr@...11...> Message-ID: <200508121700.12124.sourceforge-raindog2@...94...> On Friday 12 August 2005 16:04, Fabien Bodard wrote: > > > Well, http://gambas.magic-systems.net/ (GambasForge) currently > > > has 62 projects listed, though some of them are just code > > > snippets. > hey Rob, it's http://www.gambasforge.net now :) oops, sorry, I googled for it ;) Rob From kztyrvlq at ...966... Fri Aug 12 23:18:15 2005 From: kztyrvlq at ...966... (A Person) Date: Fri, 12 Aug 2005 18:48:15 -0230 Subject: [Gambas-user] Re: How to disable the ALT underline word in buttons? Message-ID: <42FD1217.8090702@...966...> Friday, 12 August 2005 This is very late but I have some answers for you. I have the same problem and I tracked down the problem through TrollTech, KDE and Gambas. This is a 'feature' in my version of KDE 3.4. It can be turned off but the technical knowledge is far above me. In Gambas the problem arises with the use of the gb.qt.kde component. If I remove this component from my projects then the problem does not occur. This is OK with me but in one of my apps I use the DatePicker which is a part of this component so I am stuck with the underscores. This was a real big problem for my bingo project. The form has 150 command buttons and the underscores were randomly appearing across the form. Bad form. No pun intended. Hope this helps. Paul From gambas at ...1077... Sat Aug 13 11:05:06 2005 From: gambas at ...1077... (Alex Schaller) Date: Sat, 13 Aug 2005 09:05:06 +0000 Subject: [Gambas-user] Serial Port Problem Message-ID: <200508130905.06102.gambas@...1077...> Hello! I am trying to write an IDE for the Basic Stamp microcontroller. This contoller interfaces through the serial port with the PC. Here is the required sequence to interface with it. 1. Set DTR HIGH 2. Set Break condition on TX 3. Pause for at least 2ms 4. Set DTR LOW 5. Pause for at least 36ms 6. Clear break condition 7. Pause for approximately 20ms and flush receive buffer. After that you have to send and receive a sequence of characters to identify the actual version of the microcontroller. I was using the Wait() function for the pause sequences. What I don't know is how to do the "Set/Clear Break condition on TX". I found some C-Source code on how this is done in C. But I don't understand it enough to make sense of it. Here is the C-Code: //setup serial port tcgetattr(fd,&oldtios); newtios.c_cflag=B9600|CS8|CLOCAL|CREAD; newtios.c_iflag=IGNPAR; newtios.c_oflag=0; newtios.c_lflag=0; newtios.c_line=0; newtios.c_cc[VMIN]=0; newtios.c_cc[VTIME]=5; tcsetattr(fd,TCSANOW,&newtios); //init protocol dtr_flag=TIOCM_DTR; ioctl(fd,TIOCMBIS,&dtr_flag); ioctl(fd,TIOCSBRK,4); usleep(2000); dtr_flag=TIOCM_DTR; ioctl(fd,TIOCMBIC,&dtr_flag); usleep(36000); ioctl(fd,TIOCCBRK,4); usleep(2000); tcflush(fd,TCIFLUSH); He is using the ioctl() function but I could not find anything like it in Gambas. Hopefully someone can tell me how to do this in Gambas or use the C-Code in Gambas. Thanks!!!! Alex From danielcampos at ...282... Sat Aug 13 16:20:50 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 13 Aug 2005 16:20:50 +0200 Subject: [Gambas-user] Serial Port Problem In-Reply-To: <200508130905.06102.gambas@...1077...> References: <200508130905.06102.gambas@...1077...> Message-ID: <42FE01C2.4050909@...282...> Hi: The SerialPort class is intended to be used in more simple scenarios: as you are using a very low-level control over the serial port, you should perform all operations (including the pauses), using directly "API calls". This is possible using Gambas2, as Gambas1 does not provide that functionallity. Or may be you can open the port with a SerialPort object, then pass the "Id" or "Handle" property to these "api calls", and then send and receive data using that SerialPort object, but I don't know if the ioctl commands will interference the normal SerialPort object work. It is a try and error matter. There is some brief information about API calls here: http://64.128.110.55/help/lang/extdecl , so you can start transfering the C code to Gambas code. You should know where the C functions are placed (I think all that you need is placed at glibc library), and the values of the constants (for example, you can look in the headers included in the C sources, or write a little C program with these headers and then "printf("%d\n",B9600)" and things like this). Regards, D. Campos Alex Schaller escribi?: >Hello! > >I am trying to write an IDE for the Basic Stamp microcontroller. >This contoller interfaces through the serial port with the PC. Here is the >required sequence to interface with it. > >1. Set DTR HIGH >2. Set Break condition on TX >3. Pause for at least 2ms >4. Set DTR LOW >5. Pause for at least 36ms >6. Clear break condition >7. Pause for approximately 20ms and flush receive buffer. > >After that you have to send and receive a sequence of characters to identify >the actual version of the microcontroller. >I was using the Wait() function for the pause sequences. What I don't know is >how to do the "Set/Clear Break condition on TX". I found some C-Source code >on how this is done in C. But I don't understand it enough to make sense of >it. Here is the C-Code: > > //setup serial port > tcgetattr(fd,&oldtios); > newtios.c_cflag=B9600|CS8|CLOCAL|CREAD; > newtios.c_iflag=IGNPAR; > newtios.c_oflag=0; > newtios.c_lflag=0; > newtios.c_line=0; > newtios.c_cc[VMIN]=0; > newtios.c_cc[VTIME]=5; > tcsetattr(fd,TCSANOW,&newtios); > > //init protocol > dtr_flag=TIOCM_DTR; > ioctl(fd,TIOCMBIS,&dtr_flag); > ioctl(fd,TIOCSBRK,4); > usleep(2000); > dtr_flag=TIOCM_DTR; > ioctl(fd,TIOCMBIC,&dtr_flag); > usleep(36000); > ioctl(fd,TIOCCBRK,4); > usleep(2000); > tcflush(fd,TCIFLUSH); > >He is using the ioctl() function but I could not find anything like it in >Gambas. Hopefully someone can tell me how to do this in Gambas or use the >C-Code in Gambas. > > >Thanks!!!! > >Alex > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From francesco.difusco at ...69... Sat Aug 13 16:40:58 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Sat, 13 Aug 2005 16:40:58 +0200 Subject: [Gambas-user] How do I navigate a MySql Table Message-ID: <1123944058.12933.3.camel@...1064...> Hi, I am writing a little application that connects to a mysql table and browse the records using last, first, prev and next buttons ( using the methods of the result object). But when I reach the last record using movenext method (or when I reach the first record, using movefirst method), I am not able to navigate anymore the table. Could anyone send me a simple example? Thanks Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From na2492 at ...9... Sat Aug 13 20:14:00 2005 From: na2492 at ...9... (Charlie Reinl) Date: Sat, 13 Aug 2005 20:14:00 00200 Subject: [Gambas-user] How do I navigate a MySql Table Message-ID: <42fe3868.555c.0@...9...> >Hi, I am writing a little application that connects to a mysql table and >browse the records using last, first, prev and next buttons ( using the >methods of the result object). But when I reach the last record using >movenext method (or when I reach the first record, using movefirst >method), I am not able to navigate anymore the table. Could anyone send >me a simple example? > >Thanks > >Francesco > >-- >Teaching OnLine >Corsi online di programmazione >Php, Asp, C, C++, Visual Basic, Delphi >Linux Shell Programming >------------------------------------ >http://www.teachingonline.it Salut, this are out of my TableView Class, I think it will be easy to use it in a forms button-Click. PUBLIC SUB MoveNext() IF ME.Row < ME.Rows.Count - 1 THEN ME.MoveTo(ME.Row + 1, ME.Column) ENDIF END PUBLIC SUB MovePrevious() IF ME.Row > 0 THEN ME.MoveTo(ME.Row - 1, ME.Column) ENDIF END PUBLIC SUB MoveFirst() IF ME.Rows.Count - 1 > 0 THEN ME.MoveTo(0, ME.Column) ENDIF CATCH message.Info("DBTableView.MoveFirst" & gb.NewLine & Error.Text) END PUBLIC SUB MoveLast() IF ME.Rows.Count - 1 > 0 THEN ME.MoveTo(ME.Rows.Count - 1, ME.Column) ENDIF CATCH message.Info("DBTableView.MoveLast" & gb.NewLine & Error.Text) END Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From admin at ...1080... Sat Aug 13 20:20:14 2005 From: admin at ...1080... (Werner Staudacher) Date: Sat, 13 Aug 2005 20:20:14 +0200 Subject: [Gambas-user] Are gambas versions downward compatibly? Message-ID: <42FE39DE.1070404@...1080...> I started with version 1.0.3 to work and have 3 projects done. Now i upgradet to version 1.9.12 (Debian from Jos? L. Redrejo Rodr??gue). Not one from the earlier projects is possible to run anymore. I think, i need to upgrade them. The question i asks myself is: What when a user has two or more apps written with gambas but from diffrent versions? Is that possible (like with VB 1 to 6) or the user has to ask all the programmers to upgrade the apps to the latest version he is using? One of my projects i made downloadable from my webpage. When for gambas it is not possible to be downward compatible, its better i drop it. I think that i miss some info about this problem, maybe somebody can clear me up. Thanks, staudi From matthias-laur at ...978... Sat Aug 13 20:43:31 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Sat, 13 Aug 2005 18:43:31 +0000 Subject: [Gambas-user] Are gambas versions downward compatibly? In-Reply-To: <42FE39DE.1070404@...1080...> References: <42FE39DE.1070404@...1080...> Message-ID: <200508131843.31490.matthias-laur@...978...> the stable and the devel version are not 100% compatible. You must upgrade to the stabel version 1.0.9. Then your projects should still run well. Regards, Matthias From admin at ...1080... Sat Aug 13 20:50:26 2005 From: admin at ...1080... (Werner Staudacher) Date: Sat, 13 Aug 2005 20:50:26 +0200 Subject: [Gambas-user] setting of dialog.path=variable for dialog.openfile does not functions Message-ID: <42FE40F2.5050203@...1080...> Hi all I use newly gambas version 1.9.12. Setting of dialog.path=variable for dialog.openfile does not functions, the dialog opens allway on the users home directory. With gambas 1.0.3 this property worked as desired. Has something changed how to code this correctly? thanks, staudi From francesco.difusco at ...69... Sat Aug 13 21:22:51 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Sat, 13 Aug 2005 21:22:51 +0200 Subject: [Gambas-user] How do I navigate a MySql Table In-Reply-To: <42fe3868.555c.0@...9...> References: <42fe3868.555c.0@...9...> Message-ID: <1123960971.11035.1.camel@...1064...> Ok, thank you, I'll try to "translate" this code for my needings. Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From gambas-user at lists.sourceforge.net Sat Aug 13 21:21:16 2005 From: gambas-user at lists.sourceforge.net (Werner Staudacher) Date: Sat, 13 Aug 2005 21:21:16 +0200 Subject: [Gambas-user] Are gambas versions downward compatibly? In-Reply-To: <200508131843.31490.matthias-laur@...978...> References: <42FE39DE.1070404@...1080...> <200508131843.31490.matthias-laur@...978...> Message-ID: <42FE482C.6090902@lists.sourceforge.net> Matthias Laur schrieb: >the stable and the devel version are not 100% compatible. You must upgrade to >the stabel version 1.0.9. Then your projects should still run well. > >Regards, >Matthias > > > Hi Matthias You mean i should downgrade my gambas development environment from 1.9.12 to 1.0.9, then the older apps will also run with the 1.0.9-runtime? Thanks, staudi From esangaline at ...626... Sat Aug 13 22:53:00 2005 From: esangaline at ...626... (Evan Sangaline) Date: Sat, 13 Aug 2005 16:53:00 -0400 Subject: [Gambas-user] Trouble With Compiling Message-ID: <9b90139a050813135361aa0660@...627...> I am new to the Linux operating system, so please forgive me if this question is simplistic. I first tried to install Gambas (on a fresh install of Fedora Core 4) using yum install gambas. This appeared to work fine but when I run Gambas and try to create a form I get the following error. Cannot open file. Component missing FForm.CreateControl.833 I tried to compile Gambas myself but encountered the following problem during make after a flawless configure. then mv -f ".deps/gbx_class_load.Tpo" ".deps/gbx_class_load.Plo"; else rm -f ".deps/gbx_class_load.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_load.lo -MD -MP -MF .deps/gbx_class_load.Tpo -c gbx_class_load.c -fPIC -DPIC -o .libs/gbx_class_load.o gbx_class_load.c: In function 'CLASS_load_without_init': gbx_class_load.c:297: warning: pointer targets in passing argument 1 of 'SWAP_long' differ in signedness gbx_class_load.c:298: warning: pointer targets in passing argument 1 of 'SWAP_long' differ in signedness gbx_class_load.c:299: warning: pointer targets in passing argument 1 of 'SWAP_long' differ in signedness gbx_class_load.c:362: warning: pointer targets in passing argument 4 of 'get_section' differ in signedness gbx_class_load.c:455: error: invalid lvalue in assignment gbx_class_load.c:458: error: invalid lvalue in assignment gbx_class_load.c:461: error: invalid lvalue in assignment gbx_class_load.c:467: error: invalid lvalue in assignment gbx_class_load.c:474: error: invalid lvalue in assignment gbx_class_load.c:477: error: invalid lvalue in assignment make[3]: *** [gbx_class_load.lo] Error 1 make[3]: Leaving directory `/home/evan/gambas-1.0.4/src/exec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/evan/gambas-1.0.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/evan/gambas-1.0.4' make: *** [all] Error 2 I'm in way over my head and don't know how to go about working this out. Thank you kindly if you can shed any light on this for me. Evan From lordheavy at ...512... Sat Aug 13 23:10:36 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 13 Aug 2005 23:10:36 +0200 Subject: [Gambas-user] Trouble With Compiling In-Reply-To: <9b90139a050813135361aa0660@...627...> References: <9b90139a050813135361aa0660@...627...> Message-ID: <42FE61CC.5070706@...512...> Evan Sangaline a ?crit : > I am new to the Linux operating system, so please forgive me if this > question is simplistic. I first tried to install Gambas (on a fresh > install of Fedora Core 4) using yum install gambas. This appeared to > work fine but when I run Gambas and try to create a form I get the > following error. > > Cannot open file. > > Component missing > FForm.CreateControl.833 > > I tried to compile Gambas myself but encountered the following problem > during make after a flawless configure. > > then mv -f ".deps/gbx_class_load.Tpo" ".deps/gbx_class_load.Plo"; else > rm -f ".deps/gbx_class_load.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl > -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_load.lo > -MD -MP -MF .deps/gbx_class_load.Tpo -c gbx_class_load.c -fPIC -DPIC > -o .libs/gbx_class_load.o > gbx_class_load.c: In function 'CLASS_load_without_init': > gbx_class_load.c:297: warning: pointer targets in passing argument 1 > of 'SWAP_long' differ in signedness > gbx_class_load.c:298: warning: pointer targets in passing argument 1 > of 'SWAP_long' differ in signedness > gbx_class_load.c:299: warning: pointer targets in passing argument 1 > of 'SWAP_long' differ in signedness > gbx_class_load.c:362: warning: pointer targets in passing argument 4 > of 'get_section' differ in signedness > gbx_class_load.c:455: error: invalid lvalue in assignment > gbx_class_load.c:458: error: invalid lvalue in assignment > gbx_class_load.c:461: error: invalid lvalue in assignment > gbx_class_load.c:467: error: invalid lvalue in assignment > gbx_class_load.c:474: error: invalid lvalue in assignment > gbx_class_load.c:477: error: invalid lvalue in assignment > make[3]: *** [gbx_class_load.lo] Error 1 > make[3]: Leaving directory `/home/evan/gambas-1.0.4/src/exec' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/evan/gambas-1.0.4/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/evan/gambas-1.0.4' > make: *** [all] Error 2 > > I'm in way over my head and don't know how to go about working this > out. Thank you kindly if you can shed any light on this for me. > > Evan > You should try to install gambas 1.0.9 as previous versions can't be compile with gcc 4.x . Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From sourceforge-raindog2 at ...94... Sat Aug 13 22:29:35 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 13 Aug 2005 16:29:35 -0400 Subject: [Gambas-user] Are gambas versions downward compatibly? In-Reply-To: <42FE39DE.1070404@...1080...> References: <42FE39DE.1070404@...1080...> Message-ID: <200508131629.35825.sourceforge-raindog2@...94...> On Saturday 13 August 2005 14:20, Werner Staudacher wrote: > What when a user has two or more apps written with gambas but from > diffrent versions? Gambas 1.x programs use an interpreter called "/usr/bin/gbx", gambas 2.x programs (currently versions 1.9.x) use an interpreter called "/usr/bin/gbx2". Both interpreters (and their respective components) may be installed on the same machine simultaneously, and a gambas1 app will require the gambas1 runtime, a gambas2 app will require the gambas2 runtime, etc., just as a vb4 program requires vb400run.dll, etc. With modern distributions that have automatic package management, this should not be an issue for you at all. Rob From danielcampos at ...282... Sat Aug 13 23:29:21 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 13 Aug 2005 23:29:21 +0200 Subject: [Gambas-user] Are gambas versions downward compatibly? In-Reply-To: <42FE39DE.1070404@...1080...> References: <42FE39DE.1070404@...1080...> Message-ID: <42FE6631.3020008@...282...> Werner Staudacher escribi?: > I started with version 1.0.3 to work and have 3 projects done. > Now i upgradet to version 1.9.12 (Debian from Jos? L. Redrejo Rodr??gue). > Not one from the earlier projects is possible to run anymore. I think, > i need to upgrade them. > The question i asks myself is: > What when a user has two or more apps written with gambas but from > diffrent versions? > Is that possible (like with VB 1 to 6) or the user has to ask all the > programmers to upgrade the apps to the latest version he is using? > One of my projects i made downloadable from my webpage. When for > gambas it is not possible to be downward compatible, its better i drop > it. > I think that i miss some info about this problem, maybe somebody can > clear me up. > Thanks, staudi Gambas and Gambas2 (currently 1.9.X) can exist in the same machine: you can install both gambas and gambas2, run the old programs with the gambas runtime, and write new programs for Gambas2 (or translate the old ones). The stable version contains some programs and libraries ( gbx -> the interpreter, gbc -> compiler...) and the new developement version contains other programas and libraries ( gbx2, gbc2,...), so there is not any problem when running both the old and the new interpreters. Regards, D. Campos > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From matthias-laur at ...978... Sun Aug 14 09:04:56 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Sun, 14 Aug 2005 07:04:56 +0000 Subject: [Gambas-user] Are gambas versions downward compatibly? In-Reply-To: <42FE482C.6090902@lists.sourceforge.net> References: <42FE39DE.1070404@...1080...> <200508131843.31490.matthias-laur@...978...> <42FE482C.6090902@lists.sourceforge.net> Message-ID: <200508140704.57091.matthias-laur@...978...> > Hi Matthias > > You mean i should downgrade my gambas development environment from > 1.9.12 to 1.0.9, then the older apps will also run with the 1.0.9-runtime? > > Thanks, staudi Yes! .1.9.12 is Gambas2(devel) and 1.0.9 is Gambas(stable) Regards, Matthias From admin at ...1080... Sun Aug 14 12:28:56 2005 From: admin at ...1080... (Werner Staudacher) Date: Sun, 14 Aug 2005 10:28:56 +0000 Subject: [Gambas-user] Are gambas versions downward compatibly? Message-ID: <42FF1CE8.4030705@...1080...> Thanks at all for the answers staudi From gambas at ...1077... Sun Aug 14 14:59:25 2005 From: gambas at ...1077... (Alex Schaller) Date: Sun, 14 Aug 2005 12:59:25 +0000 Subject: [Gambas-user] Serial Port Component -- Not working Message-ID: <200508141259.25917.gambas@...1077...> Hello! I am using Gambas 1.9.16 and the Serial Port Component seems to be broken. When I place the component on a Form and change anything in its propeties box, like name or speed, Gambas generates the error: To many arguments Also, I noticed that if I try to set any properties in Code (like SerialPort1.Speed = "9600" in the forms open event) I receive the Error: Unknown Identifier: SerialPort1 at ....... This compile error can be solved by setting the PortName property to the same as the Name property of the component, but then I get the To many arguments error again. Please let me know if anybody got the same error? I am running Gentoo with a 2.6.11 kernel and KDE 3.4.1 on a P4-2800 Sony Laptop. Thanks!!! Alex PS: Gambas is GREAT !!!!! From gambas at ...1... Sun Aug 14 19:18:42 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Aug 2005 19:18:42 +0200 Subject: [Gambas-user] Serial Port Component -- Not working In-Reply-To: <200508141259.25917.gambas@...1077...> References: <200508141259.25917.gambas@...1077...> Message-ID: <200508141918.42687.gambas@...1...> On Sunday 14 August 2005 14:59, Alex Schaller wrote: > Hello! > > I am using Gambas 1.9.16 and the Serial Port Component seems to be broken. > > When I place the component on a Form and change anything in its propeties > box, like name or speed, Gambas generates the error: > > To many arguments > > Also, I noticed that if I try to set any properties in Code (like > SerialPort1.Speed = "9600" in the forms open event) I receive the Error: > > Unknown Identifier: SerialPort1 at ....... > > This compile error can be solved by setting the PortName property to the > same as the Name property of the component, but then I get the To many > arguments error again. > > Please let me know if anybody got the same error? > I am running Gentoo with a 2.6.11 kernel and KDE 3.4.1 on a P4-2800 Sony > Laptop. > > Thanks!!! > > Alex > > PS: Gambas is GREAT !!!!! > Maybe it is a bug introduced with the recent changes... Did you have the same problem with older development versions ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 14 20:00:29 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Aug 2005 20:00:29 +0200 Subject: [Gambas-user] Release of gambas 1.0.10 Message-ID: <200508142000.29617.gambas@...1...> Hi, This release fixes many important bugs - Thanks to the different reporters! --8<----------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * BUG: Clicking on the component list in the project property dialog should not abort the IDE anymore. * BUG: No position shift anymore when inserting controls in a TabStrip. * BUG: Creating a menu with a void name in the menu editor does not abort the IDE anymore. DATABASE MANAGER * NEW: You can select and delete several lines at once in the data sheet. EXAMPLES * NEW: A new little game made by Jairo Bedoya. INTERPRETER * BUG: Enumeration and array operators can be used with anonymous object references without crashing the interpreter anymore. * BUG: Now strings are implicitely converted to floats with arithmetic operators, and not to booleans anymore. * BUG: Hex$() and Bin$() now correctly display negative values. * BUG: Trim$(), LTrim$() and RTrim$() do not remove non-ASCII characters in some cases anymore. QT COMPONENT * BUG: Container.Children is accurate, and counts only Gambas child controls. * BUG: Control.Parent now returns a Container, and not a Control anymore. * BUG: The DrawingArea draws its border correctly again. DATABASE COMPONENT * BUG: Result can manage tables whose primary keys are not the first fields of the table. * BUG: You can use variant values with functions that use substitution. * BUG: Result.Fields.Exist() now returns FALSE if a field does not exist, and do not raise an error anymore. --8<----------------------------------------------------------------------- Enjoy it! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1077... Sun Aug 14 16:33:08 2005 From: gambas at ...1077... (Alex Schaller) Date: Sun, 14 Aug 2005 14:33:08 +0000 Subject: [Gambas-user] Re: Serial Port Component -- Not working In-Reply-To: <200508141259.25917.gambas@...1077...> References: <200508141259.25917.gambas@...1077...> Message-ID: <200508141433.08616.gambas@...1077...> Hello Benoit! The project I discovered the problem with, I just started, using version 1.9.16. But i believe that I used 1.9.11 to test my barcode scanner and it was fine. However I' m not quiet sure about the exact version as I try to stay current with you (what a tasked). Thanks for your quick reply!!! Gambas is the best IDE I have seen in Linux by far!!!! Have a great day! Alex > Hello! > > I am using Gambas 1.9.16 and the Serial Port Component seems to be broken. > > When I place the component on a Form and change anything in its propeties > box, like name or speed, Gambas generates the error: > > To many arguments > > Also, I noticed that if I try to set any properties in Code (like > SerialPort1.Speed = "9600" in the forms open event) I receive the Error: > > Unknown Identifier: SerialPort1 at ....... > > This compile error can be solved by setting the PortName property to the > same as the Name property of the component, but then I get the To many > arguments error again. > > Please let me know if anybody got the same error? > I am running Gentoo with a 2.6.11 kernel and KDE 3.4.1 on a P4-2800 Sony > Laptop. > > Thanks!!! > > Alex > > PS: Gambas is GREAT !!!!! From Karl.Reinl at ...9... Sun Aug 14 22:48:09 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 14 Aug 2005 22:48:09 +0200 Subject: [Gambas-user] gambas-database-manager in 1.0.8 Message-ID: <200508142248.09562.Karl.Reinl@...9...> Salut Benoit, first : you can see it in the screenshot, and be shure I do NOT have a user 'Benoit' on my box. That comes from FCode.class PUBLIC SUB Form_Open() DIM sProject AS String sProject = File.Name(FMain.Project) lblProject.Text = "" & sProject & "
" & File.Dir(FMain.Project) File.Dir(FMain.Project) return that . This line is from .project out of app/gambas-database-manager Argument=/home/benoit/gambas/app/gambas-database-manager second : Using the gambas-database-manager from gambas-1.0.8 I'm not able to add a field to a myssql-table without loosing all the stored data in the table. I tryed it as user and as root. Amicalment Charlie 15.07.2005 15:06 ? Using: ?- gambas-1.0.8 ?(downloaded, no more from the gambas-shrine) ?- X Window System Version 6.8.2 Release Date: 9 February 2005 ? X Protocol Version 11, Revision 0, Release 6.8.2 ? Build Operating System: Linux 2.6.8-gentoo-r3 i686 [ELF] ? Current Operating System: Linux gentoo01 2.6.8-gentoo-r3 #1 SMP ? ?Sun Feb 13 21:57:11 CET 2005 i686 - gentoo 1.4 (last Updated 02.07.2005) on Gentoo Base System version 1.4.16 - Qt: 3.3.4 ?- KDE: 3.4.1 ?- gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, ??? pie-8.7.7.1) ?- mysql ?Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i686) ?- psql (PostgreSQL) 8.0.1 ?- SQLite version 2.8.15 ?- GNU Make 3.80 -------------- next part -------------- A non-text attachment was scrubbed... Name: GDBM3_01.png Type: image/png Size: 34175 bytes Desc: not available URL: From igor.furlan at ...626... Mon Aug 15 05:32:37 2005 From: igor.furlan at ...626... (Primorec) Date: Sun, 14 Aug 2005 20:32:37 -0700 Subject: [Gambas-user] Release of gambas 1.0.10 In-Reply-To: <200508142000.29617.gambas@...1...> References: <200508142000.29617.gambas@...1...> Message-ID: <54728e74050814203227715461@...627...> On 8/14/05, Benoit Minisini wrote: > > > EXAMPLES > > * NEW: A new little game made by Jairo Bedoya. Is the NEW game "concent" ? When I start the game "concent" I get on the screee "please_see_the attachment" Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: missing_image.gif Type: image/gif Size: 5694 bytes Desc: not available URL: From gambas at ...1077... Mon Aug 15 01:41:55 2005 From: gambas at ...1077... (Alex Schaller) Date: Sun, 14 Aug 2005 23:41:55 +0000 Subject: [Gambas-user] Extern function api calls Message-ID: <200508142341.55932.gambas@...1077...> Hello! Does anyone have more info on how to use the extern() function in Gambas. Possibly also on ho to use it with passing structures. I need to create a structure and then pass its address to a C library which fills some variables of the structure with data. I have also tried the gb.api component but when I followed the examples it did not seem to work. I am new to C and Gambas so please be gentle. Thanks!!!! Alex From isy21 at ...1082... Mon Aug 15 09:05:30 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 15 Aug 2005 14:05:30 +0700 (WIT) Subject: [Gambas-user] Need Help IP Address Message-ID: <15696889.1124089530668.JavaMail.root@...1083...> Hi. I new in gambas, so i need help to 1. get my own ip address from gambas. could everyone give me example to do this. 2. how to format input like in vb mask ie. in vb for input in date i will use masked input in form with dd/mm/yyyy so if user insert in wrong date then error will occurs, without any additional programming check (means it validation include in mask property) 3. Can i using datacombox in gambas, ie in vb i have database country (field countryid,countryname) then i use datacombo, to display countryname visible to user for choose and if user choose 1 on countryname, then program automatic get countryid to save to database. can anyone help me Sorry to many question to ask, i was vb programmer for 7 years ,now i change to be gambas programmer. Thanks before, Ignatius From francesco.difusco at ...69... Mon Aug 15 12:47:27 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Mon, 15 Aug 2005 12:47:27 +0200 Subject: [Gambas-user] Why this error: Unespectd AS ? Message-ID: <1124102847.9917.1.camel@...1064...> I get this error "Unespected AS" in this line EXEC [ "bash", "--noediting" ] FOR READ WRITE AS $hProcess why? It worked in previous verison of Gambas Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From matthias-laur at ...978... Mon Aug 15 12:51:19 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Mon, 15 Aug 2005 12:51:19 +0200 Subject: AW: [Gambas-user] Why this error: Unespectd AS ? In-Reply-To: <1124102847.9917.1.camel@...1064...> Message-ID: <0ML29c-1E4cYq1Jrg-0001wQ@...979...> Do you use the devel Version? Try this: $hProcess = EXEX ..... Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Di Fusco Francesco Gesendet: Montag, 15. August 2005 12:47 An: gambas-user at lists.sourceforge.net Betreff: [Gambas-user] Why this error: Unespectd AS ? I get this error "Unespected AS" in this line EXEC [ "bash", "--noediting" ] FOR READ WRITE AS $hProcess why? It worked in previous verison of Gambas Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From matthias-laur at ...978... Mon Aug 15 13:00:21 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Mon, 15 Aug 2005 13:00:21 +0200 Subject: AW: [Gambas-user] Why this error: Unespectd AS ? In-Reply-To: <0ML29c-1E4cYq1Jrg-0001wQ@...979...> Message-ID: <0ML2Dk-1E4chZ2Kwo-0002Ie@...979...> Sorry: $hProcess = EXEC ..... -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Matthias Laur Gesendet: Montag, 15. August 2005 12:51 An: gambas-user at lists.sourceforge.net Betreff: AW: [Gambas-user] Why this error: Unespectd AS ? Do you use the devel Version? Try this: $hProcess = EXEX ..... Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Di Fusco Francesco Gesendet: Montag, 15. August 2005 12:47 An: gambas-user at lists.sourceforge.net Betreff: [Gambas-user] Why this error: Unespectd AS ? I get this error "Unespected AS" in this line EXEC [ "bash", "--noediting" ] FOR READ WRITE AS $hProcess why? It worked in previous verison of Gambas Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From francesco.difusco at ...69... Mon Aug 15 15:55:05 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Mon, 15 Aug 2005 15:55:05 +0200 Subject: [Gambas-user] Just another little error Message-ID: <1124114105.7908.1.camel@...1064...> Hi, what is this error "Unknown symbol Home in class System" I am recompiling an application I had developed some month ago with Gambas, and id doesn't mork anymore. Thanks Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From lordheavy at ...512... Mon Aug 15 18:36:11 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 15 Aug 2005 18:36:11 +0200 Subject: [Gambas-user] Just another little error In-Reply-To: <1124114105.7908.1.camel@...1064...> References: <1124114105.7908.1.camel@...1064...> Message-ID: <4300C47B.1090904@...512...> Di Fusco Francesco a ?crit : > Hi, what is this error > > "Unknown symbol Home in class System" > > I am recompiling an application I had developed some month ago with > Gambas, and id doesn't mork anymore. > > Thanks > > Francesco > System.Home is deprecated, now it's User.Home Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gambas at ...1... Mon Aug 15 20:44:59 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Aug 2005 20:44:59 +0200 Subject: [Gambas-user] gambas-database-manager in 1.0.8 In-Reply-To: <200508142248.09562.Karl.Reinl@...9...> References: <200508142248.09562.Karl.Reinl@...9...> Message-ID: <200508152044.59968.gambas@...1...> On Sunday 14 August 2005 22:48, Charlie Reinl wrote: > Salut Benoit, > > first : > > you can see it in the screenshot, and be shure I do NOT have a user > 'Benoit' on my box. > > That comes from FCode.class > > PUBLIC SUB Form_Open() > > DIM sProject AS String > > sProject = File.Name(FMain.Project) > > lblProject.Text = "" & sProject & "
" & File.Dir(FMain.Project) > > File.Dir(FMain.Project) return that . > > This line is from .project out of app/gambas-database-manager > > Argument=/home/benoit/gambas/app/gambas-database-manager I will look at this problem... > > second : > > Using the gambas-database-manager from gambas-1.0.8 > I'm not able to add a field to a myssql-table without loosing all the > stored data in the table. I tryed it as user and as root. Can you try with the 1.0.10 ? Maybe the bug was fixed... > > Amicalment > Charlie > > 15.07.2005 15:06 > ? > Using: > ?- gambas-1.0.8 ?(downloaded, no more from the gambas-shrine) > ?- X Window System Version 6.8.2 Release Date: 9 February 2005 > ? X Protocol Version 11, Revision 0, Release 6.8.2 > ? Build Operating System: Linux 2.6.8-gentoo-r3 i686 [ELF] > ? Current Operating System: Linux gentoo01 2.6.8-gentoo-r3 #1 SMP > ? ?Sun Feb 13 21:57:11 CET 2005 i686 > - gentoo 1.4 (last Updated 02.07.2005) on Gentoo Base System version 1.4.16 > - Qt: 3.3.4 > ?- KDE: 3.4.1 > ?- gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, > ssp-3.3.5.20050130-1, ??? pie-8.7.7.1) > ?- mysql ?Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i686) > ?- psql (PostgreSQL) 8.0.1 > ?- SQLite version 2.8.15 > ?- GNU Make 3.80 Regards, -- Benoit Minisini mailto:gambas at ...1... From francesco.difusco at ...69... Mon Aug 15 20:46:10 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Mon, 15 Aug 2005 20:46:10 +0200 Subject: [Gambas-user] Just another little error In-Reply-To: <4300C47B.1090904@...512...> References: <1124114105.7908.1.camel@...1064...> <4300C47B.1090904@...512...> Message-ID: <1124131570.27697.0.camel@...1064...> > System.Home is deprecated, now it's User.Home > > Regards, Thank yuo very much. Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From gambas at ...1... Mon Aug 15 20:51:56 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Aug 2005 20:51:56 +0200 Subject: [Gambas-user] Extern function api calls In-Reply-To: <200508142341.55932.gambas@...1077...> References: <200508142341.55932.gambas@...1077...> Message-ID: <200508152051.56164.gambas@...1...> On Monday 15 August 2005 01:41, Alex Schaller wrote: > Hello! > > Does anyone have more info on how to use the extern() function in Gambas. > Possibly also on ho to use it with passing structures. I need to create a > structure and then pass its address to a C library which fills some > variables of the structure with data. > I have also tried the gb.api component but when I followed the examples it > did not seem to work. > > I am new to C and Gambas so please be gentle. > > Thanks!!!! > > Alex > This is not well documented yet. Did you search in http://new.gambasdoc.org ? In a few word, you have to: 1) Allocate the structure with Alloc(Size) - You must know the size of the structure. You get a Pointer that you must keep in a variable. 2) You use WRITE by using the previous pointer as stream to write binary data into the allocated structure. 3) Finally you use the pointer to pass the structure to the extern call. Example: The C structure is: struct foo { int a; char *b; double c; } You do: DIM pPtr AS Pointer DIM a AS Integer DIM b AS String DIM pBPtr AS Pointeer DIM c AS Float ' Allocate the string pBPtr = Alloc(b) pPtr = Alloc(16) WRITE #pPtr, a WRITE #(pPtr + 4), pBPtr WRITE #(pPtr + 8), c ' Then you can use pPtr with a C extern function argument whose type is 'struct foo *' Free(pPtr) Fre(pBPtr) I hope this was clear... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Aug 15 20:53:49 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Aug 2005 20:53:49 +0200 Subject: [Gambas-user] Need Help IP Address In-Reply-To: <15696889.1124089530668.JavaMail.root@...1083...> References: <15696889.1124089530668.JavaMail.root@...1083...> Message-ID: <200508152053.49985.gambas@...1...> On Monday 15 August 2005 09:05, isy21 at ...1082... wrote: > Hi. > > I new in gambas, so i need help to > > 1. get my own ip address from gambas. > could everyone give me example to do this. > You must analyze the output of /sbin/ifconfig command. > 2. how to format input like in vb mask > ie. > in vb for input in date i will use masked input in form with dd/mm/yyyy > so if user insert in wrong date then error will occurs, without any > additional programming check (means it validation include in mask property) > It is not possible yet - But this something that must be done, eventually in Gambas. > 3. Can i using datacombox in gambas, > ie in vb > i have database country (field countryid,countryname) > then i use datacombo, to display countryname visible to user for choose > and > if user choose 1 on countryname, then program automatic get countryid to > save to database. > can anyone help me > It is not possible yet - But this is planed to do it in a component written in Gambas > > Sorry to many question to ask, i was vb programmer for 7 years ,now i > change to be gambas programmer. > Thanks before, > > > > Ignatius > > Regards, -- Benoit Minisini mailto:gambas at ...1... From comtux at ...626... Tue Aug 16 05:40:14 2005 From: comtux at ...626... (Steve Starr) Date: Tue, 16 Aug 2005 03:40:14 +0000 Subject: [Gambas-user] Insert the specified text at the cursor position. Message-ID: <78f4b76705081520405776355b@...627...> I am trying to insert text where the cursor is positioned but the text i add is added to the end of the last word in textarea. and never at the cursor possition. Any ideas on how i fix this? PUBLIC SUB Button1_Click() textarea1.Text = textarea1.Text & "Hello" END From sourceforge-raindog2 at ...94... Tue Aug 16 06:14:30 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 16 Aug 2005 00:14:30 -0400 Subject: [Gambas-user] Insert the specified text at the cursor position. In-Reply-To: <78f4b76705081520405776355b@...627...> References: <78f4b76705081520405776355b@...627...> Message-ID: <200508160014.30084.sourceforge-raindog2@...94...> On Monday 15 August 2005 23:40, Steve Starr wrote: > I am trying to insert text where the cursor is positioned > but the text i add is added to the end of the last word in > textarea. and never at the cursor possition. > Any ideas on how i fix this? http://www.binara.com/gambas-wiki/static/Gambas/GbQtTextAreaPPos.html textarea1.Text = left(textarea1.text, textarea1.pos) & "Hello" & mid(textarea1.text, textarea1.pos + 1) Rob From sourceforge-raindog2 at ...94... Tue Aug 16 07:09:35 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 16 Aug 2005 01:09:35 -0400 Subject: [Gambas-user] minor annoyance in IDE Message-ID: <200508160109.35845.sourceforge-raindog2@...94...> In the CheckName method of CControl.class, at line 633 in Gambas 1.0.9, there's a line that looks like this: IF Instr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", UCase(Mid$(sName, iInd, 1))) = 0 THEN Benoit, could you please change it to IF Instr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_", UCase(Mid$(sName, iInd, 1))) = 0 THEN in some future version? I've been doing it myself for the last few versions as I've been reimplementing some VB and MSaccess projects, and underscores in control names seem pretty common (and harmless to the Gambas compiler and interpreter, it seems.) Thanks.... Rob From comtux at ...626... Tue Aug 16 07:53:11 2005 From: comtux at ...626... (Steve Starr) Date: Tue, 16 Aug 2005 05:53:11 +0000 Subject: [Gambas-user] Useing ListView to List a Dir? Message-ID: <78f4b7670508152253683a257c@...627...> I found this code on gambas mailing list. I was wondering what would i have to change adout this code to have it list my /home/comtux directory? PUBLIC SUB Form_Open() DIM sPath AS String DIM sDir AS String FOR EACH sDir IN Dir(sPath, "*") ListView1.Add(sPath &/ sDir, sDir) NEXT END Thanks for any replys From mike_keehan at ...679... Tue Aug 16 13:25:42 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Tue, 16 Aug 2005 12:25:42 +0100 Subject: [Gambas-user] Useing ListView to List a Dir? In-Reply-To: <78f4b7670508152253683a257c@...627...> References: <78f4b7670508152253683a257c@...627...> Message-ID: <4301CD36.9090704@...679...> Steve Starr wrote: > I found this code on gambas mailing list. > I was wondering what would i have to change adout this code to have it > list my /home/comtux directory? > > PUBLIC SUB Form_Open() > DIM sPath AS String > DIM sDir AS String > > FOR EACH sDir IN Dir(sPath, "*") > ListView1.Add(sPath &/ sDir, sDir) > NEXT > > END > > Thanks for any replys > You need to set sPath to the name of your directory:- sPath = "/home/comtux" Have a look at the example called Explorer - you can find it from the menu under File/Open example/Miscellaneous/Explorer. Mike. From whoknowz at ...626... Tue Aug 16 14:13:08 2005 From: whoknowz at ...626... (whoknowz) Date: Tue, 16 Aug 2005 17:13:08 +0500 Subject: [Gambas-user] gambas2 (1.9.16) broke db and serial Message-ID: <3bab1b020508160513568c4096@...627...> Hi Everyone, I just downloaded the latest development version of gambas2 (ver. 1.9.16) and tried to recompile a piece of software developed using gambas2 (ver 1.9.12) only to find that there are many problems. I traced the problems to the graphical database component and also to the serial port component. The graphical db component seems to be somewhat missing in the latest version. But thats not a problem since we can connect to db using code only. But the serial component is giving "too many arguments" as an error, as a previous user have noticed too. The weird thing is that I could not find a single line difference from the serial port library code between the two version (best of my knowledge), then again I am no expert. It would be of great help if some one could shed some light on this issue. Regards, Ahmed Nashith From gambas at ...1077... Tue Aug 16 10:29:50 2005 From: gambas at ...1077... (Alex Schaller) Date: Tue, 16 Aug 2005 08:29:50 +0000 Subject: [Gambas-user] Extern function api calls (2) Message-ID: <200508160829.51040.gambas@...1077...> Hello Benoit! Thanks for the quick answer. The only question I have is: How do I read again the modified values (integer and strings). I tried all kinds of combinations with the read command but can't figure this out. This whole concept of pointers is still somewhat abstract to me. Thanks!! Alex > Hello! > > Does anyone have more info on how to use the extern() function in Gambas. > Possibly also on ho to use it with passing structures. I need to create a > structure and then pass its address to a C library which fills some > variables of the structure with data. > I have also tried the gb.api component but when I followed the examples it > did not seem to work. > > I am new to C and Gambas so please be gentle. > > Thanks!!!! > > Alex > This is not well documented yet. Did you search in http://new.gambasdoc.org ? In a few word, you have to: 1) Allocate the structure with Alloc(Size) - You must know the size of the structure. You get a Pointer that you must keep in a variable. 2) You use WRITE by using the previous pointer as stream to write binary data into the allocated structure. 3) Finally you use the pointer to pass the structure to the extern call. Example: The C structure is: struct foo { ? int a; ? char *b; ? double c; ? } You do: DIM pPtr AS Pointer DIM a AS Integer DIM b AS String DIM pBPtr AS Pointeer DIM c AS Float ' Allocate the string pBPtr = Alloc(b) pPtr = Alloc(16) WRITE #pPtr, a WRITE #(pPtr + 4), pBPtr WRITE #(pPtr + 8), c ' Then you can use pPtr with a C extern function argument whose type is 'struct foo *' Free(pPtr) Fre(pBPtr) I hope this was clear... Regards, -- Benoit Minisini From gambas at ...1077... Tue Aug 16 11:51:58 2005 From: gambas at ...1077... (Alex Schaller) Date: Tue, 16 Aug 2005 09:51:58 +0000 Subject: [Gambas-user] Extern function api calls (2) Message-ID: <200508160951.58685.gambas@...1077...> Hello Benoit! Thanks for the quick answer. The only question I have is: How do I read again the modified values (integer and strings). I tried all kinds of combinations with the read command but can't figure this out. This whole concept of pointers is still somewhat abstract to me. Thanks!! Alex > Hello! > > Does anyone have more info on how to use the extern() function in Gambas. > Possibly also on ho to use it with passing structures. I need to create a > structure and then pass its address to a C library which fills some > variables of the structure with data. > I have also tried the gb.api component but when I followed the examples it > did not seem to work. > > I am new to C and Gambas so please be gentle. > > Thanks!!!! > > Alex > This is not well documented yet. Did you search in http://new.gambasdoc.org ? In a few word, you have to: 1) Allocate the structure with Alloc(Size) - You must know the size of the structure. You get a Pointer that you must keep in a variable. 2) You use WRITE by using the previous pointer as stream to write binary data into the allocated structure. 3) Finally you use the pointer to pass the structure to the extern call. Example: The C structure is: struct foo { ? int a; ? char *b; ? double c; ? } You do: DIM pPtr AS Pointer DIM a AS Integer DIM b AS String DIM pBPtr AS Pointeer DIM c AS Float ' Allocate the string pBPtr = Alloc(b) pPtr = Alloc(16) WRITE #pPtr, a WRITE #(pPtr + 4), pBPtr WRITE #(pPtr + 8), c ' Then you can use pPtr with a C extern function argument whose type is 'struct foo *' Free(pPtr) Fre(pBPtr) I hope this was clear... Regards, -- Benoit Minisini From gambas at ...1... Tue Aug 16 17:10:55 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 16 Aug 2005 17:10:55 +0200 Subject: [Gambas-user] Insert the specified text at the cursor position. In-Reply-To: <200508160014.30084.sourceforge-raindog2@...94...> References: <78f4b76705081520405776355b@...627...> <200508160014.30084.sourceforge-raindog2@...94...> Message-ID: <200508161710.55777.gambas@...1...> On Tuesday 16 August 2005 06:14, Rob wrote: > On Monday 15 August 2005 23:40, Steve Starr wrote: > > I am trying to insert text where the cursor is positioned > > but the text i add is added to the end of the last word in > > textarea. and never at the cursor possition. > > Any ideas on how i fix this? > > http://www.binara.com/gambas-wiki/static/Gambas/GbQtTextAreaPPos.html > > textarea1.Text = left(textarea1.text, textarea1.pos) & > "Hello" & mid(textarea1.text, textarea1.pos + 1) > > Rob > I think something like TextArea1.Selection.Text = "..." should work too. Id on't remember, didn't I do an "Insert" method ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 16 17:14:32 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 16 Aug 2005 17:14:32 +0200 Subject: [Gambas-user] gambas2 (1.9.16) broke db and serial In-Reply-To: <3bab1b020508160513568c4096@...627...> References: <3bab1b020508160513568c4096@...627...> Message-ID: <200508161714.32696.gambas@...1...> On Tuesday 16 August 2005 14:13, whoknowz wrote: > Hi Everyone, > > I just downloaded the latest development version of gambas2 (ver. > 1.9.16) and tried to recompile a piece of software developed using > gambas2 (ver 1.9.12) only to find that there are many problems. I > traced the problems to the graphical database component and also to > the serial port component. The graphical db component seems to be > somewhat missing in the latest version. But thats not a problem since > we can connect to db using code only. But the serial component is > giving "too many arguments" as an error, as a previous user have > noticed too. The weird thing is that I could not find a single line > difference from the serial port library code between the two version > (best of my knowledge), then again I am no expert. It would be of > great help if some one could shed some light on this issue. > > Regards, > > Ahmed Nashith > Hi, The format of the *.component files has changed, and I "just" forgot to update the gb.net.component and gb.net.curl.component files. While waiting for the next release, here is what you can do: 1) Edit the gb.net.component file. It is located in /usr/local/lib/gambas2 if you kept the default install path. 2) There is a line with "Controls=XXX" that lists the controls included in the component. 3) Duplicate this line, by replacing "Controls=" by "Virtual=" 4) Save the file. 5) Do the same thing with the gb.net.curl.component file. Now everything should work as before. Sorry for the inconvenience! Regards, -- Benoit Minisini mailto:gambas at ...1... From comtux at ...626... Tue Aug 16 19:32:16 2005 From: comtux at ...626... (Steve Starr) Date: Tue, 16 Aug 2005 17:32:16 +0000 Subject: [Gambas-user] Insert the specified text at the cursor position. In-Reply-To: <200508161710.55777.gambas@...1...> References: <78f4b76705081520405776355b@...627...> <200508160014.30084.sourceforge-raindog2@...94...> <200508161710.55777.gambas@...1...> Message-ID: <78f4b76705081610327954887a@...627...> I think something like TextArea1.Selection.Text = "..." should work too. Id on't remember, didn't I do an "Insert" method ? --------------------------------------------------------------------------------------------- Can i use the Selection.Text method to highlight text with the mouse and then insert text on both the left and right side of the selected text? On 8/16/05, Benoit Minisini wrote: > On Tuesday 16 August 2005 06:14, Rob wrote: > > On Monday 15 August 2005 23:40, Steve Starr wrote: > > > I am trying to insert text where the cursor is positioned > > > but the text i add is added to the end of the last word in > > > textarea. and never at the cursor possition. > > > Any ideas on how i fix this? > > > > http://www.binara.com/gambas-wiki/static/Gambas/GbQtTextAreaPPos.html > > > > textarea1.Text = left(textarea1.text, textarea1.pos) & > > "Hello" & mid(textarea1.text, textarea1.pos + 1) > > > > Rob > > > > I think something like TextArea1.Selection.Text = "..." should work too. Id > on't remember, didn't I do an "Insert" method ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From oystein at ...816... Tue Aug 16 22:19:58 2005 From: oystein at ...816... (Øystein Selbekk) Date: Tue, 16 Aug 2005 22:19:58 +0200 Subject: [Gambas-user] Install problems 1.0.10 Message-ID: Hi folks.. Im trying to install gambas 1.0.10 on a debian Sarge distro called skolelinux. Everything looks fine until i do the su -c "make install" Here are the error messages (a bit compressed): gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.sdl.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.sdl.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.net.curl.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.net.curl.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.net.curl.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.sdl.list Help anyone? Oystein From comtux at ...626... Wed Aug 17 04:49:56 2005 From: comtux at ...626... (Steve Starr) Date: Wed, 17 Aug 2005 02:49:56 +0000 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? Message-ID: <78f4b7670508161949714a9600@...627...> I am currently useing Gambas Version 1.0.10 and i was wondering if line numdering and syntax high lighting and line high lighting is possable with the Text Area component and if so could anyone post some code examples or maybe suggestions on how i might go about doing such things with gambas. Any help would be great. As i am building a Html Editor and these 3 features are the last that i need to implament to compleate Stage 1. Thanks to all who reply. :) From francesco.difusco at ...69... Wed Aug 17 06:52:16 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Wed, 17 Aug 2005 06:52:16 +0200 Subject: [Gambas-user] Too many arguments using a Timer Message-ID: <1124254337.23125.5.camel@...1064...> Hi, when I use a Timer control, when I try to run the application I always get this error message: Timer too many arguments. When I check in the shell window where I launched gambas, I read this message: "CreateControl: Timer Too many arguments" I have seen that the timer control is used in the esample application Fsensor. Well, there I don't get any error message, but it doesn't work, in the sense that it doesn't display anything. Thanks Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From gambasfr at ...11... Thu Aug 18 14:01:06 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 18 Aug 2005 14:01:06 +0200 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? In-Reply-To: <78f4b7670508161949714a9600@...627...> References: <78f4b7670508161949714a9600@...627...> Message-ID: <200508181401.06374.gambasfr@...11...> Le Mercredi 17 Ao?t 2005 04:49, Steve Starr a ?crit?: > I am currently useing Gambas Version 1.0.10 and i was wondering if > line numdering > and syntax high lighting and line high lighting is possable with the > Text Area component and if so could anyone post some code examples or > maybe suggestions on how i might go about doing such things with > gambas. > > Any help would be great. > As i am building a Html Editor and these 3 features are the last that > i need to implament to compleate Stage 1. > > Thanks to all who reply. > > :) mabe not with the textarea... but it is maybe possible with the new codeeditor in the 1.9.16 version Fabien From gambas at ...1... Wed Aug 17 15:51:20 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Aug 2005 15:51:20 +0200 Subject: [Gambas-user] Install problems 1.0.10 In-Reply-To: References: Message-ID: <200508171551.20651.gambas@...1...> On Tuesday 16 August 2005 22:19, ?ystein Selbekk wrote: > Hi folks.. > Im trying to install gambas 1.0.10 on a debian Sarge distro called > skolelinux. Everything looks fine until i do the su -c "make install" > Here are the error messages (a bit compressed): > > gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list > gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list > gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list > gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.sdl.list > gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.sdl.list > gbc: ERROR: Cannot open file: > /opt/gambas/share/gambas/info/gb.net.curl.list gbc: ERROR: Cannot open > file: /opt/gambas/share/gambas/info/gb.net.curl.list gbc: ERROR: Cannot > open file: /opt/gambas/share/gambas/info/gb.net.curl.list gbc: ERROR: > Cannot open file: /opt/gambas/share/gambas/info/gb.qt.kde.list gbc: ERROR: > Cannot open file: /opt/gambas/share/gambas/info/gb.sdl.list > > Help anyone? > > Oystein > > You get these errors when some components were not compiled, and so the examples that use these components can't be compiled too! But this does not prevent gambas to run. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 17 15:52:36 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 17 Aug 2005 15:52:36 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <1124254337.23125.5.camel@...1064...> References: <1124254337.23125.5.camel@...1064...> Message-ID: <200508171552.36915.gambas@...1...> On Wednesday 17 August 2005 06:52, Di Fusco Francesco wrote: > Hi, > > when I use a Timer control, when I try to run the application I always > get this error message: Timer too many arguments. > When I check in the shell window where I launched gambas, I read this > message: "CreateControl: Timer Too many arguments" > I have seen that the timer control is used in the esample application > Fsensor. Well, there I don't get any error message, but it doesn't work, > in the sense that it doesn't display anything. > > Thanks > > Francesco Which version of gambas do you use ? -- Benoit Minisini mailto:gambas at ...1... From francesco.difusco at ...69... Wed Aug 17 18:55:00 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Wed, 17 Aug 2005 18:55:00 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <200508171552.36915.gambas@...1...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> Message-ID: <1124297700.30622.0.camel@...1064...> > Which version of gambas do you use ? The last one, 1.9.16 Francesco > -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From comtux at ...626... Wed Aug 17 21:14:50 2005 From: comtux at ...626... (Steve Starr) Date: Wed, 17 Aug 2005 19:14:50 +0000 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? In-Reply-To: <200508181401.06374.gambasfr@...11...> References: <78f4b7670508161949714a9600@...627...> <200508181401.06374.gambasfr@...11...> Message-ID: <78f4b767050817121422c41442@...627...> Ok after going threw all the posts here i have realized that i would have to upgrade gambas to the 1.9.16 version. But when i build gambas 1.9.16 everything builds and installs fine but gambas 1.9.16 is highly unstable! Things are crashing like when i try to use the new wizard feature etc. Now i am useing Kde 3.4.1 and Qt 3.3.4 do i need to upgrade Qt to 4.0 to get gambas 1.9.16 more stable than what it is? On 8/18/05, Fabien Bodard wrote: > Le Mercredi 17 Ao?t 2005 04:49, Steve Starr a ?crit: > > I am currently useing Gambas Version 1.0.10 and i was wondering if > > line numdering > > and syntax high lighting and line high lighting is possable with the > > Text Area component and if so could anyone post some code examples or > > maybe suggestions on how i might go about doing such things with > > gambas. > > > > Any help would be great. > > As i am building a Html Editor and these 3 features are the last that > > i need to implament to compleate Stage 1. > > > > Thanks to all who reply. > > > > :) > > mabe not with the textarea... but it is maybe possible with the new codeeditor > in the 1.9.16 version > > Fabien > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Thu Aug 18 21:46:53 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 18 Aug 2005 15:46:53 -0400 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? In-Reply-To: <78f4b767050817121422c41442@...627...> References: <78f4b7670508161949714a9600@...627...> <200508181401.06374.gambasfr@...11...> <78f4b767050817121422c41442@...627...> Message-ID: <200508181543.57356.sourceforge-raindog2@...94...> On Wednesday 17 August 2005 15:14, Steve Starr wrote: > Things are crashing like when i try to use the new wizard feature > etc. Now i am useing Kde 3.4.1 and Qt 3.3.4 do i need to upgrade > Qt to 4.0 to get gambas 1.9.16 more stable than what it is? No, I'm not even sure gambas will compile under qt4 yet. The 1.9 series is pretty unstable and I wouldn't suggest using it for any important projects yet.... but if you would post detailing all the crashes you got so we can try to duplicate and then eliminate them, that would be awesome. The client I'm visiting today actually wrote a COBOL editor in Gambas (reimplemented from scratch based on an old VB app) and we did line highlighting by making arrays of text boxes, 3 for each row (the COBOL they use has three fields in each line) and 24 rows per screen (adjustable in software, but they wanted to keep it similar to what they had.) Scroll bars, multi-line selections, the whole nine yards. (As it happens, the Gambas program is on the order of 5-10 times faster than the VB program it replaced despite all that tricky coding, so there isn't much of a performance hit.) I hope in the future I can get them to reimplement it using the Gambas editor control in Gambas 2.x, but until it's stable the best solution might be the array of text boxes, each row being the line number followed by the code for that line. You'll need to do some STOP EVENT stuff in the keypress event handler so that when the user presses the up arrow your program moves to the previous line rather than one character back in the current one. Unfortunately, that wouldn't give you syntax highlighting, just line highlighting. So you still may need to implement each line as a TextLabel, storing the lines of code themselves in a separate array offscreen, and whenever they cursor down to that line, pop up a TextBox on top of the label and let them edit the line (without highlighting, alas, but I've seen a lot of editors that work that way including VB's.) I'm actually not sure how you'd do this with VB's rich text control either, so I don't feel that bad about it. Rob From comtux at ...626... Fri Aug 19 00:30:33 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 18 Aug 2005 22:30:33 +0000 Subject: [Gambas-user] Re: TextArea Line Numbering And Syntax High lighting? In-Reply-To: <200508181543.57356.sourceforge-raindog2@...94...> References: <78f4b7670508161949714a9600@...627...> <200508181401.06374.gambasfr@...11...> <78f4b767050817121422c41442@...627...> <200508181543.57356.sourceforge-raindog2@...94...> Message-ID: <78f4b7670508181530242907b5@...627...> Hmm thanks for the reply but i think i will wait untill gambas2 is stable enough for production work and that goes the same for syntax & highlighting and line numbering. Ill just work on fixeing bugs and stuff with my html editor. Thanks :) On 8/18/05, Rob wrote: > On Wednesday 17 August 2005 15:14, Steve Starr wrote: > > Things are crashing like when i try to use the new wizard feature > > etc. Now i am useing Kde 3.4.1 and Qt 3.3.4 do i need to upgrade > > Qt to 4.0 to get gambas 1.9.16 more stable than what it is? > > No, I'm not even sure gambas will compile under qt4 yet. The 1.9 > series is pretty unstable and I wouldn't suggest using it for any > important projects yet.... but if you would post detailing all the > crashes you got so we can try to duplicate and then eliminate them, > that would be awesome. > > The client I'm visiting today actually wrote a COBOL editor in Gambas > (reimplemented from scratch based on an old VB app) and we did line > highlighting by making arrays of text boxes, 3 for each row (the > COBOL they use has three fields in each line) and 24 rows per screen > (adjustable in software, but they wanted to keep it similar to what > they had.) Scroll bars, multi-line selections, the whole nine yards. > (As it happens, the Gambas program is on the order of 5-10 times > faster than the VB program it replaced despite all that tricky > coding, so there isn't much of a performance hit.) > > I hope in the future I can get them to reimplement it using the Gambas > editor control in Gambas 2.x, but until it's stable the best solution > might be the array of text boxes, each row being the line number > followed by the code for that line. You'll need to do some STOP EVENT > stuff in the keypress event handler so that when the user presses the > up arrow your program moves to the previous line rather than one > character back in the current one. > > Unfortunately, that wouldn't give you syntax highlighting, just line > highlighting. So you still may need to implement each line as a > TextLabel, storing the lines of code themselves in a separate array > offscreen, and whenever they cursor down to that line, pop up a > TextBox on top of the label and let them edit the line (without > highlighting, alas, but I've seen a lot of editors that work that way > including VB's.) > > I'm actually not sure how you'd do this with VB's rich text control > either, so I don't feel that bad about it. > > Rob > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From na2492 at ...9... Fri Aug 19 14:01:24 2005 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 19 Aug 2005 14:01:24 +0200 Subject: [Gambas-user] gambas-database-manager in 1.0.8 In-Reply-To: <200508152044.59968.gambas@...1...> References: <200508142248.09562.Karl.Reinl@...9...> <200508152044.59968.gambas@...1...> Message-ID: <1124452884.8245.2.camel@...37...> Am Montag, den 15.08.2005, 20:44 +0200 schrieb Benoit Minisini: > On Sunday 14 August 2005 22:48, Charlie Reinl wrote: > > Using the gambas-database-manager from gambas-1.0.8 > > I'm not able to add a field to a myssql-table without loosing all the > > stored data in the table. I tryed it as user and as root. > > Can you try with the 1.0.10 ? Maybe the bug was fixed... in 1.0.10 it works fine . Thanks Amicalment Charlie From Karl.Reinl at ...9... Fri Aug 19 15:57:40 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 19 Aug 2005 15:57:40 +0200 Subject: [Gambas-user] Error in IDE making package ( gambas-1.0.10 ) Message-ID: <200508191557.40851.Karl.Reinl@...9...> Salut, this is the right code to test if rbmbuild or rpm are on the box. PUBLIC SUB MakeInstall() IF MakeExecutable(TRUE, TRUE) THEN RETURN IF CheckProgram("rpmbuild") THEN RPMBUILD_PROG = "rpmbuild" ELSE IF CheckProgram("rpm") THEN RPMBUILD_PROG = "rpm" ELSE Message.Error(("rpmbuild or rpm have to be installed on your system.")) RETURN ENDIF FMakeInstall.ShowModal END Amicalment Charlie From na2492 at ...9... Fri Aug 19 16:25:21 2005 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 19 Aug 2005 16:25:21 +0200 Subject: [Gambas-user] gambas-database-manager in 1.0.8 In-Reply-To: <200508152044.59968.gambas@...1...> References: <200508142248.09562.Karl.Reinl@...9...> <200508152044.59968.gambas@...1...> Message-ID: <1124461522.10678.7.camel@...37...> Am Montag, den 15.08.2005, 20:44 +0200 schrieb Benoit Minisini: > On Sunday 14 August 2005 22:48, Charlie Reinl wrote: > > Salut Benoit, > > > > first : > > > > you can see it in the screenshot, and be shure I do NOT have a user > > 'Benoit' on my box. > > > > That comes from FCode.class > > > > PUBLIC SUB Form_Open() > > > > DIM sProject AS String > > > > sProject = File.Name(FMain.Project) > > > > lblProject.Text = "" & sProject & "
" & File.Dir(FMain.Project) > > > > File.Dir(FMain.Project) return that . > > > > This line is from .project out of app/gambas-database-manager > > > > Argument=/home/benoit/gambas/app/gambas-database-manager > > I will look at this problem... > Salut Beno?t, more infos about: If I run the compiled version the 'Make gambas code ..' are not in the popUp. This menu is switched .Visible = Project AND NOT Null?($hConn) In FMain Form Open you set Project=Application.Arg[1] PS. Application.Arg[1]= "/home/benoit/gambas/app/gambas-database-manager" (also in gambas-database-manager from 1.0.10) Amicalment Charlie From gambas at ...1... Fri Aug 19 16:59:49 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 19 Aug 2005 16:59:49 +0200 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? In-Reply-To: <78f4b767050817121422c41442@...627...> References: <78f4b7670508161949714a9600@...627...> <200508181401.06374.gambasfr@...11...> <78f4b767050817121422c41442@...627...> Message-ID: <200508191659.49862.gambas@...1...> On Wednesday 17 August 2005 21:14, Steve Starr wrote: > Ok after going threw all the posts here i have realized that i would > have to upgrade gambas to the 1.9.16 version. > > But when i build gambas 1.9.16 everything builds and installs fine but > gambas 1.9.16 is highly unstable! > > Things are crashing like when i try to use the new wizard feature etc. > Now i am useing Kde 3.4.1 and Qt 3.3.4 do i need to upgrade Qt to 4.0 > to get gambas 1.9.16 more stable than what it is? > If some new features crash, you should tell me exactly what happened, so that I can fix the problem. Nobody can find all the bugs *before* releasing things, so this is the reason of development versions existence :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 19 17:19:00 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 19 Aug 2005 17:19:00 +0200 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? In-Reply-To: <200508181543.57356.sourceforge-raindog2@...94...> References: <78f4b7670508161949714a9600@...627...> <78f4b767050817121422c41442@...627...> <200508181543.57356.sourceforge-raindog2@...94...> Message-ID: <200508191719.00270.gambas@...1...> On Thursday 18 August 2005 21:46, Rob wrote: > On Wednesday 17 August 2005 15:14, Steve Starr wrote: > > Things are crashing like when i try to use the new wizard feature > > etc. Now i am useing Kde 3.4.1 and Qt 3.3.4 do i need to upgrade > > Qt to 4.0 to get gambas 1.9.16 more stable than what it is? > > No, I'm not even sure gambas will compile under qt4 yet. The 1.9 > series is pretty unstable and I wouldn't suggest using it for any > important projects yet.... but if you would post detailing all the > crashes you got so we can try to duplicate and then eliminate them, > that would be awesome. > > The client I'm visiting today actually wrote a COBOL editor in Gambas > (reimplemented from scratch based on an old VB app) and we did line > highlighting by making arrays of text boxes, 3 for each row (the > COBOL they use has three fields in each line) and 24 rows per screen > (adjustable in software, but they wanted to keep it similar to what > they had.) Scroll bars, multi-line selections, the whole nine yards. > (As it happens, the Gambas program is on the order of 5-10 times > faster than the VB program it replaced despite all that tricky > coding, so there isn't much of a performance hit.) > > I hope in the future I can get them to reimplement it using the Gambas > editor control in Gambas 2.x, but until it's stable the best solution > might be the array of text boxes, each row being the line number > followed by the code for that line. You'll need to do some STOP EVENT > stuff in the keypress event handler so that when the user presses the > up arrow your program moves to the previous line rather than one > character back in the current one. > > Unfortunately, that wouldn't give you syntax highlighting, just line > highlighting. So you still may need to implement each line as a > TextLabel, storing the lines of code themselves in a separate array > offscreen, and whenever they cursor down to that line, pop up a > TextBox on top of the label and let them edit the line (without > highlighting, alas, but I've seen a lot of editors that work that way > including VB's.) > > I'm actually not sure how you'd do this with VB's rich text control > either, so I don't feel that bad about it. > > Rob > The Editor control in the development version gb.qt.ext class was made so that it will be able to support custom syntax highlighting in the future. I think it will be a event like "Highlight this line" that will just give you the highlight begin state of the current line, and that will ask you in return the highlighted line, and the highlight end state. I am amaze that you did a highlighting text editor with arrays of textboxes... What a horrible hack! ;-) - Well, I made the DateBox (and TimeBox) control in the upcoming 1.9.17 with three textboxes... That it is 5/10 times faster than the old VB program is a good news too :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 19 17:20:17 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 19 Aug 2005 17:20:17 +0200 Subject: [Gambas-user] minor annoyance in IDE In-Reply-To: <200508160109.35845.sourceforge-raindog2@...94...> References: <200508160109.35845.sourceforge-raindog2@...94...> Message-ID: <200508191720.17863.gambas@...1...> On Tuesday 16 August 2005 07:09, Rob wrote: > In the CheckName method of CControl.class, at line 633 in Gambas > 1.0.9, there's a line that looks like this: > > IF Instr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", UCase(Mid$(sName, > iInd, 1))) = 0 THEN > > Benoit, could you please change it to > > IF Instr("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_", > UCase(Mid$(sName, iInd, 1))) = 0 THEN > > in some future version? I've been doing it myself for the last few > versions as I've been reimplementing some VB and MSaccess projects, > and underscores in control names seem pretty common (and harmless to > the Gambas compiler and interpreter, it seems.) > > Thanks.... > Rob > > The problem is that the underscore is the limit between the control name and the event name... I don't know if this won't break things. I will try in the development version first... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 19 17:27:27 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 19 Aug 2005 17:27:27 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <1124297700.30622.0.camel@...1064...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> Message-ID: <200508191727.27548.gambas@...1...> On Wednesday 17 August 2005 18:55, Di Fusco Francesco wrote: > > Which version of gambas do you use ? > > The last one, 1.9.16 > > > Francesco This is strange, as the 1.9.16 bug impact the networking components, but should not impact the Timer control... Can you try the latest 1.9.17 ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 19 17:28:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 19 Aug 2005 17:28:25 +0200 Subject: [Gambas-user] Serial Port Component -- Not working In-Reply-To: <200508141259.25917.gambas@...1077...> References: <200508141259.25917.gambas@...1077...> Message-ID: <200508191728.25180.gambas@...1...> On Sunday 14 August 2005 14:59, Alex Schaller wrote: > Hello! > > I am using Gambas 1.9.16 and the Serial Port Component seems to be broken. > > When I place the component on a Form and change anything in its propeties > box, like name or speed, Gambas generates the error: > > To many arguments > > Also, I noticed that if I try to set any properties in Code (like > SerialPort1.Speed = "9600" in the forms open event) I receive the Error: > > Unknown Identifier: SerialPort1 at ....... > > This compile error can be solved by setting the PortName property to the > same as the Name property of the component, but then I get the To many > arguments error again. > > Please let me know if anybody got the same error? > I am running Gentoo with a 2.6.11 kernel and KDE 3.4.1 on a P4-2800 Sony > Laptop. > > Thanks!!! > > Alex > > PS: Gambas is GREAT !!!!! > Can you try with the latest 1.9.17 please ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 19 17:42:44 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 19 Aug 2005 17:42:44 +0200 Subject: [Gambas-user] Release of gambas 1.9.17 Message-ID: <200508191742.44694.gambas@...1...> Hi everyone, Here is the ChangeLog for this release: --8<--------------------------------------------------------------------------- CONFIGURATION * BUG: The detection of QT libraries should work now on Arch Linux. COMPILER * BUG: Now component information are generated only when doing a complete compilation. INTERPRETER * NEW: A new API, GB.MatchString(), to do pattern matching like the LIKE instruction. * BUG: Some fixes in archive management. * NEW: The classes of the executed project marked with EXPORT are now really exported, after the exported classes of all loaded components. This way, you can override them easily. I used it for redefining TextBox so that its background color is animated :-) * BUG: Some fixes in the debugger. Now error messages occurring before the Main function start are catched by the IDE. * NEW: Error.Propagate(), that raises the current catched error again. * BUG: Converting a variant void string to date now gives a null date and not an error anymore. * BUG: A component Gambas project can use itself as component. Then it will not be loaded twice by the interpreter. * BUG: Now strings are implicitely converted to floats with arithmetic operators, and not to booleans anymore. * BUG: Trim$(), LTrim$() and RTrim$() do not remove non-ASCII characters in some cases anymore. QT COMPONENT * BUG: Modifying a control font now always call the Font property setter, so that it is possible to reimplement the Font property in inherited class. * BUG: Automatic drag & drop was disabled in IconView. * NEW: IconView got a MoveBack() method, like the other view controls. * NEW: Application.ActiveControl returns the control having the focus. * NEW: Desktop.Find returns an array of identifiers of windows matching a given title, role or class. * WARNING: TextBox and TextArea selection methods have changed. The Select symbol is now a method only, and you must use the new method SelectAll() to select all the text. The All and implicite methods in the Selection property were removed. * NEW: TreeView, ListView, and ColumnView got a SelectAll() method. * WARNING: Now ColumnView columns are AutoResize by default if ColumnView global AutoResize property is false. * NEW: If an event handler named Application_KeyPress is defined in themselves startup class, then he will get all key events received by the application before any other control. FORM COMPONENT * NEW: DateBox and TimeBox controls, for editing dates and times. * NEW: DirChooser has more properties. * NEW: FileChooser, a control for choosing a file. * NEW: ColorChooser were redesigned. NETWORKING COMPONENTS * BUG: The *.component files were fixed, so that you can insert the controls in form without error as before. * NEW: Controls icons were redesigned. INFORMATION COMPONENT * NEW: This component aims at providing all needed information about installed components: classes, symbols, events, controls, properties, and so on. --8<--------------------------------------------------------------------------- I hope the problem with networking components controls is fixed, and the interpreter changes is the internal component management won't break too many things :-) Be careful with the syntax changes in selection mode in TextBox and TextArea, they might break your code :-( Sorry for that... Last, thank to Terry Blunt, the last people who sent me a financial support! I'm currently thinking giving more visibility to the people who support gambas by making code, translation, help, and making money. Do you think that putting a little photo of each people on the web site would be a good idea ? With then name, the country, and one or two lines of information... Tell me! Regards, -- Benoit Minisini mailto:gambas at ...1... From francesco.difusco at ...69... Fri Aug 19 18:07:59 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Fri, 19 Aug 2005 18:07:59 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <200508191727.27548.gambas@...1...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> Message-ID: <1124467679.21603.0.camel@...1064...> > This is strange, as the 1.9.16 bug impact the networking components, but > should not impact the Timer control... Can you try the latest 1.9.17 ? > Now I go to download it, install it and I'll tell you. Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From francesco.difusco at ...69... Fri Aug 19 19:35:58 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Fri, 19 Aug 2005 19:35:58 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <200508191727.27548.gambas@...1...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> Message-ID: <1124472958.30310.2.camel@...1064...> > This is strange, as the 1.9.16 bug impact the networking components, but > should not impact the Timer control... Can you try the latest 1.9.17 ? Well, I have installed the new version, but the Timer control is still not working. All the examples that use the Timer works fine. I don't understand where the error is. I only put a Timer onto a Form and then try to run it, after that I have set the Delay property. Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From mike_keehan at ...679... Fri Aug 19 20:16:22 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Fri, 19 Aug 2005 19:16:22 +0100 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <1124472958.30310.2.camel@...1064...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> <1124472958.30310.2.camel@...1064...> Message-ID: <430621F6.9040801@...679...> Di Fusco Francesco wrote: >>This is strange, as the 1.9.16 bug impact the networking components, but >>should not impact the Timer control... Can you try the latest 1.9.17 ? > > > Well, I have installed the new version, but the Timer control is still > not working. All the examples that use the Timer works fine. I don't > understand where the error is. I only put a Timer onto a Form and then > try to run it, after that I have set the Delay property. > > Francesco > When you put the Timer on the form, did you change its property to Enabled? Mike. From francesco.difusco at ...69... Fri Aug 19 20:32:58 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Fri, 19 Aug 2005 20:32:58 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <430621F6.9040801@...679...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> <1124472958.30310.2.camel@...1064...> <430621F6.9040801@...679...> Message-ID: <1124476378.20138.0.camel@...1064...> > When you put the Timer on the form, did you change its property to > Enabled? > Why, should I disable it? Yes, I put it enabled=true Francesco > Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From christian at ...980... Fri Aug 19 20:36:01 2005 From: christian at ...980... (Christian E. =?iso-8859-1?q?L=F3pez?= Finnberg) Date: Fri, 19 Aug 2005 19:36:01 +0100 Subject: [Gambas-user] Release of gambas 1.9.17 In-Reply-To: <200508191742.44694.gambas@...1...> References: <200508191742.44694.gambas@...1...> Message-ID: <200508191936.02002.christian@...980...> El Viernes, 19 de Agosto de 2005 16:42, Benoit Minisini escribi?: > CONFIGURATION > > * BUG: The detection of QT libraries should work now on Arch Linux. > It works perfectly, many thanks. Also, component errors after compilation has gone ;-). -- Saludos, Christian E. L?pez Finnberg From sourceforge-raindog2 at ...94... Fri Aug 19 18:58:39 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 19 Aug 2005 12:58:39 -0400 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? In-Reply-To: <200508191719.00270.gambas@...1...> References: <78f4b7670508161949714a9600@...627...> <200508181543.57356.sourceforge-raindog2@...94...> <200508191719.00270.gambas@...1...> Message-ID: <200508191257.29424.sourceforge-raindog2@...94...> On Friday 19 August 2005 11:19, Benoit Minisini wrote: > I am amaze that you did a highlighting text editor with arrays of > textboxes... What a horrible hack! ;-) - Well, I made the DateBox It's not a hack when it's the only way to do it ;-) But it was actually their code.... they have been writing their own Gambas apps for about a year now, and just asked my help for things like trapping key presses. Rob From mike_keehan at ...679... Fri Aug 19 21:20:32 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Fri, 19 Aug 2005 20:20:32 +0100 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <1124476378.20138.0.camel@...1064...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> <1124472958.30310.2.camel@...1064...> <430621F6.9040801@...679...> <1124476378.20138.0.camel@...1064...> Message-ID: <43063100.7010109@...679...> Di Fusco Francesco wrote: >>When you put the Timer on the form, did you change its property to >>Enabled? >> > > Why, should I disable it? Yes, I put it enabled=true > > Francesco > > The simplest way to test is to start a new project, create a single form with one timer on it and nothing else, and this code ' Gambas class file PUBLIC SUB Timer1_Timer() Message("hi") END Run this in gambas and it should display a message box after 1 second. Mike. From francesco.difusco at ...69... Fri Aug 19 22:08:28 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Fri, 19 Aug 2005 22:08:28 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <43063100.7010109@...679...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> <1124472958.30310.2.camel@...1064...> <430621F6.9040801@...679...> <1124476378.20138.0.camel@...1064...> <43063100.7010109@...679...> Message-ID: <1124482108.24662.3.camel@...1064...> > > The simplest way to test is to start a new project, create a single > form with one timer on it and nothing else, and this code > > ' Gambas class file > PUBLIC SUB Timer1_Timer() > Message("hi") > END > > Run this in gambas and it should display a message box after 1 second. > > Mike. Well, It is supposed I know how to use Gambas, for I use it for more than one year, and I have developed bigger applications than this. Just now I am writing an IDE for nasm assembler. Your istructions are just what I have done before asking help. But they don't work, and this is really strange. Francesco Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From mike_keehan at ...679... Fri Aug 19 22:17:22 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Fri, 19 Aug 2005 21:17:22 +0100 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <1124482108.24662.3.camel@...1064...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> <1124472958.30310.2.camel@...1064...> <430621F6.9040801@...679...> <1124476378.20138.0.camel@...1064...> <43063100.7010109@...679...> <1124482108.24662.3.camel@...1064...> Message-ID: <43063E52.5020307@...679...> Alonzo Flinston wrote: >>The simplest way to test is to start a new project, create a single >>form with one timer on it and nothing else, and this code >> >> ' Gambas class file >> PUBLIC SUB Timer1_Timer() >> Message("hi") >> END >> >>Run this in gambas and it should display a message box after 1 second. >> >>Mike. > > > Well, It is supposed I know how to use Gambas, for I use it for more > than one year, and I have developed bigger applications than this. Just > now I am writing an IDE for nasm assembler. > Your istructions are just what I have done before asking help. But they > don't work, and this is really strange. > > Francesco What version of Linux are you using? gcc? Have you deleted all of the previous Gambas installation before installing the new one? Mike. From francesco.difusco at ...69... Fri Aug 19 22:56:01 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Fri, 19 Aug 2005 22:56:01 +0200 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <43063E52.5020307@...679...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> <1124472958.30310.2.camel@...1064...> <430621F6.9040801@...679...> <1124476378.20138.0.camel@...1064...> <43063100.7010109@...679...> <1124482108.24662.3.camel@...1064...> <43063E52.5020307@...679...> Message-ID: <1124484961.5613.1.camel@...1064...> > > What version of Linux are you using? gcc? > Have you deleted all of the previous Gambas installation before > installing the new one? > > Mike. > I am using Mandrake 10.2, gcc 3.4 No, I haven't deleted older installation of Gambas, as I never have done before. Could this be a problem ? Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From comtux at ...626... Sat Aug 20 04:13:20 2005 From: comtux at ...626... (Steve Starr) Date: Fri, 19 Aug 2005 22:13:20 -0400 Subject: [Gambas-user] TextArea Line Numbering And Syntax High lighting? In-Reply-To: <200508191659.49862.gambas@...1...> References: <78f4b7670508161949714a9600@...627...> <200508181401.06374.gambasfr@...11...> <78f4b767050817121422c41442@...627...> <200508191659.49862.gambas@...1...> Message-ID: <78f4b7670508191913b10ece0@...627...> Ok Benoit ill go threw the new dev version and list every problem that i find so they can be worked out i would have listed them before but i have been busy. Thanks :) On 8/19/05, Benoit Minisini wrote: > On Wednesday 17 August 2005 21:14, Steve Starr wrote: > > Ok after going threw all the posts here i have realized that i would > > have to upgrade gambas to the 1.9.16 version. > > > > But when i build gambas 1.9.16 everything builds and installs fine but > > gambas 1.9.16 is highly unstable! > > > > Things are crashing like when i try to use the new wizard feature etc. > > Now i am useing Kde 3.4.1 and Qt 3.3.4 do i need to upgrade Qt to 4.0 > > to get gambas 1.9.16 more stable than what it is? > > > > If some new features crash, you should tell me exactly what happened, so that > I can fix the problem. > > Nobody can find all the bugs *before* releasing things, so this is the reason > of development versions existence :-) > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From comtux at ...626... Sat Aug 20 04:19:32 2005 From: comtux at ...626... (Steve Starr) Date: Fri, 19 Aug 2005 22:19:32 -0400 Subject: [Gambas-user] Release of gambas 1.9.17 In-Reply-To: <200508191742.44694.gambas@...1...> References: <200508191742.44694.gambas@...1...> Message-ID: <78f4b76705081919192068942c@...627...> I think that all you have said is a good idea plus i personaly would like to see some type of paid support for gambas. On 8/19/05, Benoit Minisini wrote: > Hi everyone, > > Here is the ChangeLog for this release: > > --8<--------------------------------------------------------------------------- > > CONFIGURATION > > * BUG: The detection of QT libraries should work now on Arch Linux. > > COMPILER > > * BUG: Now component information are generated only when doing a complete > compilation. > > INTERPRETER > > * NEW: A new API, GB.MatchString(), to do pattern matching like the LIKE > instruction. > * BUG: Some fixes in archive management. > * NEW: The classes of the executed project marked with EXPORT are now really > exported, after the exported classes of all loaded components. This way, you > can override them easily. I used it for redefining TextBox so that its > background color is animated :-) > * BUG: Some fixes in the debugger. Now error messages occurring before the > Main function start are catched by the IDE. > * NEW: Error.Propagate(), that raises the current catched error again. > * BUG: Converting a variant void string to date now gives a null date and not > an error anymore. > * BUG: A component Gambas project can use itself as component. Then it will > not be loaded twice by the interpreter. > * BUG: Now strings are implicitely converted to floats with arithmetic > operators, and not to booleans anymore. > * BUG: Trim$(), LTrim$() and RTrim$() do not remove non-ASCII characters in > some cases anymore. > > QT COMPONENT > > * BUG: Modifying a control font now always call the Font property setter, > so that it is possible to reimplement the Font property in inherited class. > * BUG: Automatic drag & drop was disabled in IconView. > * NEW: IconView got a MoveBack() method, like the other view controls. > * NEW: Application.ActiveControl returns the control having the focus. > * NEW: Desktop.Find returns an array of identifiers of windows matching a > given title, role or class. > * WARNING: TextBox and TextArea selection methods have changed. The Select > symbol is now a method only, and you must use the new method SelectAll() to > select all the text. The All and implicite methods in the Selection property > were removed. > * NEW: TreeView, ListView, and ColumnView got a SelectAll() method. > * WARNING: Now ColumnView columns are AutoResize by default if ColumnView > global AutoResize property is false. > * NEW: If an event handler named Application_KeyPress is defined in themselves > startup class, then he will get all key events received by the application > before any other control. > > FORM COMPONENT > > * NEW: DateBox and TimeBox controls, for editing dates and times. > * NEW: DirChooser has more properties. > * NEW: FileChooser, a control for choosing a file. > * NEW: ColorChooser were redesigned. > > NETWORKING COMPONENTS > > * BUG: The *.component files were fixed, so that you can insert the controls > in form without error as before. > * NEW: Controls icons were redesigned. > > INFORMATION COMPONENT > > * NEW: This component aims at providing all needed information about installed > components: classes, symbols, events, controls, properties, and so on. > > --8<--------------------------------------------------------------------------- > > I hope the problem with networking components controls is fixed, and the > interpreter changes is the internal component management won't break too many > things :-) > > Be careful with the syntax changes in selection mode in TextBox and TextArea, > they might break your code :-( Sorry for that... > > Last, thank to Terry Blunt, the last people who sent me a financial support! > > I'm currently thinking giving more visibility to the people who support gambas > by making code, translation, help, and making money. > > Do you think that putting a little photo of each people on the web site would > be a good idea ? With then name, the country, and one or two lines of > information... Tell me! > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1077... Sat Aug 20 09:34:01 2005 From: gambas at ...1077... (Alex Schaller) Date: Sat, 20 Aug 2005 07:34:01 +0000 Subject: [Gambas-user] Need Help IP Address Message-ID: <200508200734.01581.gambas@...1077...> Hello Ignatius, You can use the following code to get all the information about your Ethernet Cards. You have to use one of the newer Gambas Development versions. I was using 1.9.16. The syntax of the SHELL command changed. You have to put a Button and a textarea on the form and paste the code below in the module. Hope this helps. Alex ' Gambas class file PRIVATE myProcess AS Process PRIVATE sResult AS String PUBLIC SUB Button1_Click() ? DIM sExeString AS String ? DIM icnt AS Integer ? ?textarea1.Clear ? FOR icnt = 0 TO 4 ? ? sExeString = "/sbin/ifconfig eth" & icnt ? ? textarea1.Text = textarea1.Text & "--------eth-" & icnt & "--------" & gb.NewLine ? ? myProcess = SHELL sExeString WAIT FOR READ ? NEXT END PUBLIC SUB Process_Error(sData AS String) ? ? 'Here you can add some error code END PUBLIC SUB Process_Read() ? DIM sLine AS String ? LINE INPUT #LAST, sLine ? ? ?textarea1.Text = textarea1.Text & sLine & gb.NewLine END From gambas at ...1077... Sat Aug 20 09:43:01 2005 From: gambas at ...1077... (Alex Schaller) Date: Sat, 20 Aug 2005 07:43:01 +0000 Subject: [Gambas-user] Gambas editor component syntax Message-ID: <200508200743.01136.gambas@...1077...> Hello! I am working on an IDE for a Microcontroller using the Gambas qt editor component. I was able to modify the the keywords for syntax highlighting in one of the source files. I remember a block of information like this: DIM, DEBUG, FOR, etc. Now I can't find this information anymore. Can anyone shed some light on were I can modify the syntax for highlighting. Thanks! PS: Whats the value of experience if you cant remember it ?! From admin at ...1080... Sat Aug 20 19:27:38 2005 From: admin at ...1080... (Werner Staudacher) Date: Sat, 20 Aug 2005 17:27:38 +0000 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? Message-ID: <4307680A.4080605@...1080...> Hi all Is it possible to find out over wich row the user is moving the mouse? I want this to give more infos about the row-item into the tooltip (or somewher else). Thanks, staudi From admin at ...1080... Sat Aug 20 19:33:15 2005 From: admin at ...1080... (Werner Staudacher) Date: Sat, 20 Aug 2005 17:33:15 +0000 Subject: [Gambas-user] Is it possible to change text-properties or background-color from a row in the Gridview? Message-ID: <4307695B.9030708@...1080...> When i click of a row from Gridview i dont see wich it was when i move the mouse away. Would be nice if i can mark this row with text in bold or a backgroundcolor. I dit not fin any solution yet. Thanks, staudi From mike_keehan at ...679... Sat Aug 20 19:56:18 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Sat, 20 Aug 2005 18:56:18 +0100 Subject: [Gambas-user] Too many arguments using a Timer In-Reply-To: <1124484961.5613.1.camel@...1064...> References: <1124254337.23125.5.camel@...1064...> <200508171552.36915.gambas@...1...> <1124297700.30622.0.camel@...1064...> <200508191727.27548.gambas@...1...> <1124472958.30310.2.camel@...1064...> <430621F6.9040801@...679...> <1124476378.20138.0.camel@...1064...> <43063100.7010109@...679...> <1124482108.24662.3.camel@...1064...> <43063E52.5020307@...679...> <1124484961.5613.1.camel@...1064...> Message-ID: <43076EC2.8020703@...679...> Alonzo Flinston wrote: >>What version of Linux are you using? gcc? >>Have you deleted all of the previous Gambas installation before >>installing the new one? >> >>Mike. >> > > > I am using Mandrake 10.2, gcc 3.4 > No, I haven't deleted older installation of Gambas, as I never have done > before. Could this be a problem ? > > Francesco > Well some upgrades in the past needed the older version removed first, so it is worth trying. I usually just move my current version to something like - gambas-old - then install the new one. It's very strange that the examples work but your code doesn't. I can't think what else to try. Mike. From lordheavy at ...512... Sun Aug 21 01:53:32 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 21 Aug 2005 01:53:32 +0200 Subject: [Gambas-user] new released of sdl component ... Message-ID: <4307C27C.3080504@...512...> http://gamebas.tuxfamily.org/download/ --- the changelog : xx/xx/xx - Laurent Carlier Image component * Now a default font is available (sfont) if none defined (draw.c defaultfont.h) 20/08/05 - Laurent Carlier Sound Component * Now music can be part of the binary (thanks benoit !) (sound.c) Image component * Now mouse position (not relative) works outside of mouse event (mouse.c) * Early joystick detection (joystick.c joystick.h) * First steps for sprite animation (gambas component part) * Surface.Blit is now called Surface.Draw (surface.c) * Now fonts can be part of the binary (thanks benoit !) (font.c) * New event for Screen : Screen_resize (screen.c screen.h event.c event.h) * New property for Screen : border can be fixed or resizable (screen.c screen.h)) * Driver.BestPixelDepth is now Driver.DefaultDepth (driver.c) * DriverInfo is now called Driver (driver.c) * Fix a bug with convertion of alpha/non-alpha surfaces, now twices correctly managed (surface.c) --- And a small piece of code to test sprite. Sprite.Load() is currently broken, Sprite.FromSurface must be use. Test it and send comments :) Have fun ! -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: essai-0.0.4.tar.gz Type: application/x-gzip Size: 8639 bytes Desc: not available URL: From gambasfr at ...11... Mon Aug 22 02:09:41 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 22 Aug 2005 02:09:41 +0200 Subject: [Gambas-user] new released of sdl component ... In-Reply-To: <4307C27C.3080504@...512...> References: <4307C27C.3080504@...512...> Message-ID: <200508220209.41417.gambasfr@...11...> Le Dimanche 21 Ao?t 2005 01:53, Laurent Carlier a ?crit?: > http://gamebas.tuxfamily.org/download/ > > --- > the changelog : > xx/xx/xx - Laurent Carlier > Image component > * Now a default font is available (sfont) if none defined (draw.c > defaultfont.h) > > 20/08/05 - Laurent Carlier > Sound Component > * Now music can be part of the binary (thanks benoit !) (sound.c) > Image component > * Now mouse position (not relative) works outside of mouse event (mouse.c) > * Early joystick detection (joystick.c joystick.h) > * First steps for sprite animation (gambas component part) > * Surface.Blit is now called Surface.Draw (surface.c) > * Now fonts can be part of the binary (thanks benoit !) (font.c) > * New event for Screen : Screen_resize (screen.c screen.h event.c event.h) > * New property for Screen : border can be fixed or resizable (screen.c > screen.h)) > * Driver.BestPixelDepth is now Driver.DefaultDepth (driver.c) > * DriverInfo is now called Driver (driver.c) > * Fix a bug with convertion of alpha/non-alpha surfaces, now twices > correctly > managed (surface.c) > --- > > And a small piece of code to test sprite. Sprite.Load() is currently > broken, Sprite.FromSurface must be use. or change the path : add 'Application.Path &/ ' before the image name :) > > Test it and send comments :) > > Have fun ! From comtux at ...626... Sun Aug 21 09:35:57 2005 From: comtux at ...626... (Steve Starr) Date: Sun, 21 Aug 2005 07:35:57 +0000 Subject: [Gambas-user] Drag & Drop Question? Message-ID: <78f4b767050821003540d43866@...627...> I am trying to move a button like so. <---Code---> PUBLIC SUB Button1_MouseMove() Button1.X = Mouse.X Button1.Y = Mouse.Y END <---The Question---> But the button widget jumps around when i drag it how could i keep the button that i want to drag from jumping around? <---What i plan to do with the answer---> What i am trying to do is drag widgets around on a form and depending on where i drop them will depend on what html/css values are written out. So once you are done draging and droping your widgets and you save your project you can then view the results in html format with the webbrowser component. Thanks to all who reply :) From oczykota at ...988... Sun Aug 21 10:29:19 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Sun, 21 Aug 2005 10:29:19 +0200 Subject: [Gambas-user] how make form on top. Message-ID: <43083B5F.5080202@...988...> I want to show same form. this form must show with some delay. Same time 20min or more. I this time user can use another application, so i want to show this form on top on everything windows on desktop. How do this? Arek. From gambasfr at ...11... Mon Aug 22 15:33:24 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 22 Aug 2005 15:33:24 +0200 Subject: [Gambas-user] how make form on top. In-Reply-To: <43083B5F.5080202@...988...> References: <43083B5F.5080202@...988...> Message-ID: <200508221533.24114.gambasfr@...11...> Le Dimanche 21 Ao?t 2005 10:29, Arkadiusz Zychewicz a ?crit?: > I want to show same form. this form must show with some delay. Same time > 20min or more. I this time user can use another application, so i want > to show this form on top on everything windows on desktop. How do this? > > Arek. normally simply by : MyForm.TopOnly = TRUE Thats all and it work fine :) Regard, Fabien Bodard From gambas at ...1... Sun Aug 21 17:27:39 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Aug 2005 17:27:39 +0200 Subject: [Gambas-user] Gambas editor component syntax In-Reply-To: <200508200743.01136.gambas@...1077...> References: <200508200743.01136.gambas@...1077...> Message-ID: <200508211727.39624.gambas@...1...> On Saturday 20 August 2005 09:43, Alex Schaller wrote: > Hello! > > I am working on an IDE for a Microcontroller using the Gambas qt editor > component. > I was able to modify the the keywords for syntax highlighting in one of the > source files. > I remember a block of information like this: > DIM, DEBUG, FOR, etc. > Now I can't find this information anymore. Logical, this was removed. Now the syntax highlighting is entirely done inside the gb.eval component, that knows everything about the Gambas language syntax. The new Editor control is a text editor with custom highlighting support not done yet. So you must be patient :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 21 17:28:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Aug 2005 17:28:25 +0200 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? In-Reply-To: <4307680A.4080605@...1080...> References: <4307680A.4080605@...1080...> Message-ID: <200508211728.25412.gambas@...1...> On Saturday 20 August 2005 19:27, Werner Staudacher wrote: > Hi all > > Is it possible to find out over wich row the user is moving the mouse? > I want this to give more infos about the row-item into the tooltip (or > somewher else). > > Thanks, staudi > Where ? When ? How ? 8-o -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 21 17:30:13 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Aug 2005 17:30:13 +0200 Subject: [Gambas-user] Drag & Drop Question? In-Reply-To: <78f4b767050821003540d43866@...627...> References: <78f4b767050821003540d43866@...627...> Message-ID: <200508211730.13850.gambas@...1...> On Sunday 21 August 2005 09:35, Steve Starr wrote: > I am trying to move a button like so. > > <---Code---> > > PUBLIC SUB Button1_MouseMove() > > Button1.X = Mouse.X > Button1.Y = Mouse.Y > > END > > <---The Question---> > But the button widget jumps around when i drag it how could i keep the > button that i want to drag from jumping around? Mouse.X/Y are relative to the top corner of the button! You must memorize the absolute coordinates of the mouse in MousePress event, and move the button in MouseMov by using the difference between the current absolute Mouse cursor position and the memorized one. Regards, -- Benoit Minisini mailto:gambas at ...1... From comtux at ...626... Sun Aug 21 19:09:13 2005 From: comtux at ...626... (Steve Starr) Date: Sun, 21 Aug 2005 17:09:13 +0000 Subject: [Gambas-user] Drag & Drop Question? In-Reply-To: <200508211730.13850.gambas@...1...> References: <78f4b767050821003540d43866@...627...> <200508211730.13850.gambas@...1...> Message-ID: <78f4b76705082110095ed0616d@...627...> Umm could you provide a simple example for me please. On 8/21/05, Benoit Minisini wrote: > On Sunday 21 August 2005 09:35, Steve Starr wrote: > > I am trying to move a button like so. > > > > <---Code---> > > > > PUBLIC SUB Button1_MouseMove() > > > > Button1.X = Mouse.X > > Button1.Y = Mouse.Y > > > > END > > > > <---The Question---> > > But the button widget jumps around when i drag it how could i keep the > > button that i want to drag from jumping around? > > Mouse.X/Y are relative to the top corner of the button! > > You must memorize the absolute coordinates of the mouse in MousePress event, > and move the button in MouseMov by using the difference between the current > absolute Mouse cursor position and the memorized one. > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 21 19:55:30 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Aug 2005 19:55:30 +0200 Subject: [Gambas-user] Drag & Drop Question? In-Reply-To: <78f4b76705082110095ed0616d@...627...> References: <78f4b767050821003540d43866@...627...> <200508211730.13850.gambas@...1...> <78f4b76705082110095ed0616d@...627...> Message-ID: <200508211955.30400.gambas@...1...> On Sunday 21 August 2005 19:09, Steve Starr wrote: > Umm could you provide a simple example for me please. > Quickly... PRIVATE $X AS Integer PRIVATE $Y AS Integer PRIVATE $MX AS Integer PRIVATE $MY AS Integer PUBLIC SUB Button1_MousePress() $MX = Mouse.ScreenX $MY = Mouse.ScreenY $X = Button1.X $Y = Button1.Y END PUBLIC SUB Button1_MouseMove() ' The following line may be mandatory for controls that track mouse events. IF NOT Mouse.Left THEN RETURN Button1.Move($X + Mouse.ScreenX - $MX, $Y + Mouse.ScreenY - $MY) END Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Sun Aug 21 20:21:44 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 21 Aug 2005 20:21:44 +0200 Subject: [Gambas-user] shadow of the anim Message-ID: <4308C638.8040909@...512...> a nice anim based on shadow of the beast here : http://gamebas.tuxfamily.org/download/ Regards, -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: shadow.jpg Type: image/jpeg Size: 73714 bytes Desc: not available URL: From gambas-user at lists.sourceforge.net Mon Aug 22 00:59:59 2005 From: gambas-user at lists.sourceforge.net (Werner Staudacher) Date: Sun, 21 Aug 2005 22:59:59 +0000 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? In-Reply-To: <200508211728.25412.gambas@...1...> References: <4307680A.4080605@...1080...> <200508211728.25412.gambas@...1...> Message-ID: <4309076E.50504@lists.sourceforge.net> Benoit Minisini schrieb: >On Saturday 20 August 2005 19:27, Werner Staudacher wrote: > > >>Hi all >> >>Is it possible to find out over wich row the user is moving the mouse? >>I want this to give more infos about the row-item into the tooltip (or >>somewher else). >> >>Thanks, staudi >> >> >> > >Where ? When ? How ? 8-o > > > Sorry my bad explanation. When i move the mouse over a row from a listview i want to now how i can determine the listview.row or index (?), even if the row is not selected, so that i can read this listview[index].text Thanks From isy21 at ...1082... Mon Aug 22 04:07:59 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 22 Aug 2005 09:07:59 +0700 (WIT) Subject: [Gambas-user] RE:Thanks Alex Message-ID: <17173445.1124676479184.JavaMail.root@...1086...> On Saturday 20 August 2005 14:34, Alex Schaller wrote: > Hello Ignatius, > > You can use the following code to get all the information about your > Ethernet Cards. > You have to use one of the newer Gambas Development versions. I was using > 1.9.16. The syntax of the SHELL command changed. > > You have to put a Button and a textarea on the form and paste the code > below in the module. > > Hope this helps. > > Alex > > > ' Gambas class file > PRIVATE myProcess AS Process > PRIVATE sResult AS String > > PUBLIC SUB Button1_Click() > > DIM sExeString AS String > DIM icnt AS Integer > > textarea1.Clear > > FOR icnt = 0 TO 4 > sExeString = "/sbin/ifconfig eth" & icnt > textarea1. Text = textarea1.Text & "--------eth-" & icnt & "--------" & > gb. NewLine > myProcess = SHELL sExeString WAIT FOR READ > NEXT > > END > > > PUBLIC SUB Process_Error(sData AS String) > 'Here you can add some error code > END > > PUBLIC SUB Process_Read() > > DIM sLine AS String > > LINE INPUT #LAST, sLine > textarea1.Text = textarea1.Text & sLine & gb.NewLine > END > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19- 22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe. com/bsce5sf > _______________________________________________ > Gambas- user mailing list > Gambas-user at lists.sourceforge.net > https://lists. sourceforge.net/lists/listinfo/gambas-user Thanks Alex, i will try in my project. From bcgreen at ...43... Mon Aug 22 04:55:47 2005 From: bcgreen at ...43... (Bryan C. Green) Date: Sun, 21 Aug 2005 19:55:47 -0700 (PDT) Subject: [Gambas-user] Image.Resize() seems to crop instead of resize Message-ID: <20050822025547.2284.qmail@...1087...> Hi, all-- I've been struggling with the picture.resize() and image.resize() commands. They seem to crop the image rather than resize it...has anyone else noticed this? Thanks! Bryan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From isy21 at ...1082... Mon Aug 22 11:22:38 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 22 Aug 2005 16:22:38 +0700 (WIT) Subject: [Gambas-user] Question of combobox Message-ID: <28159308.1124702558006.JavaMail.root@...1086...> Hi, In gambas 1.0.9 i use 2 combobox ,combobox1 for display city in city_name and combobox2 display city in city_code if i changed city_name then city_code will be changed too. and if changed city_code, i used event combobox_changed. setting combobox1.index=combobox2.index then combobox1 will changed according to combobox2. but after i install gambas 1.0.10. it not working anymore....please i need your help. I use Suse 9.3 Thanks in advance Ignatius From isy21 at ...1082... Mon Aug 22 11:28:27 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 22 Aug 2005 16:28:27 +0700 (WIT) Subject: [Gambas-user] Fw: Question of combobox Message-ID: <26545473.1124702907141.JavaMail.root@...1086...> ----Original Message---- From: isy21 at ...1082... Date: Aug 22, 2005 16:22 To: Subj: Question of combobox Hi, In gambas 1.0.9 i use 2 combobox ,combobox1 for display city in city_name and combobox2 display city in city_code if i changed city_name then city_code will be changed too. and if changed city_code, i used event combobox_changed. setting combobox1. index=combobox2.index then combobox1 will changed according to combobox2. but after i install gambas 1.0.10. it not working anymore....please i need your help. I use Suse 9.3 Thanks in advance Ignatius From isy21 at ...1082... Mon Aug 22 12:17:08 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 22 Aug 2005 17:17:08 +0700 (WIT) Subject: [Gambas-user] Re: Question of combobox Message-ID: <128050.1124705828543.JavaMail.root@...1086...> Sorry, my problem already solce, combobox 2 must be set readonly=false and combobox1, set to readonly=true Sorry Ignatius From pvera at ...729... Mon Aug 22 15:36:08 2005 From: pvera at ...729... (Pablo Vera) Date: Mon, 22 Aug 2005 08:36:08 -0500 Subject: [Gambas-user] Image.Resize() seems to crop instead of resize In-Reply-To: <20050822025547.2284.qmail@...1087...> References: <20050822025547.2284.qmail@...1087...> Message-ID: <4309D4C8.7010402@...729...> Yes, they do. What you need is: Image.Stretch(Width, Height, Smooth) Saludos, Pablo Vera Bryan C. Green wrote: > Hi, all-- I've been struggling with the > picture.resize() and image.resize() commands. They > seem to crop the image rather than resize it...has > anyone else noticed this? > > Thanks! > Bryan > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambas at ...1... Mon Aug 22 16:20:44 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Aug 2005 16:20:44 +0200 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? In-Reply-To: <4309076E.50504@lists.sourceforge.net> References: <4307680A.4080605@...1080...> <200508211728.25412.gambas@...1...> <4309076E.50504@lists.sourceforge.net> Message-ID: <200508221620.45070.gambas@...1...> On Monday 22 August 2005 00:59, Werner Staudacher wrote: > Benoit Minisini schrieb: > >On Saturday 20 August 2005 19:27, Werner Staudacher wrote: > >>Hi all > >> > >>Is it possible to find out over wich row the user is moving the mouse? > >>I want this to give more infos about the row-item into the tooltip (or > >>somewher else). > >> > >>Thanks, staudi > > > >Where ? When ? How ? 8-o > > Sorry my bad explanation. > When i move the mouse over a row from a listview i want to now how i can > determine the listview.row or index (?), even if the row is not > selected, so that i can read this listview[index].text > > Thanks > Normally, there is a 'Find(X, Y)' method that returns the item from (X, Y) coordinates relative to the listview control top-left corner. You can look in the Drag & Drop example to see some code... Regards, -- Benoit Minisini mailto:gambas at ...1... From helmut.ruch at ...1088... Mon Aug 22 19:13:24 2005 From: helmut.ruch at ...1088... (Helmut Ruch) Date: Mon, 22 Aug 2005 19:13:24 +0200 Subject: [Gambas-user] Problem with gambas2-ide-1.9.17-0.gbv.1.i586.rpm Message-ID: Hello to all, I just tried to install the gambas2-ide from ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/ in Suse 9.3. YaSt finishes without a message and without error, and nothing was installed. Is there a problem with this .rpm? I also need a description on how to make components in Gambas 2! Can somebody help me? Regards, Helmut Ruch From comtux at ...626... Tue Aug 23 15:08:54 2005 From: comtux at ...626... (Steve Starr) Date: Tue, 23 Aug 2005 13:08:54 +0000 Subject: [Gambas-user] WARNING: 80 allocation(s) non freed Help. Message-ID: <78f4b767050823060858cb825@...627...> I am getting these errors in my console when i run my gambas application I am useing Gambas 1.9.17 WARNING: circular references detected FToolBar (6) Form1 (1) ToolPanelContainer (6) ToolPanel (1) Mutex destroy failure: Device or resource busy WARNING: 80 allocation(s) non freed. You can download the sources from here. http://www.kde-apps.org/content/show.php?content=28112 Thanks to all who reply. From gambas at ...1077... Tue Aug 23 20:25:49 2005 From: gambas at ...1077... (Alex Schaller) Date: Tue, 23 Aug 2005 14:25:49 -0400 Subject: [Gambas-user] Toolpanel Children Resize Problem Message-ID: <200508231425.49209.gambas@...1077...> Hello! I am trying to automatically resize controls inside a Toolpanel and ran into the following problem. Any control that is not inside Toolbar-0 does not automatically resize. Here is some sample code that I used. PUBLIC SUB Form_Resize() DIM cControl AS Control Toolpanel1.Width = ME.ClientWidth Toolpanel1.Height = ME.ClientHeight FOR EACH cControl IN Toolpanel1.Children cControl.Width = Toolpanel1.ClientWidth cControl.Height = Toolpanel1.ClientHeight NEXT END Thanks! Alex From ajtim at ...1089... Tue Aug 23 21:13:28 2005 From: ajtim at ...1089... (Mitja) Date: Tue, 23 Aug 2005 14:13:28 -0500 Subject: [Gambas-user] gambas 1.9.14 Message-ID: <200508231413.28950.ajtim@...1089...> Hi! I installed gambas 1.9.14 from SuSE site on my 9.3. Gambas cannot start and i get a message: ERROR: #2: Cannot load class 'ValueBox': Unable to load class file Thanks, Mitja From gambas-user at lists.sourceforge.net Wed Aug 24 00:19:45 2005 From: gambas-user at lists.sourceforge.net (Werner Staudacher) Date: Tue, 23 Aug 2005 22:19:45 +0000 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? In-Reply-To: <200508221620.45070.gambas@...1...> References: <4307680A.4080605@...1080...> <200508211728.25412.gambas@...1...> <4309076E.50504@lists.sourceforge.net> <200508221620.45070.gambas@...1...> Message-ID: <430BA101.4030404@lists.sourceforge.net> Benoit Minisini schrieb: >On Monday 22 August 2005 00:59, Werner Staudacher wrote: > > >>Benoit Minisini schrieb: >> >> >>>On Saturday 20 August 2005 19:27, Werner Staudacher wrote: >>> >>> >>>>Hi all >>>> >>>>Is it possible to find out over wich row the user is moving the mouse? >>>>I want this to give more infos about the row-item into the tooltip (or >>>>somewher else). >>>> >>>>Thanks, staudi >>>> >>>> >>>Where ? When ? How ? 8-o >>> >>> >>Sorry my bad explanation. >>When i move the mouse over a row from a listview i want to now how i can >>determine the listview.row or index (?), even if the row is not >>selected, so that i can read this listview[index].text >> >>Thanks >> >> >> > >Normally, there is a 'Find(X, Y)' method that returns the item from (X, Y) >coordinates relative to the listview control top-left corner. > >You can look in the Drag & Drop example to see some code... > >Regards, > > > Thanks, that is what i am looking for, but dit not find in the help Regards From gambas-user at lists.sourceforge.net Wed Aug 24 01:23:57 2005 From: gambas-user at lists.sourceforge.net (Werner Staudacher) Date: Tue, 23 Aug 2005 23:23:57 +0000 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? In-Reply-To: <200508221620.45070.gambas@...1...> References: <4307680A.4080605@...1080...> <200508211728.25412.gambas@...1...> <4309076E.50504@lists.sourceforge.net> <200508221620.45070.gambas@...1...> Message-ID: <430BB00D.2040402@lists.sourceforge.net> Benoit Minisini schrieb: >On Monday 22 August 2005 00:59, Werner Staudacher wrote: > > >>Benoit Minisini schrieb: >> >> >>>On Saturday 20 August 2005 19:27, Werner Staudacher wrote: >>> >>> >>>>Hi all >>>> >>>>Is it possible to find out over wich row the user is moving the mouse? >>>>I want this to give more infos about the row-item into the tooltip (or >>>>somewher else). >>>> >>>>Thanks, staudi >>>> >>>> >>>Where ? When ? How ? 8-o >>> >>> >>Sorry my bad explanation. >>When i move the mouse over a row from a listview i want to now how i can >>determine the listview.row or index (?), even if the row is not >>selected, so that i can read this listview[index].text >> >>Thanks >> >> >> > >Normally, there is a 'Find(X, Y)' method that returns the item from (X, Y) >coordinates relative to the listview control top-left corner. > >You can look in the Drag & Drop example to see some code... > >Regards, > > > Hi Benoit The sample Drag&Drop is made with the TreeView, but for the ListBox (Sorry, previously i called it ListView) has this function another meaning. You now how to do it with ListBox? Regards, Staudi From admin at ...1080... Wed Aug 24 01:38:41 2005 From: admin at ...1080... (Werner Staudacher) Date: Tue, 23 Aug 2005 23:38:41 +0000 Subject: [Gambas-user] Clicking on the scrollbar-arrow-button (down/up) from the ListBox raises doubleclick Message-ID: <430BB381.3010805@...1080...> Hi When i click with short delays on the scrollbar-arrow-button (down/up) from the ListBox, then the doubleclick-event is raised. My Code in this event deals with listbox.index wich raises a error if no row is selected. With " IF IsNull(listbox.current) THEN RETURN " i could trap this error, but when a row is selected the event does what he should not. Any idea? Thanks, Staudi From gambas-user at lists.sourceforge.net Wed Aug 24 01:57:26 2005 From: gambas-user at lists.sourceforge.net (Gambas User List) Date: Tue, 23 Aug 2005 23:57:26 +0000 Subject: [Gambas-user] Clicking on the scrollbar-arrow-button (down/up) from the ListBox raises doubleclick In-Reply-To: <430BB381.3010805@...1080...> References: <430BB381.3010805@...1080...> Message-ID: <430BB7E6.8090506@lists.sourceforge.net> Werner Staudacher schrieb: > Hi > > When i click with short delays on the scrollbar-arrow-button (down/up) > from the ListBox, then the doubleclick-event is raised. > My Code in this event deals with listbox.index wich raises a error if > no row is selected. With " IF IsNull(listbox.current) THEN RETURN " i > could trap this error, but when a row is selected the event does > what he should not. > Any idea? > > Thanks, Staudi > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ListView and ColumnView have the same behaviour. I use Version 1.0.3 from a Debian-distro. Regards, Staudi From kztyrvlq at ...966... Wed Aug 24 04:55:21 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 24 Aug 2005 00:25:21 -0230 Subject: [Gambas-user] Redirect to NULL with EXEC Message-ID: <430BE199.6010703@...966...> Wednesday, 24 August 2005 Good Day All . . . Can someone point me in the right direction with a problem that I have while using 1.0.10. I want to use the EXEC command along with the redirect >NULL so that some messages do not appear in the console window. I have tried EXEC [ "mount", "/harddrive" ] WAIT >NULL and EXEC [ "mount", "/harddrive >NULL" ] WAIT and EXEC [ "mount /harddrive", ">NULL" ] WAIT but none work. All generate internal procedural errors. I intend to mount a drive as root but first unmount it if already mounted by a user. The 'nice to know' console messages read like, "according to mtab the hard drive is not already mounted." These display when the hard drive is unmounted and not already mounted. I tried the error handling procedure TRY but the console messages still display. They do not appear to be error messages but nice to know stuff. Or Can someone tell me a better way? The whole program depends upon a solution. Later in the program, I intend to use the EXEC cp command along with the >> redirect to send the recursive copy info to a log file. Thanks. Paul From kztyrvlq at ...966... Wed Aug 24 05:00:18 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 24 Aug 2005 00:30:18 -0230 Subject: [Gambas-user] Re: Printer Setup Message-ID: <430BE2C2.9090008@...966...> Wednesday, 24 August 2005 I have checked and I located 4 config files for the printer in my KDE ALSA SUSE 9.3 distribution using 1.0.9. None are set to A4 which is the default page size in Gambas. It looks like I will be reconfiguring the printer each time that I print until this reaches a wish list. Thank You Paul From matthias-laur at ...978... Wed Aug 24 08:31:08 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Wed, 24 Aug 2005 08:31:08 +0200 Subject: AW: [Gambas-user] Redirect to NULL with EXEC In-Reply-To: <430BE199.6010703@...966...> Message-ID: <0MKwtQ-1E7omw3IY8-00065R@...979...> Hi Paul, I think the ">" command need a shell. With the command EXEC you have no shell. Try: SHELL "mount /harddriv > NULL" WAIT Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von A Person Gesendet: Mittwoch, 24. August 2005 04:55 An: gambas-user at lists.sourceforge.net Betreff: [Gambas-user] Redirect to NULL with EXEC Wednesday, 24 August 2005 Good Day All . . . Can someone point me in the right direction with a problem that I have while using 1.0.10. I want to use the EXEC command along with the redirect >NULL so that some messages do not appear in the console window. I have tried EXEC [ "mount", "/harddrive" ] WAIT >NULL and EXEC [ "mount", "/harddrive >NULL" ] WAIT and EXEC [ "mount /harddrive", ">NULL" ] WAIT but none work. All generate internal procedural errors. I intend to mount a drive as root but first unmount it if already mounted by a user. The 'nice to know' console messages read like, "according to mtab the hard drive is not already mounted." These display when the hard drive is unmounted and not already mounted. I tried the error handling procedure TRY but the console messages still display. They do not appear to be error messages but nice to know stuff. Or Can someone tell me a better way? The whole program depends upon a solution. Later in the program, I intend to use the EXEC cp command along with the >> redirect to send the recursive copy info to a log file. Thanks. Paul ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From isy21 at ...1082... Wed Aug 24 11:23:34 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Wed, 24 Aug 2005 16:23:34 +0700 (WIT) Subject: [Gambas-user] Help Textbox Message-ID: <23945514.1124875414675.JavaMail.root@...1083...> Hi all, I have a little problem in my project, i wish anyone can help me out. I put textbox in my form,by default will be set enable=false if i push button "New" then this textbox will be enable. But the problem is, why i put grey background in textbox, if i set to enable=false. How can set textbox enable=false without set grey background ? I try put in frame, and i set that frame.enable=false and textbox.enabled=true, but it always set grey background to anything in that frame, including textbox. In vb , alse hava a same problem, but i do a little trick, like i put textxbox in a frame. then that textbox, i set to enable=true and frame i set to enable=false. the result i can edit anything in textbox and that textbox not set to grey, because i only set enabled=false in frame only. If i want to edit that textbox, i set frame enable=true. can anyone will help me, if possible include some source too. (because i newbie in gambas) thanks Igantius From gambas at ...1077... Wed Aug 24 15:44:55 2005 From: gambas at ...1077... (Alex Schaller) Date: Wed, 24 Aug 2005 09:44:55 -0400 Subject: [Gambas-user] Redirect to NULL with EXEC Message-ID: <200508240944.55860.gambas@...1077...> Hello Paul! You could could execute the mount command thru a Gambas process and then read the output and error messages in the processes Read and error routines. For the 1st. sample code below to work you will have to create a form and put a button and a textarea on it and then paste the code below in the forms class. For the 2nd sample code (Konsole project) paste the code into the startup module. Have a great day! Alex 1st sample code------------------------------------------------------------ ' Gambas class file PRIVATE hProcess AS Process PUBLIC SUB Button1_Click() DIM sExeString AS String textarea1.Clear sExeString = "mount /dev/hda6" hProcess = SHELL sExeString WAIT FOR READ END PUBLIC SUB Process_Error(sData AS String) textarea1.Text = textarea1.Text & "Error: " & sData & gb.NewLine END PUBLIC SUB Process_Read() DIM sLine AS String LINE INPUT #LAST, sLine textarea1.Text = textarea1.Text & sLine & gb.NewLine END 2nd sample code------------------------------------------------------------ ' Gambas module file PRIVATE hProcess AS Process PRIVATE sExeString AS String PUBLIC SUB Main() 'DIM sExeString AS String sExeString = "mount /dev/hda6" hProcess = SHELL sExeString FOR READ END PUBLIC SUB Process_Error(sData AS String) ' Uncomment line below if you want to print a error message ' or add code to deal with different errors. 'PRINT "Error executing " & sExeString & ": " & gb.NewLine & sData END PUBLIC SUB Process_Read() DIM sLine AS String LINE INPUT #LAST, sLine ' Uncomment line below if you want to print a message 'PRINT "Information from command " & sExeString & " :" & sLine END From gambas at ...1... Wed Aug 24 18:29:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:29:19 +0200 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? In-Reply-To: <430BB00D.2040402@lists.sourceforge.net> References: <4307680A.4080605@...1080...> <200508221620.45070.gambas@...1...> <430BB00D.2040402@lists.sourceforge.net> Message-ID: <200508241829.19607.gambas@...1...> On Wednesday 24 August 2005 01:23, Werner Staudacher wrote: > Benoit Minisini schrieb: > >On Monday 22 August 2005 00:59, Werner Staudacher wrote: > >>Benoit Minisini schrieb: > >>>On Saturday 20 August 2005 19:27, Werner Staudacher wrote: > >>>>Hi all > >>>> > >>>>Is it possible to find out over wich row the user is moving the mouse? > >>>>I want this to give more infos about the row-item into the tooltip (or > >>>>somewher else). > >>>> > >>>>Thanks, staudi > >>> > >>>Where ? When ? How ? 8-o > >> > >>Sorry my bad explanation. > >>When i move the mouse over a row from a listview i want to now how i can > >>determine the listview.row or index (?), even if the row is not > >>selected, so that i can read this listview[index].text > >> > >>Thanks > > > >Normally, there is a 'Find(X, Y)' method that returns the item from (X, Y) > >coordinates relative to the listview control top-left corner. > > > >You can look in the Drag & Drop example to see some code... > > > >Regards, > > Hi Benoit > > The sample Drag&Drop is made with the TreeView, but for the ListBox > (Sorry, previously i called it ListView) has this function another meaning. > You now how to do it with ListBox? > > Regards, Staudi > Mmm... You should use a ListView instead if you want to do that... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:31:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:31:53 +0200 Subject: [Gambas-user] Problem with gambas2-ide-1.9.17-0.gbv.1.i586.rpm In-Reply-To: References: Message-ID: <200508241831.53793.gambas@...1...> On Monday 22 August 2005 19:13, Helmut Ruch wrote: > Hello to all, > > I just tried to install the gambas2-ide from > ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/ in Suse 9.3. YaSt > finishes without a message and without error, and nothing was installed. > Is there a problem with this .rpm? > I don't know. The author of these packages shoudl read this mailing-list now, so maybe he will be able to tell you what happens. > I also need a description on how to make components in Gambas 2! Can > somebody help me? > I will write it. Do you want to make it in C/C++ or in Gambas ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:32:37 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:32:37 +0200 Subject: [Gambas-user] WARNING: 80 allocation(s) non freed Help. In-Reply-To: <78f4b767050823060858cb825@...627...> References: <78f4b767050823060858cb825@...627...> Message-ID: <200508241832.37576.gambas@...1...> On Tuesday 23 August 2005 15:08, Steve Starr wrote: > I am getting these errors in my console when i run my gambas application > I am useing Gambas 1.9.17 > > WARNING: circular references detected > FToolBar (6) > Form1 (1) > ToolPanelContainer (6) > ToolPanel (1) > Mutex destroy failure: Device or resource busy > WARNING: 80 allocation(s) non freed. > > You can download the sources from here. > http://www.kde-apps.org/content/show.php?content=28112 > > Thanks to all who reply. > Did you check that you didn't make any circulare reference before ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:36:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:36:05 +0200 Subject: [Gambas-user] Toolpanel Children Resize Problem In-Reply-To: <200508231425.49209.gambas@...1077...> References: <200508231425.49209.gambas@...1077...> Message-ID: <200508241836.05856.gambas@...1...> On Tuesday 23 August 2005 20:25, Alex Schaller wrote: > Hello! > > I am trying to automatically resize controls inside a Toolpanel and ran > into the following problem. Any control that is not inside Toolbar-0 does > not automatically resize. > Here is some sample code that I used. > > PUBLIC SUB Form_Resize() > > DIM cControl AS Control > > Toolpanel1.Width = ME.ClientWidth > Toolpanel1.Height = ME.ClientHeight > > FOR EACH cControl IN Toolpanel1.Children > cControl.Width = Toolpanel1.ClientWidth > cControl.Height = Toolpanel1.ClientHeight > NEXT > > END > > Thanks! > > Alex > > Do you have more information? A project hat I can test, for example... :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:37:00 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:37:00 +0200 Subject: [Gambas-user] gambas 1.9.14 In-Reply-To: <200508231413.28950.ajtim@...1089...> References: <200508231413.28950.ajtim@...1089...> Message-ID: <200508241837.00569.gambas@...1...> On Tuesday 23 August 2005 21:13, Mitja wrote: > Hi! > > I installed gambas 1.9.14 from SuSE site on my 9.3. Gambas cannot start > and i get a message: > ERROR: #2: Cannot load class 'ValueBox': Unable to load class file > > Thanks, > Mitja > > Try the non-official SuSE packages (see on the download pages of the web site), or try compiling from sources... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:39:55 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:39:55 +0200 Subject: [Gambas-user] Clicking on the scrollbar-arrow-button (down/up) from the ListBox raises doubleclick In-Reply-To: <430BB381.3010805@...1080...> References: <430BB381.3010805@...1080...> Message-ID: <200508241839.55918.gambas@...1...> On Wednesday 24 August 2005 01:38, Werner Staudacher wrote: > Hi > > When i click with short delays on the scrollbar-arrow-button (down/up) > from the ListBox, then the doubleclick-event is raised. > My Code in this event deals with listbox.index wich raises a error if no > row is selected. With " IF IsNull(listbox.current) THEN RETURN " i could > trap this error, but when a row is selected the event does what he > should not. > Any idea? > > Thanks, Staudi > > DblClick event is global to the control, and does not know what part of the control displays items and what part does not. You must use the Activate event instead, that is raised, in a ListBox, when the user double-clicks on a item, or press enter (or is it space) on the item. Each time you want to catch a double-click, think before if you actually don't want to catch the Activate event instead. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:41:10 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:41:10 +0200 Subject: AW: [Gambas-user] Redirect to NULL with EXEC In-Reply-To: <0MKwtQ-1E7omw3IY8-00065R@...979...> References: <0MKwtQ-1E7omw3IY8-00065R@...979...> Message-ID: <200508241841.10591.gambas@...1...> On Wednesday 24 August 2005 08:31, Matthias Laur wrote: > Hi Paul, > I think the ">" command need a shell. With the command EXEC you have no > shell. Try: > > SHELL "mount /harddriv > NULL" WAIT > > Regards, > Matthias > And ">NULL" will redirect to the file named "NULL"! I think Paul wanted to redirecte to "/dev/null". Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:42:33 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:42:33 +0200 Subject: [Gambas-user] Help Textbox In-Reply-To: <23945514.1124875414675.JavaMail.root@...1083...> References: <23945514.1124875414675.JavaMail.root@...1083...> Message-ID: <200508241842.33299.gambas@...1...> On Wednesday 24 August 2005 11:23, isy21 at ...1082... wrote: > Hi all, > > I have a little problem in my project, i wish anyone can help me out. I > put > textbox in my form,by default will be set enable=false if i push button > "New" then this textbox will be enable. > > But the problem is, why i put grey background in textbox, if i set to > enable=false. How can set textbox enable=false without set grey background > ? > I try put in frame, and i set that frame.enable=false and > textbox.enabled=true, but it always set grey background to anything in > that > frame, including textbox. > > In vb , alse hava a same problem, but i do a little trick, like i put > textxbox in a frame. then that textbox, i set to enable=true and frame i > set to enable=false. the result i can edit anything in textbox and that > textbox not > set to grey, because i only set enabled=false in frame only. If i want to > edit that textbox, i set frame enable=true. > > can anyone will help me, if possible include some source too. (because i > newbie in gambas) > > thanks > > Igantius > Enabled is enabled, and disabled is disabled :-) If you want to just display something that the user cannot modify, use the ReadOnly property. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 18:50:28 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 18:50:28 +0200 Subject: [Gambas-user] Error in IDE making package ( gambas-1.0.10 ) In-Reply-To: <200508191557.40851.Karl.Reinl@...9...> References: <200508191557.40851.Karl.Reinl@...9...> Message-ID: <200508241850.29019.gambas@...1...> On Friday 19 August 2005 15:57, Charlie Reinl wrote: > Salut, > > this is the right code to test if rbmbuild or rpm are on the box. > > > PUBLIC SUB MakeInstall() > > IF MakeExecutable(TRUE, TRUE) THEN RETURN > IF CheckProgram("rpmbuild") THEN > RPMBUILD_PROG = "rpmbuild" > ELSE IF CheckProgram("rpm") THEN > RPMBUILD_PROG = "rpm" > ELSE > Message.Error(("rpmbuild or rpm have to be installed on your system.")) > RETURN > ENDIF > FMakeInstall.ShowModal > > END > > Amicalment > Charlie > No, CheckProgram() returns TRUE if a program is *not* found, so I think the code is right. What is the problem ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 24 19:02:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 19:02:16 +0200 Subject: [Gambas-user] Release of gambas 1.9.18 Message-ID: <200508241902.16538.gambas@...1...> Hello world :-) This release has two main changes: 1) The Editor control now supports custom syntax highlighting, and there is an example that shows that - I hope Steve Starr will be happy :-) 2) The Timer class is now implemented in the interpreter, and will be removed from any other component. You can create timers without the need of a GUI component now. Here is the changelog: --8<-------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * BUG: Fix the use of TextBox and TextArea selection methods. * BUG: Swedish language is 'sv', not 'se'! * BUG: Font selector always use relative font sizes by default. DATABASE MANAGER * BUG: Fix the use of TextBox and TextArea selection methods. EXAMPLES * NEW: A new example for showing the new Editor control, with custom syntax highlighting. * NEW: Another little timer example made by Maxim Lapis was added to the Timer example. COMPILER * NEW: Support for the new 'EXPORT OPTIONAL' feature. See below... INTERPRETER * NEW: The Timer class is now part of the interpreter, and must be removed from any component that implements it. * NEW: A new hook to handle timers in components managing the event loop. * NEW: A new API, GB.RaiseTimer(), to raise timer events from components managing the event loop. * NEW: Classes can now be optionally exported. They are not exported from a component, if a class with the same name has been already exported from another component. * BUG: Some fixes in error management. Now error information is kept until the end of a function. * NEW: Application.Return is a new property for storing the value that will be returned by the program when it terminates. QT COMPONENT * NEW: Timer was removed. * BUG: Drawing on void Pictures is not allowed anymore. * BUG: Windows with a fix border work again. QT EXTENSION COMPONENT * NEW: The Editor control now supports custom highlighting routine, by raising the 'Highlight' event. * NEW: Editor colors were replaced by styles, which are a combination of color, italic, bold and underline. FORM COMPONENT * NEW: A ColorButton control. SDL COMPONENT * Updated. --8<-------------------------------------------------------------------------- About the Timer changes: As Timer is implemented directly in the interpreter, the components developpers that had implemented them in their components must: 1) Remove the Timer class/control from their components 2) Calls GB.Hook() with GB_HOOK_TIMER, and implements a timer hook. This timer hook is called by the interpreter to create or remove timers. 3) Calls GB.RaiseTimer() each time a timer must raise its event. Everything about that is explained on http://new.gambasdoc.org. Start to search at the http://new.gambasdoc.org/help/api/cat/timer page. And the gb.qt component source is the reference... Good luck to Daniel & Laurent! :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas-user at lists.sourceforge.net Wed Aug 24 21:05:15 2005 From: gambas-user at lists.sourceforge.net (Werner Staudacher) Date: Wed, 24 Aug 2005 19:05:15 +0000 Subject: [Gambas-user] How can i determine over wich row is the mouse moving by a listbox? In-Reply-To: <200508241829.19607.gambas@...1...> References: <4307680A.4080605@...1080...> <200508221620.45070.gambas@...1...> <430BB00D.2040402@lists.sourceforge.net> <200508241829.19607.gambas@...1...> Message-ID: <430CC4EB.8000901@lists.sourceforge.net> Benoit Minisini schrieb: >On Wednesday 24 August 2005 01:23, Werner Staudacher wrote: > > >>Benoit Minisini schrieb: >> >> >>>On Monday 22 August 2005 00:59, Werner Staudacher wrote: >>> >>> >>>>Benoit Minisini schrieb: >>>> >>>> >>>>>On Saturday 20 August 2005 19:27, Werner Staudacher wrote: >>>>> >>>>> >>>>>>Hi all >>>>>> >>>>>>Is it possible to find out over wich row the user is moving the mouse? >>>>>>I want this to give more infos about the row-item into the tooltip (or >>>>>>somewher else). >>>>>> >>>>>>Thanks, staudi >>>>>> >>>>>> >>>>>Where ? When ? How ? 8-o >>>>> >>>>> >>>>Sorry my bad explanation. >>>>When i move the mouse over a row from a listview i want to now how i can >>>>determine the listview.row or index (?), even if the row is not >>>>selected, so that i can read this listview[index].text >>>> >>>>Thanks >>>> >>>> >>>Normally, there is a 'Find(X, Y)' method that returns the item from (X, Y) >>>coordinates relative to the listview control top-left corner. >>> >>>You can look in the Drag & Drop example to see some code... >>> >>>Regards, >>> >>> >>Hi Benoit >> >>The sample Drag&Drop is made with the TreeView, but for the ListBox >>(Sorry, previously i called it ListView) has this function another meaning. >>You now how to do it with ListBox? >> >>Regards, Staudi >> >> >> > >Mmm... You should use a ListView instead if you want to do that... > >Regards, > > > ok, and thanks From gambas at ...1... Wed Aug 24 19:26:36 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 24 Aug 2005 19:26:36 +0200 Subject: [Gambas-user] Toolpanel Children Resize Problem In-Reply-To: <200508231425.49209.gambas@...1077...> References: <200508231425.49209.gambas@...1077...> Message-ID: <200508241926.36817.gambas@...1...> On Tuesday 23 August 2005 20:25, Alex Schaller wrote: > Hello! > > I am trying to automatically resize controls inside a Toolpanel and ran > into the following problem. Any control that is not inside Toolbar-0 does > not automatically resize. > Here is some sample code that I used. > > PUBLIC SUB Form_Resize() > > DIM cControl AS Control > > Toolpanel1.Width = ME.ClientWidth > Toolpanel1.Height = ME.ClientHeight > > FOR EACH cControl IN Toolpanel1.Children > cControl.Width = Toolpanel1.ClientWidth > cControl.Height = Toolpanel1.ClientHeight > NEXT > > END > > Thanks! > > Alex > I think I have found your problem :-) The Children propery of TabStrip-like containers return only visible children, i.e. children in the visible pane. To get all childrens, you must do: FOR I = 0 TO ToolPanel1.Count - 1 FOR EACH cControl IN Toolpanel[I].Children cControl.Width = Toolpanel1.ClientWidth cControl.Height = Toolpanel1.ClientHeight NEXT NEXT Regards, -- Benoit Minisini mailto:gambas at ...1... From comtux at ...626... Wed Aug 24 20:04:40 2005 From: comtux at ...626... (Steve Starr) Date: Wed, 24 Aug 2005 18:04:40 +0000 Subject: [Gambas-user] Release of gambas 1.9.18 In-Reply-To: <200508241902.16538.gambas@...1...> References: <200508241902.16538.gambas@...1...> Message-ID: <78f4b76705082411046e22edc4@...627...> Yes Benoit Minisini your the best well i have to go play with syntax highlighting YES today is the dayy yaaaaaaaaaaaaaaaaaaaa :) From Karl.Reinl at ...9... Wed Aug 24 22:53:17 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 24 Aug 2005 22:53:17 +0200 Subject: [Gambas-user] Do I run in the IDE (gambas-1.0.x or later) Message-ID: <200508242253.17943.Karl.Reinl@...9...> Salut, is there something, a variable set or so, where I can find out, if the application runs in the IDE or as compiled application ? I need this to choose the Database, in the IDE , in that case the copy of the real Database, or in the application the real Database ? Amicalment Charlie From jr at ...1090... Thu Aug 25 02:33:46 2005 From: jr at ...1090... (John W. Rittinghouse) Date: Wed, 24 Aug 2005 19:33:46 -0500 Subject: [Gambas-user] columnview Message-ID: <1124930026.8573.2.camel@...1091...> Hello all, I have been trying to figure out how to select an item clicked in the column view code below. I have no problem getting the value of the row selected, but how to i determine which of the three columns of that particular row has been clicked? Any help would be appreciated. regards, JR ------------------------------------------------------------- ' Gambas class file PUBLIC SUB Form_Open() Form1.Caption = " ColumnView Example " END PUBLIC SUB _new() DIM iwidth AS Integer DIM irows AS Integer DIM irowcounter AS Integer DIM icolcounter AS Integer ColumnView1.Columns.Count = 3 iwidth = ColumnView1.Width / ColumnView1.Columns.Count ColumnView1.Columns[0].Width = iwidth ColumnView1.Columns[0].Text="FirstCol" ColumnView1.Columns[1].Width = iwidth ColumnView1.Columns[1].Text="SecondCol" ColumnView1.Columns[2].Width = iwidth ColumnView1.Columns[2].Text="ThirdCol" FOR irowcounter = 0 TO 4 ColumnView1.Add(irowcounter, icolcounter) FOR icolcounter = 0 TO ColumnView1.Columns.Count - 1 ColumnView1[irowcounter][icolcounter] = "Col: " & icolcounter & " Row: " & irowcounter NEXT NEXT END PUBLIC SUB Button1_Click() ME.Close END PUBLIC SUB Button2_Click() ColumnView1.Clear END PUBLIC SUB Button3_Click() _new END -------------- next part -------------- An HTML attachment was scrubbed... URL: From kztyrvlq at ...966... Thu Aug 25 03:40:16 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 24 Aug 2005 23:10:16 -0230 Subject: [Gambas-user] Re: Redirect to NULL with EXEC Message-ID: <430D2180.6090501@...966...> Wednesday, 24 August 2005 Good Day All . . . Thank You all for your assistance. Forty that program is good. It gives me a very understanding of the EXEC command. Unfortunately, the one example of EXEC umount directly follows a mount command and that generates no echo. I will store that in my source directory. It is good. I tried all the variations of the EXEC and SHELL along with umount and none stopped the echo to the console if the drive was already unmounted. Alex your Gambas process suggestion worked. Unfortunately you appear to be using one of the development versions and I am using 1.0.9. After some fiddling around I did get it to work. I rearranged hProcess = to as hProcess. This program is a can of worms. As I solve one problem I get another. Read on. Again Thanks. Paul From pbea.enigma at ...1092... Thu Aug 25 03:39:53 2005 From: pbea.enigma at ...1092... (Paul Michael Bateson) Date: Wed, 24 Aug 2005 23:09:53 -0230 Subject: [Gambas-user] Re: Redirect to NULL with EXEC Message-ID: <430D2169.1040405@...1092...> Wednesday, 24 August 2005 Good Day All . . . Thank You all for your assistance. Forty that program is good. It gives me a very understanding of the EXEC command. Unfortunately, the one example of EXEC umount directly follows a mount command and that generates no echo. I will store that in my source directory. It is good. I tried all the variations of the EXEC and SHELL along with umount and none stopped the echo to the console if the drive was already unmounted. Alex your Gambas process suggestion worked. Unfortunately you appear to be using one of the development versions and I am using 1.0.9. After some fiddling around I did get it to work. I rearranged hProcess = to as hProcess. This program is a can of worms. As I solve one problem I get another. Read on. Again Thanks. Paul From kztyrvlq at ...966... Thu Aug 25 03:52:08 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 24 Aug 2005 23:22:08 -0230 Subject: [Gambas-user] Accessing Root in Development Environment Message-ID: <430D2448.10309@...966...> Wednesday, 24 August 2005 Good Day All . . . My developing program backs up my /home, /root and /etc directories. I must have root access but I do not want to start development as root using 1.0.9. How can I change the user to root in the development environment to run and test a program and then return to the user? I tried using the Properties - Properties - Arguments but it had no apparent effect. Once it is compiled then it is easy. I could code it in using EXEC but is there another way? Any thoughts? Thanks. Paul From nando_f at ...951... Thu Aug 25 06:20:57 2005 From: nando_f at ...951... (nando) Date: Thu, 25 Aug 2005 00:20:57 -0400 Subject: [Gambas-user] WARNING: 80 allocation(s) non freed Help. In-Reply-To: <78f4b767050823060858cb825@...627...> References: <78f4b767050823060858cb825@...627...> Message-ID: <20050825041822.M81374@...951...> Benoit, I also get this every time in some apps I have created. I have scratched my head enough to go bald. I have attempted to use PRINTs to the console to detect accidental reentrantcy. But I do not have any. I'm confused. -Fernando. ---------- Original Message ----------- From: Steve Starr To: gambas-user at lists.sourceforge.net Sent: Tue, 23 Aug 2005 13:08:54 +0000 Subject: [Gambas-user] WARNING: 80 allocation(s) non freed Help. > I am getting these errors in my console when i run my gambas application > I am useing Gambas 1.9.17 > > WARNING: circular references detected > FToolBar (6) > Form1 (1) > ToolPanelContainer (6) > ToolPanel (1) > Mutex destroy failure: Device or resource busy > WARNING: 80 allocation(s) non freed. > > You can download the sources from here. > http://www.kde-apps.org/content/show.php?content=28112 > > Thanks to all who reply. > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * > Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From comtux at ...626... Thu Aug 25 09:10:42 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 25 Aug 2005 07:10:42 +0000 Subject: [Gambas-user] Fwd: Sending Data From one Form to another In-Reply-To: <78f4b76705082420572a4eb308@...627...> References: <78f4b76705082420572a4eb308@...627...> Message-ID: <78f4b7670508250010793d2655@...627...> ---------- Forwarded message ---------- From: Steve Starr Date: Aug 25, 2005 3:57 AM Subject: Sending Data From one Form to another To: gambas at ...1... I have read the examples on global varibles but i am still haveing a hell of a time. What i want to do is. I have to forms Form1 & Form2 Form1 has a Editor1 Component And Form2 has a Button1 Component Now what i want to do is when i click on Button1 in Form2 have the word hello writen to the Editor1 component. So Editor1.Insert("hello") I tried Form1.Editor1.Insert("hello") but that didnt work. Then i tried creating a Gambas module file but i think i am a little confused about exactly how to use module files to declare a varible. Thanks for any help From comtux at ...626... Thu Aug 25 09:40:40 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 25 Aug 2005 07:40:40 +0000 Subject: [Gambas-user] Drag & Drop Question? In-Reply-To: <200508211955.30400.gambas@...1...> References: <78f4b767050821003540d43866@...627...> <200508211730.13850.gambas@...1...> <78f4b76705082110095ed0616d@...627...> <200508211955.30400.gambas@...1...> Message-ID: <78f4b76705082500406bead19d@...627...> This works to :) PUBLIC SUB Button1_MouseMove() Button1.Y = Mouse.ScreenY Button1.X = Mouse.ScreenX END On 8/21/05, Benoit Minisini wrote: > On Sunday 21 August 2005 19:09, Steve Starr wrote: > > Umm could you provide a simple example for me please. > > > > Quickly... > > PRIVATE $X AS Integer > PRIVATE $Y AS Integer > PRIVATE $MX AS Integer > PRIVATE $MY AS Integer > > PUBLIC SUB Button1_MousePress() > $MX = Mouse.ScreenX > $MY = Mouse.ScreenY > $X = Button1.X > $Y = Button1.Y > END > > PUBLIC SUB Button1_MouseMove() > ' The following line may be mandatory for controls that track mouse events. > IF NOT Mouse.Left THEN RETURN > Button1.Move($X + Mouse.ScreenX - $MX, $Y + Mouse.ScreenY - $MY) > END > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From comtux at ...626... Thu Aug 25 10:00:03 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 25 Aug 2005 08:00:03 +0000 Subject: [Gambas-user] Midi work around. Message-ID: <78f4b76705082501007cdfab2a@...627...> I couldnt figure out how to ues the Workspace component so i built this instead. -------------- next part -------------- A non-text attachment was scrubbed... Name: Midi-0.0.1.tar.gz Type: application/x-gzip Size: 1583 bytes Desc: not available URL: From massenpost at ...1093... Thu Aug 25 10:45:12 2005 From: massenpost at ...1093... (Peter Lang) Date: Thu, 25 Aug 2005 10:45:12 +0200 Subject: [Gambas-user] Accessing Root in Development Environment In-Reply-To: <430D2448.10309@...966...> References: <430D2448.10309@...966...> Message-ID: <200508251045.12593.massenpost@...1093...> On Thursday 25 August 2005 03:52, A Person wrote: > > How can I change the user to root in the development environment to run > and test a program and then return to the user? I tried using the > Properties - Properties - Arguments but it had no apparent effect. > > I could code it in using EXEC but is there another way? you just have to use "sudo" infos can be found with "man sudo" Peter -- http://learn.to/quote BOFH excuse #11: magnetic interference from money/credit cards From gambas at ...1077... Thu Aug 25 14:02:20 2005 From: gambas at ...1077... (Alex Schaller) Date: Thu, 25 Aug 2005 08:02:20 -0400 Subject: [Gambas-user] Fwd: Sending Data From one Form to another Message-ID: <200508250802.20716.gambas@...1077...> Hello Steve! Here is how I did send data from one Form to another. Create two forms (Form1 and Form2) and place a editor control on Form1 and a Button on form2 then paste the code below into the appropriate Form class. What I basically did is to create a public handle to the editor on form1. There is probably a better way of doing this, but it works . Have a great day! ' Gambas class file Form1 PUBLIC heditor AS Control PUBLIC SUB Form_Open() heditor = Editor1 form2.Show END ' Gambas class file Form2 PUBLIC SUB Button1_Click() Form1.heditor.insert("Hello World") END From comtux at ...626... Thu Aug 25 14:15:55 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 25 Aug 2005 12:15:55 +0000 Subject: [Gambas-user] Fwd: Sending Data From one Form to another In-Reply-To: <200508250802.20716.gambas@...1077...> References: <200508250802.20716.gambas@...1077...> Message-ID: <78f4b76705082505156daad19a@...627...> Thank you very much that worked great :) On 8/25/05, Alex Schaller wrote: > Hello Steve! > > Here is how I did send data from one Form to another. > Create two forms (Form1 and Form2) and place a editor control on Form1 and a > Button on form2 then paste the code below into the appropriate Form class. > > What I basically did is to create a public handle to the editor on form1. > There is probably a better way of doing this, but it works . > > Have a great day! > > > ' Gambas class file Form1 > > PUBLIC heditor AS Control > > PUBLIC SUB Form_Open() > > heditor = Editor1 > form2.Show > > END > > > ' Gambas class file Form2 > > PUBLIC SUB Button1_Click() > > Form1.heditor.insert("Hello World") > > END > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From paulo.figueiredo at ...1094... Thu Aug 25 14:25:51 2005 From: paulo.figueiredo at ...1094... (Figueiredo) Date: Thu, 25 Aug 2005 09:25:51 -0300 Subject: [Gambas-user] Error Can't Load gb.qt Message-ID: <001801c5a970$2612e150$3b01010a@...1094...> Hi, I have just download the new release of gambas, compile it, but when i invoke the ide i have this error message: Can't load gb.qt All QT3 libs are installed, but the problem remains, it seems like the gambas can't find the file or the lib. Anyone can help ? tks Paulo Figueiredo VB never more ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From comtux at ...626... Thu Aug 25 14:58:40 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 25 Aug 2005 12:58:40 +0000 Subject: [Gambas-user] Error Can't Load gb.qt In-Reply-To: <001801c5a970$2612e150$3b01010a@...1094...> References: <001801c5a970$2612e150$3b01010a@...1094...> Message-ID: <78f4b76705082505585c32adac@...627...> Go to /etc and open ld.so.conf with a text editor and make sure that the qt libs path is in threre on my system it is /usr/share/qt/lib and after that open up a console and type ldconfig. On 8/25/05, Figueiredo wrote: > > Hi, > > I have just download the new release of gambas, compile it, but when i > invoke the ide i have this error message: > > Can't load gb.qt > > > All QT3 libs are installed, but the problem remains, it seems like the > gambas can't find the file or the lib. > > > Anyone can help ? > > tks > > > Paulo Figueiredo > VB never more ! From comtux at ...626... Thu Aug 25 15:11:45 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 25 Aug 2005 13:11:45 +0000 Subject: [Gambas-user] How to make Mouse.Screen think that a form is 1024x768 or that the form is the screen? Message-ID: <78f4b767050825061156b0deb4@...627...> PUBLIC SUB Button1_MouseMove() Button1.Y = Mouse.ScreenY Button1.X = Mouse.ScreenX TextBox1.Text = Mouse.ScreenY TextBox2.Text = Mouse.ScreenX End When i drag Button1 all the way to the left TextBox2.Text will display 0 now if i drag Button1 all the way to the right wich goes beyond my form TextBox2.Text will display 1024 well this is the width of my screen how could i if possable make Mouse.ScreenX think that just my form is 1024 instead of my screen? Same deal with Mouse.ScreenY if i drag Button1 to the top of my form TextBox1.Text displays 0 but if i drag to the bottum button1 goes beyond my form and TextBox1.Text displays 768 now this woudnt be a problem if my form was full screened but that isnt practical. If you need my source to see what i mean just ask and ill email it. Thanks From kztyrvlq at ...966... Thu Aug 25 16:39:08 2005 From: kztyrvlq at ...966... (A Person) Date: Thu, 25 Aug 2005 12:09:08 -0230 Subject: [Gambas-user] Re: Accessing Root in Development Environment Message-ID: <430DD80C.5090900@...966...> Wednesday, 24 August 2005 Good Day All . . . and Thanks Peter for the reply. I tried sudo su in Properties - Properties - Arguments but it was ignored. How do I start Gambas as a user, run my development app as root, terminate the development program and automatically return to a user within Gambas? So far my best choice is to compile the app, create a desktop icon with root privileges and test but this is very time consuming. Thanks. Paul From lordheavy at ...512... Thu Aug 25 17:03:31 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 25 Aug 2005 17:03:31 +0200 Subject: [Gambas-user] Re: Accessing Root in Development Environment In-Reply-To: <430DD80C.5090900@...966...> References: <430DD80C.5090900@...966...> Message-ID: <430DDDC3.2060706@...512...> A Person a ?crit : > Wednesday, 24 August 2005 > > Good Day All . . . > > and Thanks Peter for the reply. > > I tried sudo su in Properties - Properties - Arguments but it was ignored. > > How do I start Gambas as a user, run my development app as root, > terminate the development program and automatically return to a user > within Gambas? > > So far my best choice is to compile the app, create a desktop icon with > root privileges and test but this is very time consuming. > > Thanks. > > Paul > You can launch tour app with kdesu or other tools ? Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gambas at ...1077... Thu Aug 25 20:54:42 2005 From: gambas at ...1077... (Alex Schaller) Date: Thu, 25 Aug 2005 14:54:42 -0400 Subject: [Gambas-user] Editor Control Custom Highlighting Message-ID: <200508251454.42791.gambas@...1077...> Hello! I have been playing around with the new, super cool Editor control and can't figure out the custom highlighting feature. I checked out the example provided but..... Does anyone have some successful experience with this new control. I am writing an IDE for a microcontroller that uses a basic like syntax. My goal is to include all the language specific items in the editors highlighting but have no clue on how to go about it. Thanks Alex From gambasfr at ...11... Thu Aug 25 22:26:54 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 25 Aug 2005 22:26:54 +0200 Subject: [Gambas-user] columnview In-Reply-To: <1124930026.8573.2.camel@...1091...> References: <1124930026.8573.2.camel@...1091...> Message-ID: <200508252226.54253.gambasfr@...11...> Le Jeudi 25 Ao?t 2005 02:33, John W. Rittinghouse a ?crit?: > Hello all, > > > I have been trying to figure out how to select an item clicked > in the > column view code below. I have no problem getting the value of > the row > selected, but how to i determine which of the three columns of > that > particular row has been clicked? Any help would be appreciated. > > regards, > > JR Columnview is not gridview Fabien > ------------------------------------------------------------- > > ' Gambas class file > > PUBLIC SUB Form_Open() > Form1.Caption = " ColumnView Example " > END > > PUBLIC SUB _new() > > DIM iwidth AS Integer > DIM irows AS Integer > DIM irowcounter AS Integer > DIM icolcounter AS Integer > > ColumnView1.Columns.Count = 3 > iwidth = ColumnView1.Width / ColumnView1.Columns.Count > > ColumnView1.Columns[0].Width = iwidth > ColumnView1.Columns[0].Text="FirstCol" > > ColumnView1.Columns[1].Width = iwidth > ColumnView1.Columns[1].Text="SecondCol" > > ColumnView1.Columns[2].Width = iwidth > ColumnView1.Columns[2].Text="ThirdCol" > > FOR irowcounter = 0 TO 4 > ColumnView1.Add(irowcounter, icolcounter) > FOR icolcounter = 0 TO ColumnView1.Columns.Count - 1 > ColumnView1[irowcounter][icolcounter] = "Col: " & > icolcounter & " > Row: " & irowcounter > NEXT > NEXT > END > > PUBLIC SUB Button1_Click() > ME.Close > END > > PUBLIC SUB Button2_Click() > ColumnView1.Clear > END > > PUBLIC SUB Button3_Click() > _new > END From kztyrvlq at ...966... Thu Aug 25 23:11:16 2005 From: kztyrvlq at ...966... (A Person) Date: Thu, 25 Aug 2005 18:41:16 -0230 Subject: [Gambas-user] Redirect to NULL with EXEC Message-ID: <430E33F4.7060407@...966...> Wednesday, 24 August 2005 Good Day All . . . Laurent Thank You for the reply. Unfortunately I do not know what you are saying. I searched for "launch tour app" but I came up with absolutely nothing. I MANed and INOFed everything but the results were the same, nothing. No need to reply to this. This the third problem in this app. I am out of my depth with Gambas. This is new to me. I will try to develop the app some time in the future when I am more knowledgeable about this app and I upgrade to Version 2. Thanks. Paul From kztyrvlq at ...966... Thu Aug 25 23:11:36 2005 From: kztyrvlq at ...966... (A Person) Date: Thu, 25 Aug 2005 18:41:36 -0230 Subject: [Gambas-user] Re: Redirect to NULL with EXEC Message-ID: <430E3408.4@...966...> Wednesday, 24 August 2005 Good Day All . . . Laurent Thank You for the reply. Unfortunately I do not know what you are saying. I searched for "launch tour app" but I came up with absolutely nothing. I MANed and INOFed everything but the results were the same, nothing. No need to reply to this. This the third problem in this app. I am out of my depth with Gambas. This is new to me. I will try to develop the app some time in the future when I am more knowledgeable about this app and I upgrade to Version 2. Thanks. Paul From kztyrvlq at ...966... Thu Aug 25 23:19:55 2005 From: kztyrvlq at ...966... (A Person) Date: Thu, 25 Aug 2005 18:49:55 -0230 Subject: [Gambas-user] NOT ENABLED buttons Partially ENABLED Message-ID: <430E35FB.9070803@...966...> Wednesday, 24 August 2005 Good Day All . . . I was using ENTER and LEAVE in 1.0.9 on buttons to enlarge the text while the mouse was over them -- a little bit of eye candy. A funny thing happened, the NOT ENABLED buttons were also affected. The text on them enlarged on ENTER and shrank on LEAVE. This shouldn't happen, should it? This is not really a bug as far as I am concerned but I do not think that it should happen. Any comments? Thanks. Paul From mauriziopz at ...626... Thu Aug 25 23:43:14 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Thu, 25 Aug 2005 23:43:14 +0200 Subject: [Gambas-user] NOT ENABLED buttons Partially ENABLED In-Reply-To: <430E35FB.9070803@...966...> References: <430E35FB.9070803@...966...> Message-ID: Maybe you should use some sort of if method to check if the button is enabled or not If button = enabled then Eyecandy endif -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From isy21 at ...1082... Fri Aug 26 11:33:38 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Fri, 26 Aug 2005 16:33:38 +0700 Subject: [Gambas-user] How to set width in tableview Message-ID: <200508261633.38399.isy21@...1082...> Hi all, I want to set row height in tableview. because i have a multiline text in field, by default tableview it only view first line or last line only. but i can resize height in runtime, by move row size. I want to set height every row with same size, if possible can i set to autoheight ? Thanks Ignatius From oczykota at ...988... Fri Aug 26 16:06:53 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Fri, 26 Aug 2005 16:06:53 +0200 Subject: [Gambas-user] How to convert sting with space to string with out? Message-ID: <430F21FD.2000608@...988...> I have some settings in Settings object, but this settings is generated from TexBox and in TexBox user can wire some string with space and oder character witch cannot be used as parameter in array object Settings. e.g. dim S as Settings S[ TextBox1.Text ] = 14 Maybe is a function witch replace/erase any illegal characters. Arek. From kztyrvlq at ...966... Fri Aug 26 15:55:10 2005 From: kztyrvlq at ...966... (A Person) Date: Fri, 26 Aug 2005 11:25:10 -0230 Subject: [Gambas-user] Re: NOT ENABLED buttons Partially ENABLED Message-ID: <430F1F3E.5000405@...966...> Friday, 26 August 2005 Good Day All . . . Maurizio, Thank You for the reply. I do not need to tell you that your suggestion was a workaround. I already use something like 'if not enabled then return.' I was asking for input about a widget that should be laying dormant but in fact is active. Like tabbing about the form, the tab does not land on a NOT ENABLED widget. I should think that the mouse would have the same effect. Any more? Thanks. Paul From gambasfr at ...11... Fri Aug 26 23:38:27 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Fri, 26 Aug 2005 23:38:27 +0200 Subject: [Gambas-user] How to convert sting with space to string with out? In-Reply-To: <430F21FD.2000608@...988...> References: <430F21FD.2000608@...988...> Message-ID: <200508262338.27389.gambasfr@...11...> Le Vendredi 26 Ao?t 2005 16:06, Arkadiusz Zychewicz a ?crit?: > I have some settings in Settings object, but this settings is generated > from TexBox and in TexBox user can wire some string with space and oder > character witch cannot be used as parameter in array object Settings. > e.g. > > dim S as Settings > S[ TextBox1.Text ] = 14 you have the Replace function... the Trim function (to remove spaces) From donald at ...1080... Sat Aug 27 02:05:55 2005 From: donald at ...1080... (donald at ...1080...) Date: Sat, 27 Aug 2005 00:05:55 +0000 Subject: [Gambas-user] Strange behavior when file.load() and Error dont Trap Message-ID: <430FAE63.6020208@...1080...> Often i use code like following sample to load filecontent: ---- snipp ---- PUBLIC SUB loadConfig() config = NEW String[] TRY config = Split(File.Load(ME.appPath & application.Name & ".conf"), Chr(10)) IF ERROR THEN saveConfig(TRUE) loadConfig RETURN END IF END ---- snipp ---- Normaly when the file not exist the Error-trap creates the file with default content and reads it again. Since yesterday the Error-trap does not work, but jumps directly to the end and Error has "?error = Syntax error" Also the file.load() works not anymore correctly even a file exist. Strange is that this is not in all functions/subs. In some it works allways in others never. When i copy the code from one wich does not to a working procedure, the code works again there. And also the variable (in this case config) can have content but the interpreter says it is a "Null object". If i open with Editor there is enough content. Yeah, and i havent changed anything in the procedures between working and not. Thanks for help Staudi From gambas-user at lists.sourceforge.net Sat Aug 27 03:34:06 2005 From: gambas-user at lists.sourceforge.net (Gambas User List) Date: Sat, 27 Aug 2005 01:34:06 +0000 Subject: [Gambas-user] Strange behavior when file.load() and Error dont Trap In-Reply-To: <430FAE63.6020208@...1080...> References: <430FAE63.6020208@...1080...> Message-ID: <430FC30E.40607@lists.sourceforge.net> donald at ...1080... schrieb: > > Often i use code like following sample to load filecontent: > ---- snipp ---- > PUBLIC SUB loadConfig() > config = NEW String[] > TRY config = Split(File.Load(ME.appPath & application.Name & > ".conf"), Chr(10)) > IF ERROR THEN > saveConfig(TRUE) > loadConfig > RETURN > END IF > END > ---- snipp ---- > > Normaly when the file not exist the Error-trap creates the file with > default content and reads it again. > Since yesterday the Error-trap does not work, but jumps directly to > the end and Error has "?error = Syntax error" > Also the file.load() works not anymore correctly even a file exist. > Strange is that this is not in all functions/subs. > In some it works allways in others never. When i copy the code from > one wich does not to a working procedure, the code works again there. > And also the variable (in this case config) can have content but the > interpreter says it is a "Null object". If i open with Editor there is > enough content. > Yeah, and i havent changed anything in the procedures between working > and not. > > Thanks for help > > Staudi > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > OK, solved the problem. Somwhere in the class i had the declaration "dim file as file". After i corrected, everything is OK. From comtux at ...626... Sat Aug 27 14:38:14 2005 From: comtux at ...626... (Steve Starr) Date: Sat, 27 Aug 2005 12:38:14 +0000 Subject: [Gambas-user] Fwd: Sending Data From one Form to another In-Reply-To: <78f4b76705082505156daad19a@...627...> References: <200508250802.20716.gambas@...1077...> <78f4b76705082505156daad19a@...627...> Message-ID: <78f4b76705082705381006cbda@...627...> I was wondering if anyone could give me some insite as to why this isnt working? Tool form ' Gambas class file PUBLIC SUB Button1_Click() IF Dialog.OpenFile() THEN RETURN Piconfig.Tbox.Text = File.Load(Dialog.Path) Piconfig.Show END ------------------------------------------------------------------- Picconfig form ' Gambas class file Piconfig PUBLIC Tbox AS Control PUBLIC SUB Form_Open() TBox = Textbox1 END I just keep getting and object null error Thanks to all who reply On 8/25/05, Steve Starr wrote: > Thank you very much that worked great :) > > On 8/25/05, Alex Schaller wrote: > > Hello Steve! > > > > Here is how I did send data from one Form to another. > > Create two forms (Form1 and Form2) and place a editor control on Form1 and a > > Button on form2 then paste the code below into the appropriate Form class. > > > > What I basically did is to create a public handle to the editor on form1. > > There is probably a better way of doing this, but it works . > > > > Have a great day! > > > > > > ' Gambas class file Form1 > > > > PUBLIC heditor AS Control > > > > PUBLIC SUB Form_Open() > > > > heditor = Editor1 > > form2.Show > > > > END > > > > > > ' Gambas class file Form2 > > > > PUBLIC SUB Button1_Click() > > > > Form1.heditor.insert("Hello World") > > > > END > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambas at ...1... Sat Aug 27 16:44:13 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 16:44:13 +0200 Subject: [Gambas-user] WARNING: 80 allocation(s) non freed Help. In-Reply-To: <20050825041822.M81374@...951...> References: <78f4b767050823060858cb825@...627...> <20050825041822.M81374@...951...> Message-ID: <200508271644.13342.gambas@...1...> On Thursday 25 August 2005 06:20, nando wrote: > Benoit, > I also get this every time in some apps I have created. > I have scratched my head enough to go bald. > I have attempted to use PRINTs to the console to detect > accidental reentrantcy. But I do not have any. > I'm confused. > -Fernando. > > I found! This was a stupid bug in the ColorBox control in the KDE component. You can patch the source yourself: 1) Open "./gb.qt.kde/src/CColorBox.cpp" 2) Replace the following line: GB_DECLARE("ColorBox", sizeof(CColorBox)), GB_INHERITS("Control"), By this one: GB_DECLARE("ColorBox", sizeof(CCOLORBOX)), GB_INHERITS("Control"), 3) Save the file and recompile/reinstall the gb.qt.kde component. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 27 16:45:29 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 16:45:29 +0200 Subject: [Gambas-user] Do I run in the IDE (gambas-1.0.x or later) In-Reply-To: <200508242253.17943.Karl.Reinl@...9...> References: <200508242253.17943.Karl.Reinl@...9...> Message-ID: <200508271645.29343.gambas@...1...> On Wednesday 24 August 2005 22:53, Charlie Reinl wrote: > Salut, > > is there something, a variable set or so, where I can find out, if the > application runs in the IDE or as compiled application ? > > I need this to choose the Database, in the IDE , in that case the copy of > the real Database, or in the application the real Database ? > > Amicalment > Charlie > There is no way at the moment, but you can add some program arguments in the project property dialog. The program will receive these arguments only it is run from the IDE. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 27 16:56:28 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 16:56:28 +0200 Subject: [Gambas-user] How to make Mouse.Screen think that a form is 1024x768 or that the form is the screen? In-Reply-To: <78f4b767050825061156b0deb4@...627...> References: <78f4b767050825061156b0deb4@...627...> Message-ID: <200508271656.28083.gambas@...1...> On Thursday 25 August 2005 15:11, Steve Starr wrote: > PUBLIC SUB Button1_MouseMove() > > Button1.Y = Mouse.ScreenY > Button1.X = Mouse.ScreenX > > TextBox1.Text = Mouse.ScreenY > TextBox2.Text = Mouse.ScreenX > > End > > When i drag Button1 all the way to the left TextBox2.Text will display > 0 now if i drag Button1 all the way to the right wich goes beyond my > form TextBox2.Text will display 1024 well this is the width of my > screen how could i if possable > make Mouse.ScreenX think that just my form is 1024 instead of my screen? > Same deal with Mouse.ScreenY if i drag Button1 to the top of my form > TextBox1.Text displays 0 but if i drag to the bottum button1 goes > beyond my form and TextBox1.Text displays 768 now this woudnt be a > problem if my form was full screened but that isnt practical. > > > If you need my source to see what i mean just ask and ill email it. > Thanks > I don't really understand all, but anyway try: PUBLIC SUB Button1_MouseMove() ' ScreenX/Y is the absolute screen coordinate. ' X/Y is relative to the parent. ' ClientX/Y is the shift between the top of the container and its inner. Button1.Y = Mouse.ScreenY - (Button1.Parent.ScreenX + Button1.Parent.ClientX) Button1.X = Mouse.ScreenX - (Button1.Parent.ScreenY + Button1.Parent.ClientY) END When dealing with coordinates, things must be 'homogeneous'. There are two kind of coordinates: relative coordinates (X, Y, ClientX, ClientY) and screen coordinates (ScreenX, ScreenY). When you substract two screen coordinates, or two relative coordinates, you get a relative coordinate. So your inital formula couldn't work: you assigned screen coordinates to relative ones. Mine may work, as I substract two screen coordinates, and substract a relative one again. I forgot to told you one recommandation if my last private email to you: use indentation! Or you won't be able to read your code in two months! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 27 16:57:32 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 16:57:32 +0200 Subject: [Gambas-user] Editor Control Custom Highlighting In-Reply-To: <200508251454.42791.gambas@...1077...> References: <200508251454.42791.gambas@...1077...> Message-ID: <200508271657.32450.gambas@...1...> On Thursday 25 August 2005 20:54, Alex Schaller wrote: > Hello! > > I have been playing around with the new, super cool Editor control and > can't figure out the custom highlighting feature. I checked out the > example provided but..... > > Does anyone have some successful experience with this new control. > I am writing an IDE for a microcontroller that uses a basic like syntax. > My goal is to include all the language specific items in the editors > highlighting but have no clue on how to go about it. > > Thanks > > Alex > > Did you read the Editor_Highlight event handler in the example ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 27 17:07:55 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 17:07:55 +0200 Subject: [Gambas-user] How to set width in tableview In-Reply-To: <200508261633.38399.isy21@...1082...> References: <200508261633.38399.isy21@...1082...> Message-ID: <200508271707.55390.gambas@...1...> On Friday 26 August 2005 11:33, isy21 at ...1082... wrote: > Hi all, > > I want to set row height in tableview. > because i have a multiline text in field, by default tableview it only view > first line or last line only. but i can resize height in runtime, by move > row size. That should work: MyTableView.Rows[Y].Height = MyHeight > > I want to set height every row with same size, if possible can i set to > autoheight ? > That should work too: MyTableView.Rows.Height = MyHeight > Thanks > > > Ignatius > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 27 17:18:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 17:18:53 +0200 Subject: [Gambas-user] I got it! Message-ID: <200508271718.53202.gambas@...1...> Yesterday morning, I have received a beautiful AMD64 computer gave by the Spanish Region Of Extremadura. I would like to thank them for this donation. Everything worked fine and speedy, except the USB mouse that the linux kernel does not like. The USB support in Linux is not perfect yet! Now I must connect it to internet to play with package installation... About the 64-bits specific stuff, I found a program named linux32/setarch on Fedora and Mandriva, that apparently could launch 32 bits executables in a 64 bits environment, but I didn't see it on Debian. Such a tool could help to run Gambas on amd64! If anyone have information about running 32 bits program on a 64 bits Linux system... I'm afraid that porting Gambas to 64 bits code will take time first, and moreover may give a slower interpreter than in 32 bits! Regards, -- Benoit Minisini mailto:gambas at ...1... From radoslav.dejanovic at ...116... Sat Aug 27 17:20:49 2005 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Sat, 27 Aug 2005 17:20:49 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508271718.53202.gambas@...1...> References: <200508271718.53202.gambas@...1...> Message-ID: <200508271720.49753.radoslav.dejanovic@...116...> On Saturday 27 August 2005 17:18, Benoit Minisini wrote: > Such a tool could help to run Gambas on amd64! If anyone have > information about running 32 bits program on a 64 bits Linux system... SuSE's got nice set of 32-bit compatibility libraries that take care of that. And SuSE 10 is going to be fully GPLized... (not that I am hinting anything... ;) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From lordheavy at ...512... Sat Aug 27 17:43:16 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 27 Aug 2005 17:43:16 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508271718.53202.gambas@...1...> References: <200508271718.53202.gambas@...1...> Message-ID: <43108A14.4090804@...512...> Benoit Minisini a ?crit : > Yesterday morning, I have received a beautiful AMD64 computer gave by the > Spanish Region Of Extremadura. > > I would like to thank them for this donation. > Wow really great ! Many thanks to Extremadura. > Everything worked fine and speedy, except the USB mouse that the linux kernel > does not like. The USB support in Linux is not perfect yet! Your mouse must really sucks :-p > > Now I must connect it to internet to play with package installation... > > About the 64-bits specific stuff, I found a program named linux32/setarch on > Fedora and Mandriva, that apparently could launch 32 bits executables in a 64 > bits environment, but I didn't see it on Debian. > Here it is for debian : http://packages.debian.org/cgi-bin/search_packages.pl?keywords=ia32-libs&searchon=names&subword=1&version=all&release=all > Such a tool could help to run Gambas on amd64! If anyone have information > about running 32 bits program on a 64 bits Linux system... > > I'm afraid that porting Gambas to 64 bits code will take time first, and > moreover may give a slower interpreter than in 32 bits! > > Regards, > Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From dcamposf at ...626... Sat Aug 27 19:02:43 2005 From: dcamposf at ...626... (Daniel Campos) Date: Sat, 27 Aug 2005 19:02:43 +0200 Subject: [Gambas-user] Do I run in the IDE (gambas-1.0.x or later) In-Reply-To: <200508271645.29343.gambas@...1...> References: <200508242253.17943.Karl.Reinl@...9...> <200508271645.29343.gambas@...1...> Message-ID: <43109CB3.80301@...282...> >> >> >> > >There is no way at the moment, but you can add some program arguments in the >project property dialog. The program will receive these arguments only it is >run from the IDE. > > > > Try this code: DIM hComp AS Component FOR EACH hComp IN Components PRINT hComp.Name NEXT If you use it in a grahical program, you will find: gb.qt if you use the compiled program, but you will find gb.qt gb.eval When using it from the IDE, so if one of the components is "gb.eval" and your program does not use that component, you will know that you are in the "IDE mode". Regards, D. Campos From gambas at ...1... Sat Aug 27 19:10:58 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 19:10:58 +0200 Subject: [Gambas-user] Do I run in the IDE (gambas-1.0.x or later) In-Reply-To: <43109CB3.80301@...282...> References: <200508242253.17943.Karl.Reinl@...9...> <200508271645.29343.gambas@...1...> <43109CB3.80301@...282...> Message-ID: <200508271910.58883.gambas@...1...> On Saturday 27 August 2005 19:02, Daniel Campos wrote: > >There is no way at the moment, but you can add some program arguments in > > the project property dialog. The program will receive these arguments > > only it is run from the IDE. > > Try this code: > > DIM hComp AS Component > > FOR EACH hComp IN Components > > PRINT hComp.Name > > NEXT > > If you use it in a grahical program, you will find: > > gb.qt > > if you use the compiled program, but you will find > > gb.qt > gb.eval > > When using it from the IDE, so if one of the components is "gb.eval" and > your > program does not use that component, you will know that you are in the > "IDE mode". > > Regards, > > D. Campos > May not work in the future :-) -- Benoit Minisini mailto:gambas at ...1... From dcamposf at ...626... Sat Aug 27 19:12:57 2005 From: dcamposf at ...626... (Daniel Campos) Date: Sat, 27 Aug 2005 19:12:57 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508271718.53202.gambas@...1...> References: <200508271718.53202.gambas@...1...> Message-ID: <43109F19.7000800@...282...> Benoit Minisini wrote: >Yesterday morning, I have received a beautiful AMD64 computer gave by the >Spanish Region Of Extremadura. > >I would like to thank them for this donation. > > Not at all, but do not use its power for evil things :-)) >Everything worked fine and speedy, except the USB mouse that the linux kernel >does not like. The USB support in Linux is not perfect yet! > >Now I must connect it to internet to play with package installation... > > I like very much Synaptic, I think it is a better tool than the Mandrake(iva) one, for example. Debian packaging system is really coherent and solid, and Synaptic makes it beautiful. Regards, Daniel Campos From gambas at ...1... Sat Aug 27 19:15:24 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 19:15:24 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <43109F19.7000800@...282...> References: <200508271718.53202.gambas@...1...> <43109F19.7000800@...282...> Message-ID: <200508271915.24966.gambas@...1...> On Saturday 27 August 2005 19:12, Daniel Campos wrote: > Benoit Minisini wrote: > >Yesterday morning, I have received a beautiful AMD64 computer gave by the > >Spanish Region Of Extremadura. > > > >I would like to thank them for this donation. > > Not at all, but do not use its power for evil things :-)) > > >Everything worked fine and speedy, except the USB mouse that the linux > > kernel does not like. The USB support in Linux is not perfect yet! > > > >Now I must connect it to internet to play with package installation... > > I like very much Synaptic, I think it is a better tool than the > Mandrake(iva) one, for example. > Debian packaging system is really coherent and solid, and Synaptic makes > it beautiful. > > > > Regards, > > Daniel Campos > Mmf. I didn't find a way to find a package from a file included in it... Very useful anyway! -- Benoit Minisini mailto:gambas at ...1... From grahame at ...457... Sat Aug 27 19:19:04 2005 From: grahame at ...457... (Grahame White) Date: Sat, 27 Aug 2005 18:19:04 +0100 Subject: [Gambas-user] I got it! In-Reply-To: <200508271915.24966.gambas@...1...> References: <200508271718.53202.gambas@...1...> <43109F19.7000800@...282...> <200508271915.24966.gambas@...1...> Message-ID: <200508271819.04960.grahame@...457...> > Mmf. I didn't find a way to find a package from a file included in it... > Very useful anyway! try: #aptitude install apt-file #apt-file update #apt-file search to get a list of packages with in it Grahame From comtux at ...626... Sat Aug 27 19:22:23 2005 From: comtux at ...626... (Steve Starr) Date: Sat, 27 Aug 2005 17:22:23 +0000 Subject: [Gambas-user] How to make Mouse.Screen think that a form is 1024x768 or that the form is the screen? In-Reply-To: <200508271656.28083.gambas@...1...> References: <78f4b767050825061156b0deb4@...627...> <200508271656.28083.gambas@...1...> Message-ID: <78f4b76705082710227710eb3e@...627...> Here i have made up a Example gambas project and a README and some screenshots so you can better understand what i am trying to do. On 8/27/05, Benoit Minisini wrote: > On Thursday 25 August 2005 15:11, Steve Starr wrote: > > PUBLIC SUB Button1_MouseMove() > > > > Button1.Y = Mouse.ScreenY > > Button1.X = Mouse.ScreenX > > > > TextBox1.Text = Mouse.ScreenY > > TextBox2.Text = Mouse.ScreenX > > > > End > > > > When i drag Button1 all the way to the left TextBox2.Text will display > > 0 now if i drag Button1 all the way to the right wich goes beyond my > > form TextBox2.Text will display 1024 well this is the width of my > > screen how could i if possable > > make Mouse.ScreenX think that just my form is 1024 instead of my screen? > > Same deal with Mouse.ScreenY if i drag Button1 to the top of my form > > TextBox1.Text displays 0 but if i drag to the bottum button1 goes > > beyond my form and TextBox1.Text displays 768 now this woudnt be a > > problem if my form was full screened but that isnt practical. > > > > > > If you need my source to see what i mean just ask and ill email it. > > Thanks > > > > I don't really understand all, but anyway try: > > PUBLIC SUB Button1_MouseMove() > > ' ScreenX/Y is the absolute screen coordinate. > ' X/Y is relative to the parent. > ' ClientX/Y is the shift between the top of the container and its inner. > > Button1.Y = Mouse.ScreenY - (Button1.Parent.ScreenX + > Button1.Parent.ClientX) > Button1.X = Mouse.ScreenX - (Button1.Parent.ScreenY + > Button1.Parent.ClientY) > > END > > When dealing with coordinates, things must be 'homogeneous'. > > There are two kind of coordinates: relative coordinates (X, Y, ClientX, > ClientY) and screen coordinates (ScreenX, ScreenY). When you substract two > screen coordinates, or two relative coordinates, you get a relative > coordinate. > > So your inital formula couldn't work: you assigned screen coordinates to > relative ones. > > Mine may work, as I substract two screen coordinates, and substract a relative > one again. > > I forgot to told you one recommandation if my last private email to you: use > indentation! Or you won't be able to read your code in two months! > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Example.tar.gz Type: application/x-gzip Size: 31130 bytes Desc: not available URL: From francesco.difusco at ...69... Sat Aug 27 20:03:08 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Sat, 27 Aug 2005 20:03:08 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508271718.53202.gambas@...1...> References: <200508271718.53202.gambas@...1...> Message-ID: <1125165788.19048.1.camel@...1064...> Il giorno sab, 27-08-2005 alle 17:18 +0200, Benoit Minisini ha scritto: > Everything worked fine and speedy, except the USB mouse that the linux kernel > does not like. The USB support in Linux is not perfect yet! I have an Acer 1524 WMLI, AMD 64, MAndrive LE 2005, and usb mouse workd correctly. > > I'm afraid that porting Gambas to 64 bits code will take time first, and > moreover may give a slower interpreter than in 32 bits! > > Regards, > I am waiting to use Gambas with my 64 bit notebook ... Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From sourceforge-raindog2 at ...94... Sat Aug 27 19:34:19 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 27 Aug 2005 13:34:19 -0400 Subject: [Gambas-user] Fwd: Sending Data From one Form to another In-Reply-To: <78f4b76705082705381006cbda@...627...> References: <200508250802.20716.gambas@...1077...> <78f4b76705082505156daad19a@...627...> <78f4b76705082705381006cbda@...627...> Message-ID: <200508271334.19830.sourceforge-raindog2@...94...> On Saturday 27 August 2005 08:38, Steve Starr wrote: > I was wondering if anyone could give me some insite as to why this > isnt working? 1. Is the second form called "piconfig" or "picconfig"? You have it listed both ways. I'm sure it's just a typo but I want to make sure it isn't something silly like a misspelling in your code. 2. Does the picconfig form open the tool form, or vice versa? If that "piconfig.tbox.text" is the first time you're referencing the piconfig form, the Open event in piconfig probably hasn't fired yet and so the tbox object hasn't been populated yet. It might even work some of the time but not others, because it's a race condition. What if you put a "piconfig.load" right after "if dialog.openfile() then return"? Rob From comtux at ...626... Sat Aug 27 20:05:12 2005 From: comtux at ...626... (Steve Starr) Date: Sat, 27 Aug 2005 18:05:12 +0000 Subject: [Gambas-user] Re: Sending Data From one Form to another In-Reply-To: <200508271334.19830.sourceforge-raindog2@...94...> References: <200508250802.20716.gambas@...1077...> <78f4b76705082505156daad19a@...627...> <78f4b76705082705381006cbda@...627...> <200508271334.19830.sourceforge-raindog2@...94...> Message-ID: <78f4b767050827110538dfa3c7@...627...> Here you go here is the example i am working with. picconfig was just a typo in the e-mail On 8/27/05, Rob wrote: > On Saturday 27 August 2005 08:38, Steve Starr wrote: > > I was wondering if anyone could give me some insite as to why this > > isnt working? > > 1. Is the second form called "piconfig" or "picconfig"? You have it > listed both ways. I'm sure it's just a typo but I want to make sure > it isn't something silly like a misspelling in your code. > > 2. Does the picconfig form open the tool form, or vice versa? If that > "piconfig.tbox.text" is the first time you're referencing the > piconfig form, the Open event in piconfig probably hasn't fired yet > and so the tbox object hasn't been populated yet. It might even work > some of the time but not others, because it's a race condition. What > if you put a "piconfig.load" right after "if dialog.openfile() then > return"? > > Rob > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Piconfig-0.0.1.tar.gz Type: application/x-gzip Size: 741 bytes Desc: not available URL: From gambas at ...1... Sat Aug 27 20:14:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Aug 2005 20:14:38 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <1125165788.19048.1.camel@...1064...> References: <200508271718.53202.gambas@...1...> <1125165788.19048.1.camel@...1064...> Message-ID: <200508272014.38797.gambas@...1...> On Saturday 27 August 2005 20:03, Alonzo Flinston wrote: > Il giorno sab, 27-08-2005 alle 17:18 +0200, Benoit Minisini ha scritto: > > Everything worked fine and speedy, except the USB mouse that the linux > > kernel does not like. The USB support in Linux is not perfect yet! > > I have an Acer 1524 WMLI, AMD 64, MAndrive LE 2005, and usb mouse workd > correctly. > I have had many problems with usb and last Linux kernel, on Mandriva and now on Debian - So it may not be related to the distribution: - An USB key that sometimes generate lot of failure messages from the driver, and most of the time works flawlessly. - An USB drive that didn't work on a friend's computer. - Two USB mouses that did not work: one on Mandriva, the other on Debian. The two last problems, except for the mouse on the AMD64, were solved by changing USB-related options in the BIOS (Why? No idea...). The first is just solved by removing the usb key and plug it again :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From comtux at ...626... Sat Aug 27 20:28:45 2005 From: comtux at ...626... (Steve Starr) Date: Sat, 27 Aug 2005 18:28:45 +0000 Subject: [Gambas-user] Re: Sending Data From one Form to another In-Reply-To: <78f4b767050827110538dfa3c7@...627...> References: <200508250802.20716.gambas@...1077...> <78f4b76705082505156daad19a@...627...> <78f4b76705082705381006cbda@...627...> <200508271334.19830.sourceforge-raindog2@...94...> <78f4b767050827110538dfa3c7@...627...> Message-ID: <78f4b767050827112868afe128@...627...> 1) Do not use numeric values for keys. Use the constants of the Key class. Ok i see what you mean :) but now that i know of the change event for Editor1 i dont need to use the Key class. 2) Do no repeat one thousand times the same line of code. Make a function. See above :) 3) If you want to update the WebBrowser when the HTML code changes, the TextArea (and Editor) control have a 'Change' event. And once again see above. :) 4) Make your window resizable, but... 5) Don't resize controls by hand. Use the HBox, VBox, Panel... containers and their Arrangement, Padding, Spacing properties. Use the Expand property to tell a control to takes as much space as possible inside a container whose Arrangement property is set. Ya i have been fighting with 4 and 5 for awhile these contros are gtk natives are they not. 6) Don't make your own menus. Use the standard ones. I only made my own menu because when i used IF Dialog.OpenFile() THEN RETURN Editor1.Text = Dialog.Path With the standard menu i just kept getting and error. On 8/27/05, Steve Starr wrote: > Here you go here is the example i am working with. > picconfig was just a typo in the e-mail > > On 8/27/05, Rob wrote: > > On Saturday 27 August 2005 08:38, Steve Starr wrote: > > > I was wondering if anyone could give me some insite as to why this > > > isnt working? > > > > 1. Is the second form called "piconfig" or "picconfig"? You have it > > listed both ways. I'm sure it's just a typo but I want to make sure > > it isn't something silly like a misspelling in your code. > > > > 2. Does the picconfig form open the tool form, or vice versa? If that > > "piconfig.tbox.text" is the first time you're referencing the > > piconfig form, the Open event in piconfig probably hasn't fired yet > > and so the tbox object hasn't been populated yet. It might even work > > some of the time but not others, because it's a race condition. What > > if you put a "piconfig.load" right after "if dialog.openfile() then > > return"? > > > > Rob > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & > QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From comtux at ...626... Sat Aug 27 20:54:49 2005 From: comtux at ...626... (Steve Starr) Date: Sat, 27 Aug 2005 18:54:49 +0000 Subject: [Gambas-user] Re: Sending Data From one Form to another In-Reply-To: <78f4b767050827112868afe128@...627...> References: <200508250802.20716.gambas@...1077...> <78f4b76705082505156daad19a@...627...> <78f4b76705082705381006cbda@...627...> <200508271334.19830.sourceforge-raindog2@...94...> <78f4b767050827110538dfa3c7@...627...> <78f4b767050827112868afe128@...627...> Message-ID: <78f4b7670508271154751422ea@...627...> Um the way i answerd 1, 2, 3, were wrong if i PUBLIC SUB Editor1_Change() blah blah blah END I will still need to use the keycode.class or else ill just have an endless loop. I will need to use a IF THEN ELSE with the Dialog.OpenFile() or IF Editor1.Text = Dialog.Path = True <--- think i can do this THEN or AND keycode = abcdefgh etc THEN blah blah :) You more than like won't know what the hell i just said but that is ok i understude it and understand what you meant with statements 1, 2, 3 On 8/27/05, Steve Starr wrote: > 1) Do not use numeric values for keys. Use the constants of the Key class. > > Ok i see what you mean :) but now that i know of the change event for > Editor1 > i dont need to use the Key class. > > 2) Do no repeat one thousand times the same line of code. Make a function. > > See above :) > > 3) If you want to update the WebBrowser when the HTML code changes, the > TextArea (and Editor) control have a 'Change' event. > > And once again see above. :) > > 4) Make your window resizable, but... > > 5) Don't resize controls by hand. Use the HBox, VBox, Panel... containers > and > their Arrangement, Padding, Spacing properties. Use the Expand property to > tell a control to takes as much space as possible inside a container whose > Arrangement property is set. > > Ya i have been fighting with 4 and 5 for awhile these contros are gtk > natives are they not. > > 6) Don't make your own menus. Use the standard ones. > > I only made my own menu because when i used > IF Dialog.OpenFile() THEN RETURN > Editor1.Text = Dialog.Path > With the standard menu i just kept getting and error. > > On 8/27/05, Steve Starr wrote: > > Here you go here is the example i am working with. > > picconfig was just a typo in the e-mail > > > > On 8/27/05, Rob wrote: > > > On Saturday 27 August 2005 08:38, Steve Starr wrote: > > > > I was wondering if anyone could give me some insite as to why this > > > > isnt working? > > > > > > 1. Is the second form called "piconfig" or "picconfig"? You have it > > > listed both ways. I'm sure it's just a typo but I want to make sure > > > it isn't something silly like a misspelling in your code. > > > > > > 2. Does the picconfig form open the tool form, or vice versa? If that > > > "piconfig.tbox.text" is the first time you're referencing the > > > piconfig form, the Open event in piconfig probably hasn't fired yet > > > and so the tbox object hasn't been populated yet. It might even work > > > some of the time but not others, because it's a race condition. What > > > if you put a "piconfig.load" right after "if dialog.openfile() then > > > return"? > > > > > > Rob > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & > > QA > > > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > From massenpost at ...1093... Sun Aug 28 02:22:42 2005 From: massenpost at ...1093... (Peter Lang) Date: Sun, 28 Aug 2005 02:22:42 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508271915.24966.gambas@...1...> References: <200508271718.53202.gambas@...1...> <43109F19.7000800@...282...> <200508271915.24966.gambas@...1...> Message-ID: <200508280222.42444.massenpost@...1093...> On Saturday 27 August 2005 19:15, Benoit Minisini wrote: [snip] > > Mmf. I didn't find a way to find a package from a file included in it... > Very useful anyway! dpkg -s will find even parts of a filename Peter -- http://learn.to/quote BOFH excuse #248: Too much radiation coming from the soil. From frankberg at ...390... Sun Aug 28 12:26:41 2005 From: frankberg at ...390... (Frank Berg) Date: Sun, 28 Aug 2005 12:26:41 +0200 Subject: [Gambas-user] allocation(s) non freed Message-ID: <000d01c5abba$fb93c780$0200a8c0@...602...> hi, i was install the new suse 10 beta 3 with cpp 4.01 if i compile gambas2 start it and exit then i receive: # gambas2 WARNING: 25 allocation(s) non freed. # frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From kungfoobar at ...626... Sun Aug 28 14:53:03 2005 From: kungfoobar at ...626... (Alberto Torres) Date: Sun, 28 Aug 2005 14:53:03 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508280222.42444.massenpost@...1093...> References: <200508271718.53202.gambas@...1...> <43109F19.7000800@...282...> <200508271915.24966.gambas@...1...> <200508280222.42444.massenpost@...1093...> Message-ID: 2005/8/28, Peter Lang : > On Saturday 27 August 2005 19:15, Benoit Minisini wrote: > [snip] > > > > Mmf. I didn't find a way to find a package from a file included in it... > > Very useful anyway! > > dpkg -s > > will find even parts of a filename > > Peter > -- but only for installed packages, I think, and it's upcase -S as far as I recall (I'm not in my computer now and this is SuSe). For file searches (and some more apt tricks) I use wajig. Regards -- DiThi JID: dithi at ...646... From na2492 at ...9... Sun Aug 28 15:25:47 2005 From: na2492 at ...9... (Charlie Reinl) Date: Sun, 28 Aug 2005 15:25:47 +0200 Subject: [Gambas-user] Do I run in the IDE (gambas-1.0.x or later) In-Reply-To: <200508271910.58883.gambas@...1...> References: <200508242253.17943.Karl.Reinl@...9...> <200508271645.29343.gambas@...1...> <43109CB3.80301@...282...> <200508271910.58883.gambas@...1...> Message-ID: <1125235547.8308.9.camel@...37...> Am Samstag, den 27.08.2005, 19:10 +0200 schrieb Benoit Minisini: > On Saturday 27 August 2005 19:02, Daniel Campos wrote: > > >There is no way at the moment, but you can add some program arguments in > > > the project property dialog. The program will receive these arguments > > > only it is run from the IDE. > > > > Try this code: > > > > DIM hComp AS Component > > > > FOR EACH hComp IN Components > > > > PRINT hComp.Name > > > > NEXT > > > > If you use it in a grahical program, you will find: > > > > gb.qt > > > > if you use the compiled program, but you will find > > > > gb.qt > > gb.eval > > > > When using it from the IDE, so if one of the components is "gb.eval" and > > your > > program does not use that component, you will know that you are in the > > "IDE mode". > > > > Regards, > > > > D. Campos > > > > May not work in the future :-) > Salut, thanks for the hint, I have choosen the 'project property dialog' way. But that don't work when gb.qt.kde is in use. Starting in the IDE you get 'The program has returned the value : 254' In Terminal is said: gbx: Unexpected argument 'ISIDE=TRUE' gbx: Use --help to get a list of available commandline options Compiled it ran. I'm using gambas-1.0.10 Amicalment Charlie From jr at ...1090... Sun Aug 28 15:46:55 2005 From: jr at ...1090... (John Rittinghouse) Date: Sun, 28 Aug 2005 08:46:55 -0500 Subject: [Gambas-user] Gambas Book Message-ID: <1125236816.9711.10.camel@...1096...> Benoit, My name is John Rittinghouse. I am an author (you can search my name on Amazon.com to see the books I have in circulation) and I have been talking (via email) with Fabien Bodard about my current work on a book about programming Gambas, entitled "A Beginner's Guide to Gambas" and wanted to see if you were interested in reviewing my work and possibly contributing a foreword to the book. I believe it will significantly help Gambas gain momentum and remedy the major weakness I have found (lack of documentation). It is a great product and a great step forward for Linux programming - kudos to you and all who have helped, btw. I don't know if this mail is going to be public as this is the only email address I have for you, but would prefer that it remain private for now until the book is ready. Once the book is published, I intend to set up on online version for Gambas users also. kind regards, jr From massenpost at ...1093... Sun Aug 28 17:04:53 2005 From: massenpost at ...1093... (Peter Lang) Date: Sun, 28 Aug 2005 17:04:53 +0200 Subject: [Gambas-user] I got it! In-Reply-To: References: <200508271718.53202.gambas@...1...> <200508280222.42444.massenpost@...1093...> Message-ID: <200508281704.53791.massenpost@...1093...> On Sunday 28 August 2005 14:53, Alberto Torres wrote: > 2005/8/28, Peter Lang : > > On Saturday 27 August 2005 19:15, Benoit Minisini wrote: > > [snip] > > > > > Mmf. I didn't find a way to find a package from a file included in > > > it... Very useful anyway! > > > > dpkg -s > > > > will find even parts of a filename > > > > Peter > > but only for installed packages, I think, and it's upcase -S as far as > I recall (I'm not in my computer now and this is SuSe). For file > searches (and some more apt tricks) I use wajig. > Ok, you'r right, dpkg -S filename is only for installed packages, dpkg -s pkgname shows the status of a package Peter -- http://learn.to/quote BOFH excuse #249: Unfortunately we have run out of bits/bytes/whatever. Don't worry, the next supply will be coming next week. From massenpost at ...1093... Sun Aug 28 17:07:45 2005 From: massenpost at ...1093... (Peter Lang) Date: Sun, 28 Aug 2005 17:07:45 +0200 Subject: [Gambas-user] allocation(s) non freed In-Reply-To: <000d01c5abba$fb93c780$0200a8c0@...602...> References: <000d01c5abba$fb93c780$0200a8c0@...602...> Message-ID: <200508281707.45172.massenpost@...1093...> On Sunday 28 August 2005 12:26, Frank Berg wrote: > hi, > i was install the new suse 10 beta 3 with cpp 4.01 > > if i compile gambas2 > start it and exit then i receive: > > # gambas2 > > WARNING: 25 allocation(s) non freed. > i got the message too, on debian sarge, but only the very firast time i started gambas! Peter -- http://learn.to/quote BOFH excuse #303: fractal radiation jamming the backbone From francesco.difusco at ...69... Sun Aug 28 17:24:30 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Sun, 28 Aug 2005 17:24:30 +0200 Subject: [Gambas-user] Gambas Book In-Reply-To: <1125236816.9711.10.camel@...1096...> References: <1125236816.9711.10.camel@...1096...> Message-ID: <1125242670.9822.0.camel@...1064...> Il giorno dom, 28-08-2005 alle 08:46 -0500, John Rittinghouse ha scritto: > Benoit, > > My name is John Rittinghouse. I am an author (you can search my name on > Amazon.com to see the books I have in circulation) and I have been > talking (via email) with Fabien Bodard about my current work on a book > about programming Gambas, entitled "A Beginner's Guide to Gambas" and > wanted to see if you were interested in reviewing my work and possibly > contributing a foreword to the book. > I think this is a very great idea Francesco > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From frankberg at ...390... Sun Aug 28 17:24:30 2005 From: frankberg at ...390... (Frank Berg) Date: Sun, 28 Aug 2005 17:24:30 +0200 Subject: [Gambas-user] allocation(s) non freed References: <000d01c5abba$fb93c780$0200a8c0@...602...> Message-ID: <000c01c5abe4$965bf7f0$0200a8c0@...602...> i was recompile gambas2 and now there is no allocations error more ?!?! but: i use suse 10 beta 3 with cpp 4.01 all packages are compiles ok without the clanlib. # ./configure -C > output.txt configure: WARNING: *** external internationalization library is disabled configure: WARNING: *** external charset conversion library is disabled configure: WARNING: *** external gettext library is disabled ./configure: line 3489: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4773: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4775: s%\\%/%g: No such file or directory ./configure: line 4777: s%\\%/%g: No such file or directory ./configure: line 4774: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory configure: WARNING: *** clanLib library is disabled ./configure: line 4771: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ./configure: line 4768: s%\\%/%g: No such file or directory ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.clanlib ************************************************************ the first 3 warnings, i was receive all the time from my start with gambas-0.5 until now. what is needed to disable this warnings? external internationalization, charset conversion and gettext library is disabled There is installed for clanlib clanlib 0.6.5-348 clanlib_devel 0.6.5-348 what is needed more to compile it correct?? frank ----- Original Message ----- From: Frank Berg To: gambas-user at lists.sourceforge.net Sent: Sunday, August 28, 2005 12:26 PM Subject: [Gambas-user] allocation(s) non freed hi, i was install the new suse 10 beta 3 with cpp 4.01 if i compile gambas2 start it and exit then i receive: # gambas2 WARNING: 25 allocation(s) non freed. # frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From lordheavy at ...512... Sun Aug 28 18:26:01 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 28 Aug 2005 18:26:01 +0200 Subject: [Gambas-user] Gambas Book In-Reply-To: <1125236816.9711.10.camel@...1096...> References: <1125236816.9711.10.camel@...1096...> Message-ID: <4311E599.3000307@...512...> John Rittinghouse a ?crit : > Benoit, > > My name is John Rittinghouse. I am an author (you can search my name on > Amazon.com to see the books I have in circulation) and I have been > talking (via email) with Fabien Bodard about my current work on a book > about programming Gambas, entitled "A Beginner's Guide to Gambas" and > wanted to see if you were interested in reviewing my work and possibly > contributing a foreword to the book. > > I believe it will significantly help Gambas gain momentum and remedy the > major weakness I have found (lack of documentation). It is a great > product and a great step forward for Linux programming - kudos to you > and all who have helped, btw. > > I don't know if this mail is going to be public as this is the only > email address I have for you, but would prefer that it remain private > for now until the book is ready. Once the book is published, I intend > to set up on online version for Gambas users also. > > kind regards, > > jr > If you need some help, review and perhaps ... translation, just ask :) Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gambas at ...1... Sun Aug 28 19:46:24 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Aug 2005 19:46:24 +0200 Subject: [Gambas-user] allocation(s) non freed In-Reply-To: <000c01c5abe4$965bf7f0$0200a8c0@...602...> References: <000d01c5abba$fb93c780$0200a8c0@...602...> <000c01c5abe4$965bf7f0$0200a8c0@...602...> Message-ID: <200508281946.24161.gambas@...1...> On Sunday 28 August 2005 17:24, Frank Berg wrote: > i was recompile gambas2 and now there is no allocations error more ?!?! > Damn !??? > but: > > > > > i use suse 10 beta 3 > with cpp 4.01 > > all packages are compiles ok without the clanlib. > > > # ./configure -C > output.txt > > > configure: WARNING: *** external internationalization library is disabled > configure: WARNING: *** external charset conversion library is disabled > configure: WARNING: *** external gettext library is disabled These warnings are not important, as on Linux the three libraries are included in the libc. But on other systems, these libraries may be external. > ./configure: line 3489: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4773: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4775: s%\\%/%g: No such file or directory > ./configure: line 4777: s%\\%/%g: No such file or directory > ./configure: line 4774: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory Absolutely no idea what these errors are... > configure: WARNING: *** clanLib library is disabled > ./configure: line 4771: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > ./configure: line 4768: s%\\%/%g: No such file or directory > > > ************************************************************ > > THESE COMPONENTS ARE DISABLED: > > - gb.clanlib > > ************************************************************ > > the first 3 warnings, i was receive all the time from my start with > gambas-0.5 until now. what is needed to disable this warnings? > external internationalization, charset conversion and gettext library is > disabled > > > There is installed for clanlib > > clanlib 0.6.5-348 > clanlib_devel 0.6.5-348 > > what is needed more to compile it correct?? At the moment, there is nothing in the clanlib component, so I will remove it anyway in a next release. Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Sun Aug 28 19:56:48 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 28 Aug 2005 19:56:48 +0200 Subject: [Gambas-user] allocation(s) non freed In-Reply-To: <200508281946.24161.gambas@...1...> References: <000d01c5abba$fb93c780$0200a8c0@...602...> <000c01c5abe4$965bf7f0$0200a8c0@...602...> <200508281946.24161.gambas@...1...> Message-ID: <4311FAE0.8090007@...512...> Benoit Minisini a ?crit : > > > At the moment, there is nothing in the clanlib component, so I will remove it > anyway in a next release. > I didn't have the time to work on and it has never work ;-p, so removing is really better ! Regards, PS : SDL 1.2.9 is out http://www.libsdl.org/download.php -- Laurent Carlier jabber : LordHeavy at ...943... From comtux at ...626... Sun Aug 28 19:55:54 2005 From: comtux at ...626... (Steve Starr) Date: Sun, 28 Aug 2005 17:55:54 +0000 Subject: [Gambas-user] Gambas Book In-Reply-To: <1125242670.9822.0.camel@...1064...> References: <1125236816.9711.10.camel@...1096...> <1125242670.9822.0.camel@...1064...> Message-ID: <78f4b7670508281055a8ef0f8@...627...> At what stage of compleation is the book at? Any idea when it will be ready for publication on amazon? On 8/28/05, Alonzo Flinston wrote: > Il giorno dom, 28-08-2005 alle 08:46 -0500, John Rittinghouse ha > scritto: > > Benoit, > > > > My name is John Rittinghouse. I am an author (you can search my name on > > Amazon.com to see the books I have in circulation) and I have been > > talking (via email) with Fabien Bodard about my current work on a book > > about programming Gambas, entitled "A Beginner's Guide to Gambas" and > > wanted to see if you were interested in reviewing my work and possibly > > contributing a foreword to the book. > > > > I think this is a very great idea > > Francesco > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- > Teaching OnLine > Corsi online di programmazione > Php, Asp, C, C++, Visual Basic, Delphi > Linux Shell Programming > ------------------------------------ > http://www.teachingonline.it > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 28 20:15:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 28 Aug 2005 20:15:05 +0200 Subject: [Gambas-user] Gambas Book In-Reply-To: <1125236816.9711.10.camel@...1096...> References: <1125236816.9711.10.camel@...1096...> Message-ID: <200508282015.05346.gambas@...1...> On Sunday 28 August 2005 15:46, John Rittinghouse wrote: > Benoit, > > My name is John Rittinghouse. I am an author (you can search my name on > Amazon.com to see the books I have in circulation) and I have been > talking (via email) with Fabien Bodard about my current work on a book > about programming Gambas, entitled "A Beginner's Guide to Gambas" and > wanted to see if you were interested in reviewing my work and possibly > contributing a foreword to the book. > Of course. I wouldn't like too many errors in a Gambas book :-) But the lack of complete documentation make being reliable difficult! > I believe it will significantly help Gambas gain momentum and remedy the > major weakness I have found (lack of documentation). It is a great > product and a great step forward for Linux programming - kudos to you > and all who have helped, btw. > > I don't know if this mail is going to be public > as this is the only > email address I have for you, but would prefer that it remain private > for now until the book is ready. Do you know what a mailing-list is ? :-) Now more than 450 people know that you want to make a book... > Once the book is published, I intend > to set up on online version for Gambas users also. > > kind regards, > > jr > Good. But you must be clear about what you are doing: - Will it be a real book or just a electronic one ? - Will the content be free (as in 'free speech') or not ? - Do you want to write the book alone, or do you want collaboration ? Best regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sun Aug 28 20:24:50 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 28 Aug 2005 14:24:50 -0400 Subject: [Gambas-user] Gambas Book In-Reply-To: <1125236816.9711.10.camel@...1096...> References: <1125236816.9711.10.camel@...1096...> Message-ID: <200508281424.50264.sourceforge-raindog2@...94...> On Sunday 28 August 2005 09:46, John Rittinghouse wrote: > My name is John Rittinghouse. I am an author (you can search my > name on Amazon.com to see the books I have in circulation) and I > have been talking (via email) with Fabien Bodard about my current > work on a book about programming Gambas, entitled "A Beginner's > Guide to Gambas" and wanted to see if you were interested in While I haven't given up on my own book (just got frustrated trying to keep track of all the changes in the language on the road to 2.0, but I expect mine to be Lulu material anyway rather than Amazon material) I am very, very gratified to hear that the first Gambas book published will be from someone outside the core Gambas community. Best of luck. Rob From fabrice at ...114... Sun Aug 28 21:24:36 2005 From: fabrice at ...114... (Fabrice Mous) Date: Sun, 28 Aug 2005 21:24:36 +0200 Subject: [Gambas-user] Gambas Book In-Reply-To: <78f4b7670508281055a8ef0f8@...627...> References: <1125236816.9711.10.camel@...1096...> <1125242670.9822.0.camel@...1064...> <78f4b7670508281055a8ef0f8@...627...> Message-ID: <200508282124.36668.fabrice@...114...> On Sunday 28 August 2005 19:55, Steve Starr wrote: | At what stage of compleation is the book at? | Any idea when it will be ready for publication on amazon? Hi, I would love to know that as well. Any news here? Fab -- KDE Nederland | www.kde.nl | fabrice at ...114... From gambas at ...1077... Sun Aug 28 21:29:17 2005 From: gambas at ...1077... (Alex Schaller) Date: Sun, 28 Aug 2005 15:29:17 -0400 Subject: [Gambas-user] Editor Control Custom Highlighting In-Reply-To: <20050827172132.AFF76888EB@...763...> References: <20050827172132.AFF76888EB@...763...> Message-ID: <200508281529.17556.gambas@...1077...> Hello Benoit! Yes, I have looked into the Editor_Highlight event handler in the example but I'm afraid it is a bit above me. Is there any change we could get a simpler demo explaining how to setup keywords, datatypes etc. I for one would greatly appreciate it!! Thanks, Alex > > Hello! > > > > I have been playing around with the new, super cool Editor control and > > can't figure out the custom highlighting feature. I checked out the > > example provided but..... > > > > Does anyone have some successful experience with this new control. > > I am writing an IDE for a microcontroller that uses a basic like syntax. > > My goal is to include all the language specific items in the editors > > highlighting but have no clue on how to go about it. > > > > Thanks > > > > Alex > >Did you read the Editor_Highlight event handler in the example ? >Benoit Minisini From lordheavy at ...512... Sun Aug 28 21:43:49 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 28 Aug 2005 21:43:49 +0200 Subject: [Gambas-user] Editor Control Custom Highlighting In-Reply-To: <200508281529.17556.gambas@...1077...> References: <20050827172132.AFF76888EB@...763...> <200508281529.17556.gambas@...1077...> Message-ID: <431213F5.3000704@...512...> Alex Schaller a ?crit : > Hello Benoit! > > Yes, I have looked into the Editor_Highlight event handler in the example but > I'm afraid it is a bit above me. > Is there any change we could get a simpler demo explaining how to setup > keywords, datatypes etc. > > I for one would greatly appreciate it!! > > Thanks, > > Alex > > Try the wonderful debugger to understand ! it's really easy to use an trace variables :) Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From jr at ...1090... Sun Aug 28 21:33:55 2005 From: jr at ...1090... (John W. Rittinghouse) Date: Sun, 28 Aug 2005 14:33:55 -0500 Subject: [Gambas-user] Re: Gambas Book Message-ID: <1125257636.11594.2.camel@...1091...> Benoit, Great. Yes, it is a real book, and I have about 200 pages completed of the 300+ or so planned. It is intended to be published in late September. Once published, I will, as stated earlier, make an on-line version available "libre" for gambas users. I do understand mailing lists and the public nature of their forum. Now that everyone knows about the book, it should be no surprise when it comes out. As to the public nature of this list, I am all for it but my publisher will not allow distribution of draft copy in this manner. If you do not have a private email address where I can forward the draft to you, I am happy to create an email account for your use on my servers. Please let me know which method you prefer and then we can move on this. At some point, I will need a mailing address if you wish to receive a signed copy of the finished book also. I will send you the first six chapters to review once we get to that point and you can start on the foreword and comment on the draft as appropriate. Once again, many thanks and I am excited to get you involved in this project. For all the other Gambas users that have sent messages of support and offers of help, my thanks. I will likely take you up on the offers as the need arises. cheers, jr -------------- next part -------------- An HTML attachment was scrubbed... URL: From lordheavy at ...512... Sun Aug 28 23:39:01 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 28 Aug 2005 23:39:01 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508271718.53202.gambas@...1...> References: <200508271718.53202.gambas@...1...> Message-ID: <43122EF5.7000301@...512...> Benoit Minisini a ?crit : > Yesterday morning, I have received a beautiful AMD64 computer gave by the > Spanish Region Of Extremadura. > > I would like to thank them for this donation. > With windows XP 64 OEM ? :-) (does XP 64 exist ?) Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gambasfr at ...11... Sun Aug 28 23:35:25 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Sun, 28 Aug 2005 23:35:25 +0200 Subject: [Gambas-user] Re: Gambas Book In-Reply-To: <1125257636.11594.2.camel@...1091...> References: <1125257636.11594.2.camel@...1091...> Message-ID: <200508282335.25393.gambasfr@...11...> Le Dimanche 28 Ao?t 2005 21:33, John W. Rittinghouse a ?crit?: > Benoit, > > Great. Yes, it is a real book, and I have about 200 pages completed of > the 300+ or so planned. It is intended to be published in late > September. Once published, I will, as stated earlier, make an on-line > version available "libre" for gambas users. I do understand mailing > lists and the public nature of their forum. Now that everyone knows > about the book, it should be no surprise when it comes out. As to the > public nature of this list, I am all for it but my publisher will not > allow distribution of draft copy in this manner. If you do not have a > private email address where I can forward the draft to you, I am happy > to create an email account for your use on my servers. Please let me > know which method you prefer and then we can move on this. At some > point, I will need a mailing address if you wish to receive a signed > copy of the finished book also. I will send you the first six chapters > to review once we get to that point and you can start on the foreword > and comment on the draft as appropriate. Once again, many thanks and I > am excited to get you involved in this project. > > For all the other Gambas users that have sent messages of support and > offers of help, my thanks. I will likely take you up on the offers as > the need arises. > > > cheers, > jr John, I've many difficulties to send you any mails directly on your email address ! The adresse of Benoit is : Benoit Minisini Fabien From k-p.richter at ...20... Sun Aug 28 23:41:40 2005 From: k-p.richter at ...20... (Peter) Date: Sun, 28 Aug 2005 23:41:40 +0200 Subject: [Gambas-user] Do I run in the IDE (gambas-1.0.x or later) In-Reply-To: <1125235547.8308.9.camel@...37...> References: <200508242253.17943.Karl.Reinl@...9...> <200508271910.58883.gambas@...1...> <1125235547.8308.9.camel@...37...> Message-ID: <200508282341.40380.k-p.richter@...20...> Am Sonntag, 28. August 2005 15:25 schrieb Charlie Reinl: > Am Samstag, den 27.08.2005, 19:10 +0200 schrieb Benoit Minisini: > > On Saturday 27 August 2005 19:02, Daniel Campos wrote: > > > >There is no way at the moment, but you can add some program arguments > > > > in the project property dialog. The program will receive these > > > > arguments only it is run from the IDE. > > Salut, > > thanks for the hint, I have choosen the 'project property dialog' way. > But that don't work when gb.qt.kde is in use. > Starting in the IDE you get 'The program has returned the value : 254' > > In Terminal is said: > gbx: Unexpected argument 'ISIDE=TRUE' > gbx: Use --help to get a list of available commandline options > > > Compiled it ran. Hallo Charlie, a very primitive solution: IF exist(".lock") then ... Benoit set the file .lock in the application-path from the IDE. This works in the stable version, in V2 ??? Peter From comtux at ...626... Mon Aug 29 02:50:35 2005 From: comtux at ...626... (Steve Starr) Date: Mon, 29 Aug 2005 00:50:35 +0000 Subject: [Gambas-user] Re: allocation(s) non freed In-Reply-To: <4311FAE0.8090007@...512...> References: <000d01c5abba$fb93c780$0200a8c0@...602...> <000c01c5abe4$965bf7f0$0200a8c0@...602...> <200508281946.24161.gambas@...1...> <4311FAE0.8090007@...512...> Message-ID: <78f4b7670508281750fc33f42@...627...> I also was reciveing the same error. On 8/28/05, Laurent Carlier wrote: > Benoit Minisini a ?crit : > > > > > > At the moment, there is nothing in the clanlib component, so I will remove > it > > anyway in a next release. > > > > I didn't have the time to work on and it has never work ;-p, so removing > is really better ! > > Regards, > > PS : SDL 1.2.9 is out http://www.libsdl.org/download.php > > -- > > Laurent Carlier > jabber : LordHeavy at ...943... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From isy21 at ...1082... Mon Aug 29 07:04:04 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 29 Aug 2005 12:04:04 +0700 Subject: [Gambas-user] How to set width in tableview In-Reply-To: <200508271707.55390.gambas@...1...> References: <200508261633.38399.isy21@...1082...> <200508271707.55390.gambas@...1...> Message-ID: <200508291204.04448.isy21@...1082...> On Saturday 27 August 2005 22:07, Benoit Minisini wrote: > On Friday 26 August 2005 11:33, isy21 at ...1082... wrote: > > Hi all, > > > > I want to set row height in tableview. > > because i have a multiline text in field, by default tableview it only > > view first line or last line only. but i can resize height in runtime, by > > move row size. > > That should work: > MyTableView.Rows[Y].Height = MyHeight > > > I want to set height every row with same size, if possible can i set to > > autoheight ? > > That should work too: > MyTableView.Rows.Height = MyHeight I already try like this line PUBLIC sub settableview3 () tableview3.Columns[0].Width=120 tableview3.Columns[1].Width=480 tableview3.Rows.Height=90 end but rows.height works only in 1 row second and third and more row return to default height ? I only call settableview3 once, when form loaded. Have i call this subroutine everytime it reload data in tableview3 ? Thanks before Ignatius > > > Thanks > > > > > > Ignatius > > Regards, From radoslav.dejanovic at ...116... Mon Aug 29 09:23:01 2005 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Mon, 29 Aug 2005 09:23:01 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <43122EF5.7000301@...512...> References: <200508271718.53202.gambas@...1...> <43122EF5.7000301@...512...> Message-ID: <200508290923.01954.radoslav.dejanovic@...116...> On Sunday 28 August 2005 23:39, Laurent Carlier wrote: > With windows XP 64 OEM ? :-) (does XP 64 exist ?) Yes, but frankly, it's a mess. Lack of 64-bit drivers makes such machine even less hardware compatible than Linux. I hope I haven't started one more holly war here... :) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From isy21 at ...1082... Mon Aug 29 12:07:56 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 29 Aug 2005 17:07:56 +0700 Subject: [Gambas-user] Aligment column Message-ID: <200508291707.57256.isy21@...1082...> Hi, all I want to know how to set aligment in tableview ? like this left alignment |--------------------------------------------| | NAME | Value | |---------------------|----------------------| | TEST ONE | 75.09| | ROW two | 120.09| ---------------------------------------------- Column1 set to left alignment column2 set to right alignment (because this is value) How to set like that.. Thanks a lot.. Ignatius From paulo.figueiredo at ...1094... Mon Aug 29 16:04:16 2005 From: paulo.figueiredo at ...1094... (Figueiredo) Date: Mon, 29 Aug 2005 11:04:16 -0300 Subject: [Gambas-user] Workspace Message-ID: <006901c5aca2$8af6d9c0$3b01010a@...1094...> Dear gambas people.. I've tried to use the 'workspace' class in the version 1.9.18 and I cannot. I Got this message error: Cannot load the class 'WorkSpace' This is a "bug", the new gambas will no support this class ? There is any other way to use MDI forms ? tanks a lot Benoit... Paulo Figueiredo -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajtim at ...1089... Mon Aug 29 23:30:27 2005 From: ajtim at ...1089... (Mitja) Date: Mon, 29 Aug 2005 16:30:27 -0500 Subject: [Gambas-user] gambas 2-1.9.18 Message-ID: <200508291630.28197.ajtim@...1089...> Hi! I tried to compaile Gambas under OpenSUSE 10.0 beta3 without success: make[4]: *** [main.lo] Error 1 make[4]: Leaving directory `/root/Programi/gambas2-1.9.18/gb.db.odbc/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/Programi/gambas2-1.9.18/gb.db.odbc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/Programi/gambas2-1.9.18/gb.db.odbc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Programi/gambas2-1.9.18' make: *** [all] Error 2 If i run gambas from OpenSuSE site than i get a message (error): ERROR: #2: Cannot load class 'ValueBox': Unable to load class file Thanks, Mitja From na2492 at ...9... Mon Aug 29 23:48:38 2005 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 29 Aug 2005 23:48:38 +0200 Subject: [Gambas-user] Do I run in the IDE (gambas-1.0.x or later) In-Reply-To: <200508282341.40380.k-p.richter@...20...> References: <200508242253.17943.Karl.Reinl@...9...> <200508271910.58883.gambas@...1...> <1125235547.8308.9.camel@...37...> <200508282341.40380.k-p.richter@...20...> Message-ID: <1125352118.8555.5.camel@...37...> Am Sonntag, den 28.08.2005, 23:41 +0200 schrieb Peter: > Am Sonntag, 28. August 2005 15:25 schrieb Charlie Reinl: > > Am Samstag, den 27.08.2005, 19:10 +0200 schrieb Benoit Minisini: > > > On Saturday 27 August 2005 19:02, Daniel Campos wrote: > > > > >There is no way at the moment, but you can add some program arguments > > > > > in the project property dialog. The program will receive these > > > > > arguments only it is run from the IDE. > > > > Salut, > > > > thanks for the hint, I have choosen the 'project property dialog' way. > > But that don't work when gb.qt.kde is in use. > > Starting in the IDE you get 'The program has returned the value : 254' > > > > In Terminal is said: > > gbx: Unexpected argument 'ISIDE=TRUE' > > gbx: Use --help to get a list of available commandline options > > > > > > Compiled it ran. > Hallo Charlie, > > a very primitive solution: > IF exist(".lock") then ... > Benoit set the file .lock in the application-path from the IDE. This works in > the stable version, in V2 ??? > > Peter Salut, for my project the 'project property dialog' way is OK. I don'T use the gb.qt.kde. That was only for the developer to know about. Your way works only if the compiled file is outside the devlepoment directory, if not a crashed IDE let the .lock file. Amicalment Charlie From na2492 at ...9... Mon Aug 29 23:54:10 2005 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 29 Aug 2005 23:54:10 +0200 Subject: [Gambas-user] Workspace In-Reply-To: <006901c5aca2$8af6d9c0$3b01010a@...1094...> References: <006901c5aca2$8af6d9c0$3b01010a@...1094...> Message-ID: <1125352450.8555.9.camel@...37...> Am Montag, den 29.08.2005, 11:04 -0300 schrieb Figueiredo: > Dear gambas people.. > > I've tried to use the 'workspace' class in the version 1.9.18 and I > cannot. I Got this message error: > > Cannot load the class 'WorkSpace' > > > This is a "bug", the new gambas will no support this class ? > > There is any other way to use MDI forms ? > > > tanks a lot Benoit... > > > Paulo Figueiredo Salut Paulo, long time ago Beno?t said , WorkSpace will not move to the next version. May be thats the reason of "Cannot load the class 'WorkSpace'" It doesn't exist anymore. Amicalment Charlie From lordheavy at ...512... Tue Aug 30 00:28:20 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 30 Aug 2005 00:28:20 +0200 Subject: [Gambas-user] Workspace In-Reply-To: <006901c5aca2$8af6d9c0$3b01010a@...1094...> References: <006901c5aca2$8af6d9c0$3b01010a@...1094...> Message-ID: <43138C04.5050205@...512...> Figueiredo a ?crit : > Dear gambas people.. > > I've tried to use the 'workspace' class in the version 1.9.18 and I cannot. I Got this message error: > > Cannot load the class 'WorkSpace' > > > This is a "bug", the new gambas will no support this class ? > > There is any other way to use MDI forms ? > > > tanks a lot Benoit... > > > Paulo Figueiredo > It seems that it still exist (i've take a look in the sources). It's in qt.ext component. Could you post a piece of code that raise the error ? Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From white_fox_ir at ...43... Tue Aug 30 02:08:04 2005 From: white_fox_ir at ...43... (White Fox) Date: Mon, 29 Aug 2005 17:08:04 -0700 (PDT) Subject: [Gambas-user] How u distrubute your program? Message-ID: <20050830000804.95624.qmail@...1098...> hello friends.... First:sorry for my poor english secend: imagine you write your program(your linux is Debian) and u want bring a package of your program to another linux(for example Fedora Core 3)... first way is build this package with IDE .thats ok! but when u bring this package..it's not install and u recive error dependency... which package u need to install in FC3 to start a simple program written in Gambas.. thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From frankberg at ...390... Tue Aug 30 08:06:39 2005 From: frankberg at ...390... (Frank Berg) Date: Tue, 30 Aug 2005 08:06:39 +0200 Subject: [Gambas-user] gambas 2-1.9.18 References: <200508291630.28197.ajtim@...1089...> Message-ID: <001a01c5ad28$fcf15a60$0200a8c0@...602...> hi, if you are install from the 5 iso files, there is not installed and not avaibled all the devel stuff. look at http://ftp.caliu.info/pub/distribucions/suse/opensuse/opensuse/distribution/SL-10.0-OSS-beta3/ in the folder inst-source there ist the complete DVD contens. after install from the 5 cds, i was include the (http!!!) url to the yast install source and install the missing devel packages my way is.. 1.) install the packages from cd c++ kde devel gnome devel 2.) change to ftp.caliu.info and install curl and devel ncurses and devel unixODBC and devel (maybe mysql, postgresql and sqlite and sqlite2 to...) all the SDL_mm ... -mixer... _image ..._gfx ..... and theres devel in some case the 5 cds program versions number match not with the devel versions number. also check the install in step 2 (from ftp.caliu.info) about updates.. the rpm's you must update are in blue after this i was compile the hole gambas2 (without the trial of clanlib) with some warnings and without errors frank > Hi! > > I tried to compaile Gambas under OpenSUSE 10.0 beta3 without success: > > make[4]: *** [main.lo] Error 1 > make[4]: Leaving directory `/root/Programi/gambas2-1.9.18/gb.db.odbc/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/Programi/gambas2-1.9.18/gb.db.odbc' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/root/Programi/gambas2-1.9.18/gb.db.odbc' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/Programi/gambas2-1.9.18' > make: *** [all] Error 2 > > If i run gambas from OpenSuSE site than i get a message (error): > > ERROR: #2: Cannot load class 'ValueBox': Unable to load class file > > Thanks, > > Mitja > From oczykota at ...988... Tue Aug 30 13:49:08 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Tue, 30 Aug 2005 13:49:08 +0200 Subject: [Gambas-user] Conecting to the host via socket component Message-ID: <431447B4.8070408@...988...> I try to write some application which connect to the host. So, I put on the main form component Socket but i don't known how write to host and i do not known how read from host, too. I known that is the read event but in which properties is that what send to me server? Arek. From gambasfr at ...11... Tue Aug 30 13:37:56 2005 From: gambasfr at ...11... (Fabien) Date: Tue, 30 Aug 2005 13:37:56 +0200 (CEST) Subject: [Gambas-user] How u distrubute your program? Message-ID: <8526564.1125401876360.JavaMail.www@...1100...> > Message du 30/08/05 02:09 > De : "White Fox" > A : gambas-user at lists.sourceforge.net > Copie ? : > Objet : [Gambas-user] How u distrubute your program? > > hello friends.... > First:sorry for my poor english > > secend: imagine you write your program(your linux is > Debian) and u want bring a package of your program to > another linux(for example Fedora Core 3)... > first way is build this package with IDE .thats ok! > but when u bring this package..it's not install and u > recive error dependency... > which package u need to install in FC3 to start a > simple program written in Gambas.. > thanks > The gambas packages and theire dependencies*... From gambas at ...1077... Tue Aug 30 13:40:51 2005 From: gambas at ...1077... (Alex Schaller) Date: Tue, 30 Aug 2005 07:40:51 -0400 Subject: [Gambas-user] Editor Control Insert function problem Message-ID: <200508300740.52181.gambas@...1077...> Hello! I was trying to us the insert function to put some text in the editor control: Editor1.Insert("Hello", 1, 1) and I get the Too many Arguments error. Also, the old Editor control had a pos function which would position the cursor at a specific character in the document (very helpfull in my project). I am sure I can recreate the functionality of the pos function but if you plan on providing it again I will wait. B.t.w I figured out the custom highlighting feature of the new editor control and it rocks. GREAT JOB Benoit !!!!!! Have a great day everyone! Alex From gambas at ...1... Tue Aug 30 14:30:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Aug 2005 14:30:35 +0200 Subject: [Gambas-user] Editor Control Custom Highlighting In-Reply-To: <200508281529.17556.gambas@...1077...> References: <20050827172132.AFF76888EB@...763...> <200508281529.17556.gambas@...1077...> Message-ID: <200508301430.35563.gambas@...1...> On Sunday 28 August 2005 21:29, Alex Schaller wrote: > Hello Benoit! > > Yes, I have looked into the Editor_Highlight event handler in the example > but I'm afraid it is a bit above me. > Is there any change we could get a simpler demo explaining how to setup > keywords, datatypes etc. > > I for one would greatly appreciate it!! > > Thanks, > > Alex > I will add comments when I have time... The principle are: * The Highlight event handler is called for each line. * Each line character must be assigned a state, that is an integer between 1 and 15. This state has associated constants in the Highligh static class. The constant names match the requirement of Gambas code highlighting. * When the event handler is called, Highlight.State is initialized with the last state of the previous line, or Highlight.Normal if there is no previous line. * Then you can browse the line text returned by Highlight.Text character by character, and call Highlight.Add() to add into an internal buffer the state of the current character, one by one. You can add several identical following states in one call if needed. * You must be careful with UTF-8: some characters need more than one byte. Use the String class if needed. * When you have finished highlighting the line, you must return in Highlight.State the final state of the line, i.e. the state *after* the last character. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 30 14:32:10 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Aug 2005 14:32:10 +0200 Subject: [Gambas-user] How to set width in tableview In-Reply-To: <200508291204.04448.isy21@...1082...> References: <200508261633.38399.isy21@...1082...> <200508271707.55390.gambas@...1...> <200508291204.04448.isy21@...1082...> Message-ID: <200508301432.10471.gambas@...1...> On Monday 29 August 2005 07:04, isy21 at ...1082... wrote: > On Saturday 27 August 2005 22:07, Benoit Minisini wrote: > > On Friday 26 August 2005 11:33, isy21 at ...1082... wrote: > > > Hi all, > > > > > > I want to set row height in tableview. > > > because i have a multiline text in field, by default tableview it only > > > view first line or last line only. but i can resize height in runtime, > > > by move row size. > > > > That should work: > > MyTableView.Rows[Y].Height = MyHeight > > > > > I want to set height every row with same size, if possible can i set to > > > autoheight ? > > > > That should work too: > > MyTableView.Rows.Height = MyHeight > > I already try like this line > PUBLIC sub settableview3 () > tableview3.Columns[0].Width=120 > tableview3.Columns[1].Width=480 > tableview3.Rows.Height=90 > end > > but rows.height works only in 1 row > second and third and more row return to default height ? > > I only call settableview3 once, when form loaded. > Have i call this subroutine everytime it reload data in tableview3 ? > > Thanks before > > Ignatius > I think so, because TableView.Rows.Height modifies the height of each row one by one, and so you must do it again when you change the value of TableView.Rows.Count. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 30 14:34:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Aug 2005 14:34:53 +0200 Subject: [Gambas-user] I got it! In-Reply-To: <200508290923.01954.radoslav.dejanovic@...116...> References: <200508271718.53202.gambas@...1...> <43122EF5.7000301@...512...> <200508290923.01954.radoslav.dejanovic@...116...> Message-ID: <200508301434.53741.gambas@...1...> On Monday 29 August 2005 09:23, Radoslav Dejanovi? wrote: > On Sunday 28 August 2005 23:39, Laurent Carlier wrote: > > With windows XP 64 OEM ? :-) (does XP 64 exist ?) > > Yes, but frankly, it's a mess. > > Lack of 64-bit drivers makes such machine even less hardware compatible > than Linux. > > I hope I haven't started one more holly war here... :) The only problem with my Debian 64 bits is that no 32 bits libraries are installed. By reading a little on the net, it seems that having a 32/64 bits system is possible without problems (two directories, lib & lib64, and a dll loader that intelligently looks in the accurate directoty), except for development! There is no include/include64, only one include directory (why? No idea...) Anyway, this 64 bits machine is for developing 64 bits programs :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 30 14:36:33 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Aug 2005 14:36:33 +0200 Subject: [Gambas-user] Aligment column In-Reply-To: <200508291707.57256.isy21@...1082...> References: <200508291707.57256.isy21@...1082...> Message-ID: <200508301436.33932.gambas@...1...> On Monday 29 August 2005 12:07, isy21 at ...1082... wrote: > Hi, all > > I want to know how to set aligment in tableview ? > > like this > left alignment > > |--------------------------------------------| > | NAME | Value | > |---------------------|----------------------| > | TEST ONE | 75.09| > | ROW two | 120.09| > > ---------------------------------------------- > > Column1 set to left alignment > column2 set to right alignment (because this is value) > > How to set like that.. > > > Thanks a lot.. > > Ignatius > > In the 'Data' event handler, set the TableView.Data.Alignment property. Regards, -- Benoit Minisini mailto:gambas at ...1... From werda at ...1000... Tue Aug 30 16:28:37 2005 From: werda at ...1000... (Werner) Date: Tue, 30 Aug 2005 22:28:37 +0800 Subject: [Gambas-user] User Interface: So many choices of lists Message-ID: <43146D15.2000609@...1000...> Hello, looking for the right thingibop to do what I need I feel overwhelmed with choices. Maybe you can sort me out. I'm trying to write a user interface for manual lap counting software for a 24h dinghy charity race. Assume 30-50 dinghies, each passing the counting station every 5 minutes. Each boat passing the station results in the creation of a record in a mysql database, for reporting and auditing. It is entirely possible that 6 dinghies pass the station within 5 seconds. Air traffic controllers have no problem with this kind of mental load but a novice lap counter whose daily routine does not include rapid multitasking might get stressed out and as a result make mistakes. This means the lap counters need a user interface that is very easy to understand and intuitive to use. I had envisioned a window with a list of dinghies to the left (vertical scroll bar) and a huge GO! button to the right of it. The lap counting person selects the dinghy/dinghies and clicks the BIG BUTTON. Double click and multiple selections should also work (I think all the candidates below can do this). Each line of the list would be something like this: ---------------------------------------------- | Lap No | Time | Dinghy | ---------------------------------------------- 13 23:54:12 Laser 17 Example right center left Alignment I had a look at -- listbox -- listview -- columnview -- table What I need is a widget that can present each line as a complete indivisible entity to the user but allows the programmer enough flexibility to treat each column individually, especially regarding alignment (maybe also style, color change). Data entry via keyboard is not needed. Which one is suitable? Have I overlooked the perfect widget for the task? Thanks, Werner Dahn From fidojones at ...805... Tue Aug 30 17:03:47 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Tue, 30 Aug 2005 17:03:47 +0200 (CEST) Subject: [Gambas-user] Workspace In-Reply-To: <43138C04.5050205@...512...> References: <006901c5aca2$8af6d9c0$3b01010a@...1094...> <43138C04.5050205@...512...> Message-ID: <60202.85.155.33.88.1125414227.squirrel@...962...> I have the same problem, I did a big software with MDI and now in new version there isn't a MDI support. Benoit say me that it will be probably removed. But I ask the same, How can we develop MDI in the future? there is no future to MDI aplication? is't so dificult to leave working MDI equal than older versions? fido > Figueiredo a ?crit : > >> Dear gambas people.. >> >> >> I've tried to use the 'workspace' class in the version 1.9.18 and I >> cannot. I Got this message error: >> >> Cannot load the class 'WorkSpace' >> >> >> >> This is a "bug", the new gambas will no support this class ? >> >> >> There is any other way to use MDI forms ? >> >> >> >> tanks a lot Benoit... >> >> >> Paulo Figueiredo >> >> > > It seems that it still exist (i've take a look in the sources). > It's in qt.ext component. > > > Could you post a piece of code that raise the error ? > > > Regards, > > > -- > > > Laurent Carlier > jabber : LordHeavy at ...943... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Tue Aug 30 17:13:00 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Aug 2005 17:13:00 +0200 Subject: [Gambas-user] Workspace In-Reply-To: <60202.85.155.33.88.1125414227.squirrel@...962...> References: <006901c5aca2$8af6d9c0$3b01010a@...1094...> <43138C04.5050205@...512...> <60202.85.155.33.88.1125414227.squirrel@...962...> Message-ID: <200508301713.00551.gambas@...1...> On Tuesday 30 August 2005 17:03, Lorenzo Tejera wrote: > I have the same problem, I did a big software with MDI and now in new > version there isn't a MDI support. Benoit say me that it will be probably > removed. But I ask the same, How can we develop MDI in the future? there > is no future to MDI aplication? is't so dificult to leave working MDI > equal than older versions? > > fido > I didn't remove the Worksapce control. Actually I didn't touch it since a lot of time! I will check... -- Benoit Minisini mailto:gambas at ...1... From dcamposf at ...626... Tue Aug 30 17:58:39 2005 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 30 Aug 2005 17:58:39 +0200 Subject: [Gambas-user] Conecting to the host via socket component In-Reply-To: <431447B4.8070408@...988...> References: <431447B4.8070408@...988...> Message-ID: <4314822F.808@...282...> Hi: I have not very much time free now (sorry), but I will give you some points to start: (Read in the www.binara.com web site about documentation related to the net component) 1) Use the "Connect" method from Socket to connect to the server. 2) You can write data usinbg standard stream methods, for example: Dim sCad as String Dim MySocket AS Socket ... sCad="Hello" ... WRITE #MySocket,sCad,Len(sCad) 3) Use the "Read" event in order to know when there's data to read, and read it using standard stream methods, for example: READ #MySocket, sCad,Lof(MySocket) 4) Remember to check if any error happened in the connection with the Status property and Error event. Regards, D. Campos Arkadiusz Zychewicz wrote: > I try to write some application which connect to the host. > So, I put on the main form component Socket but i don't known how > write to host and i do not known how read from host, too. > > I known that is the read event but in which properties is that what > send to me server? > > Arek. > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From Wsouzap at ...87... Tue Aug 30 23:54:48 2005 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Tue, 30 Aug 2005 17:54:48 -0400 Subject: [Gambas-user] Bug in .18 gambas version Message-ID: <0D37A5B2.296EE2B4.001B903D@...87...> Hi! I?m have x.12 gambas installed in my machine and update to x.18. When i open my form the object is more bigs. Reguards, Souza, Wellington From isy21 at ...1082... Wed Aug 31 11:33:27 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Wed, 31 Aug 2005 16:33:27 +0700 Subject: [Gambas-user] Dateadd function Message-ID: <200508311633.27708.isy21@...1082...> Hi, all I have a textbox like this one textbox1.text =02/08/2005 (in dd/mm/yyyy) textbox2.text= 30 (in days) textbox3.text= ..is date 30 day after 02/08/2005... ( result must be in date too...will be added date from textbox1 with textbox2 in period ) (I use in textbox3_change -> textbox3.text=dateadd(textbox2.text,d,textbox1.text) but i return Error --> "unknown indentifier:dateadd i use suse 9.3 prof It something i must do, to have result dateadd ? Thanks before Ignatius From fabrice at ...114... Wed Aug 31 14:12:48 2005 From: fabrice at ...114... (Fabrice Mous) Date: Wed, 31 Aug 2005 14:12:48 +0200 Subject: [Gambas-user] Finding Gambas apps Message-ID: <200508311412.49024.fabrice@...114...> Hi all, Just want to mention that nowadays applications made with Gambas are easy to search on KDE-apps.org [1]. We modified the "depend on" field where you can now choose that it depends on "gambas" [2]. Just select that option in the search area and click search. The result will show you all gambas apps on KDE-apps.org. Feel free to add your application as well. Take care' Fabrice [1] http://www.kde-apps.org/content/search.php [2] perhaps we need to change that with the upcoming Gambas 2 release -- KDE Nederland | www.kde.nl | fabrice at ...114... From gambas at ...1... Wed Aug 31 19:23:01 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Aug 2005 19:23:01 +0200 Subject: [Gambas-user] Finding Gambas apps In-Reply-To: <200508311412.49024.fabrice@...114...> References: <200508311412.49024.fabrice@...114...> Message-ID: <200508311923.01436.gambas@...1...> On Wednesday 31 August 2005 14:12, Fabrice Mous wrote: > Hi all, > > Just want to mention that nowadays applications made with Gambas are easy > to search on KDE-apps.org [1]. We modified the "depend on" field where you > can now choose that it depends on "gambas" [2]. > > Just select that option in the search area and click search. The result > will show you all gambas apps on KDE-apps.org. Feel free to add your > application as well. > > Take care' > > Fabrice > > > [1] http://www.kde-apps.org/content/search.php > [2] perhaps we need to change that with the upcoming Gambas 2 release Thanks Fabrice! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 31 19:24:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Aug 2005 19:24:05 +0200 Subject: [Gambas-user] Dateadd function In-Reply-To: <200508311633.27708.isy21@...1082...> References: <200508311633.27708.isy21@...1082...> Message-ID: <200508311924.06051.gambas@...1...> On Wednesday 31 August 2005 11:33, isy21 at ...1082... wrote: > Hi, all > > I have a textbox like this one > > textbox1.text =02/08/2005 (in dd/mm/yyyy) > textbox2.text= 30 (in days) > textbox3.text= ..is date 30 day after 02/08/2005... ( result must be > in date too...will be added date from textbox1 with textbox2 in period ) (I > use in textbox3_change -> > textbox3.text=dateadd(textbox2.text,d,textbox1.text) > > but i return Error --> "unknown indentifier:dateadd > > i use suse 9.3 prof Good, but you should tell which version of Gambas you use. I guess this is the stable version, and in the stable version DateAdd does not exist, except if you use the gb.vb component. DateAdd and DateDiff are in the development version. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 31 19:24:34 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Aug 2005 19:24:34 +0200 Subject: [Gambas-user] Bug in .18 gambas version In-Reply-To: <0D37A5B2.296EE2B4.001B903D@...87...> References: <0D37A5B2.296EE2B4.001B903D@...87...> Message-ID: <200508311924.35042.gambas@...1...> On Tuesday 30 August 2005 23:54, Wsouzap at ...87... wrote: > Hi! > I?m have x.12 gambas installed in my machine and update to x.18. > When i open my form the object is more bigs. > > Reguards, > > Souza, Wellington > when using the ** development ** version, you have to read the ChangeLog carefully! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 31 19:28:20 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 31 Aug 2005 19:28:20 +0200 Subject: [Gambas-user] Editor Control Insert function problem In-Reply-To: <200508300740.52181.gambas@...1077...> References: <200508300740.52181.gambas@...1077...> Message-ID: <200508311928.20405.gambas@...1...> On Tuesday 30 August 2005 13:40, Alex Schaller wrote: > Hello! > > I was trying to us the insert function to put some text in the editor > control: > > Editor1.Insert("Hello", 1, 1) > > and I get the Too many Arguments error. > You have to do move the cursor before: Editor1.Goto(1, 1) Editor1.Insert("Hello") > Also, the old Editor control had a pos function which would position the > cursor at a specific character in the document (very helpfull in my > project). The Editor characters are now referenced by line and row everywhere. You should not have to use an absolute position. What are you doing exactly? > I am sure I can recreate the functionality of the pos function I'm not sure :-) As code can be highlighted *and* rewritten (not in custom mode at the moment), an absolute position can lose its meaning without any warning... > but if you plan on providing it again I will wait. > > B.t.w I figured out the custom highlighting feature of the new editor > control and it rocks. > > GREAT JOB Benoit !!!!!! Thanks :-) -- Benoit Minisini mailto:gambas at ...1... From massenpost at ...1093... Wed Aug 31 19:59:11 2005 From: massenpost at ...1093... (Peter Lang) Date: Wed, 31 Aug 2005 19:59:11 +0200 Subject: [Gambas-user] Cannot see letters on breakpoints Message-ID: <200508311959.11454.massenpost@...1093...> Hi List, today i installed Version 1.9.18 from linex.org on Debian Sid. Now when i set a breakpoint, or when im in the debugger, the current line or the lines with breakpoints cannot be read, means i can see no letters! In the Preferences Dialog, when i click on such a line, the text appears, but is hidden again if i click on an other line. I tried different Colorthemes, changed the Color manually, but always the same. The Editing Line (with the light background) is not affected. Any suggestions are welcome, i don't know if this is my Comp or is it Gambas? Sid is somehow unstable this time :) Thanks to all Gambas Developers and Contributers for this fine Piece of Software. Peter -- http://learn.to/quote Free as in Freedom From kztyrvlq at ...966... Wed Aug 31 20:00:21 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 31 Aug 2005 15:30:21 -0230 Subject: [Gambas-user] Strange Code on Paste Message-ID: <4315F035.9020705@...966...> Wednesday, 31 August 2005 Good Day All . . . I was cutting and pasting some text in 1.0.10. The text was about TRY and OPEN a file and was about 12 lines long. When I pasted the text into my code the following showed up. The original code was replaced also by this. { TextBox1 TextBox Move(0,0,248,32) Font = Font["14"] Text = ("") } My text bears no relationship the above. I think something went wrong. I CTRL+Z until the original text showed up and I tried to reproduce the problem but I was unsuccessful. FYI. Thanks. Paul From bernieman at ...977... Wed Aug 31 23:46:54 2005 From: bernieman at ...977... (BernieMan) Date: Wed, 31 Aug 2005 23:46:54 +0200 Subject: [Gambas-user] Using the Network-Component Message-ID: <4316254E.9000100@...977...> Hi all, Is it possible to read the source-code of a website directly in a textarea, via Network-Component? If this is possible, can somebody give me an example. thanx for the help bm