Re: [Gambas-user] New in Gambas Farm: A gridview with automatic row height

2017-03-16 Thread Michael Layland
Thank you! This was something on my 'Wish List' :-) Michael On 03/16/2017 03:55 AM, Jorge Carrión wrote: > Hi > I've upload to Gambas Farm a new control that I called hGrid (the "h" of > "Height" and yes, I know that h usually means "handle&qu

Re: [Gambas-user] Unable to create .deb installs for Ubuntu / Mint

2015-11-05 Thread Michael Perryman
Thanks it fixed that problem, but now producing other errors to prevent the packages being created.. I will investigate those now. Michael On 5 November 2015 at 15:26, Benoît Minisini wrote: > Le 05/11/2015 16:16, Michael Perryman a écrit : > > Using the Gambas 3.7 versions on Mint 1

[Gambas-user] Unable to create .deb installs for Ubuntu / Mint

2015-11-05 Thread Michael Perryman
ot; The following is displayed. Saving CHANGELOG file. == CREATING PACKAGE FOR UBUNTU / KUBUNTU / MINT Making build directory. Creating desktop file... Sources are being debianizated. Creating package... cd '/home/michael/data/GambasInstal

[Gambas-user] Balloon.Info on TrayIcon

2015-02-11 Thread Michael A. Capone
s, perhaps in the form of TrayIcon.Balloon.Info? Or, is there a way to do that that I'm not familiar with yet? Thanks so much! Michael -- Dive into the World of Parallel Programming. The Go Parallel Website, spons

[Gambas-user] 'GTK_IS_WIDGET (widget)' failed Only after installing Gambas3.6.0

2014-10-17 Thread Michael Perryman
This afternoon I saw Gambas 3.6.0 available as as an update, & installed it. My program was working without problems using Gambas 3.5. It has a form with 4 text labels, 4 test boxes, 2 buttons, & a progress bar. As soon as the form loads I get the following error message in the console. The mes

Re: [Gambas-user] Webview editing problem

2013-12-02 Thread Michael Hart
On 29/11/13 09:39, michael wrote: > I have written a small project which is intended to test editing an html page > (I would like to create a wysiwyg markdown editor). I have attached a copy. I > am having trouble with editing the html programattically > (http://gambasdoc.org/help

[Gambas-user] Webview editing problem

2013-11-28 Thread michael
mine (eg Ctrl C, typing etc.). I am using Debian 7 Gnome, with Gambas 3.4.1 which I installed from source (the repo version 3.1.1 is too old for another program I have written). Any Ideas ? Thank you Michael. Gambas3_HtmlEditor.tar.gz Description: GNU Zip

[Gambas-user] Paint an image

2013-11-24 Thread Michael Kuyumcu
Dear list members, in my program I seemingly cannot get an image to be painted. I have a DrawingArea called "fr". In memory I keep an image named "img". In my form code, I declare public img as image In the Form_Open handler, I instantiate "img" with img = New Image(fr.Width, fr.Height

Re: [Gambas-user] ARM debugging - where to start?

2011-09-08 Thread Joe Michael
On Tue, 2011-09-06 at 13:12 +0200, Benoît Minisini wrote: > > Hi, > > > > I have an ARM based Genesi Smarttop unit which runs Ubuntu 10.10 and it > > has Gambas version 2. When Gambas starts up gbx2 runs, consumes all > > resources > > in a big loop. If I start with it in command line, I get no o

[Gambas-user] ARM debugging - where to start?

2011-09-06 Thread Joe Michael
Hi, I have an ARM based Genesi Smarttop unit which runs Ubuntu 10.10 and it has Gambas version 2. When Gambas starts up gbx2 runs, consumes all resources in a big loop. If I start with it in command line, I get no output - zip. No clues what could be going on. I left a message in their forum http

Re: [Gambas-user] Font in the add breakpoint textbox

2011-03-13 Thread Michael
I can't find this textbox. I have a Toggle Breakpoint menu and a Tooltip but no text box. AM I missing something? Michael On 13/03/11 22:22, richard terry wrote: > Meaning to ask this for a while - the font in this text box is quite small on > my machine - is it my machine or is

Re: [Gambas-user] displaying mysql query result into gridview

2011-03-11 Thread Michael
Nugroho, Sorry, I just cut and pasted some existing code. You can delete the reference to LoadChargeCombos. This is a local routine to populate some combo boxes. The rest of your code should work fine. Best Wishes Michael On 12/03/11 13:35, Nugroho Al Gopar wrote: > Hi Michael > > I&

Re: [Gambas-user] displaying mysql query result into gridview

2011-03-09 Thread Michael
have got your recordset (rsCharges) from the Db. You ned to check how many rows are need in the grid and set this. Then populate each row and column as above. Regrads Michael Davies On 10/03/11 15:36, Nugroho Al Gopar wrote: > I have learn how to connect mysql through gambas and make simple

Re: [Gambas-user] dumb date question

2011-02-28 Thread Michael
If dt1 > dt2 then end if Dates are stored as numbers. The most recent date will be the largest number. Regards Michael On 01/03/11 14:10, richard terry wrote: > I never can figure out the simple things > > If I have 2 dates and want to find if one is more recent than the other,

Re: [Gambas-user] gb.db.form driver missing

2011-02-16 Thread Michael
a main menu form for any future projects. Regards Michael On 17/02/11 07:43, tobias wrote: > good evening, > i'm testing gb.db.form for some time now and got some confusing (in fact > it is not that confusing, i can imagine the situation): i have a simple > form form->datasource-

Re: [Gambas-user] svn automation scripts

2011-01-30 Thread Michael
John, here is a list of commands which somebody gave me as a newbie. It just gets the updates not the whole source code. sudo -i cd trunk svn update ./reconf ./configure -C make Regards Michael On 31/01/11 13:57, John Spikowski wrote: > List, > > I'm a little late to the party

Re: [Gambas-user] ListView with spaces help

2011-01-29 Thread Michael
SInce a SHELL command must exclude spaces then put it into your listview without spaces. If you want to include spaces for readability then remove them when you pass to SHELL: ListView.Current.text.Replace(" ", "") Regards Michael On 30/01/11 06:17, Nicolas Koch wrote:

Re: [Gambas-user] Further news on valuebox bugs in Gambas3

2011-01-21 Thread Michael
is an intended feature or a bonus but it is certainly handy and worth documenting. This option was just what I was looking for. Regards Michael On 22/01/11 02:32, Benoît Minisini wrote: >> Thanks Benoit, >> This is a great improvement. There is only 1 point I don't understand. I &g

Re: [Gambas-user] New MaskBox control

2011-01-06 Thread Michael
thought to mention that the old version needed to be deleted first. Thanks again;-) Regards Michael On 06/01/11 23:43, Jussi Lahtinen wrote: > Did you delete old installation? > > My compilation script: > > #!/bin/sh > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/loc

Re: [Gambas-user] Difference in SpinBox behavior between gb.gtk & gb.qt

2011-01-06 Thread Michael
Vikram, As a workaround you could check the Spinbox.Keydown event and ignore keys if they take the value above 100 Regards Michael On 06/01/11 17:51, vikram wrote: > Hi, > > The SpinBox control when used in an application using the gb.gtk component > allows the user to input val

Re: [Gambas-user] New MaskBox control

2011-01-05 Thread Michael
has a modified date of 2nd Dec 2010. Is this correct? Is there a step in the installation that I have missed? Regards Michael On 06/01/11 04:12, Benoît Minisini wrote: > Hi, > > As an intermediate goal before rewriting the ValueBox control, I have > implemented a MaskBox contro

Re: [Gambas-user] More on Print bugs.

2011-01-01 Thread Michael
Ubuntu and from .NET to Gambas2 and was delighted with the whole process. I think if Gambas3 is released for production in it's current form it will not improve it's reputation. Regards Michael On 02/01/11 06:15, Benoît Minisini wrote: >> Benoit, >> I have investigated print

Re: [Gambas-user] Gambas3 Help Window

2011-01-01 Thread Michael
t Gnome release Regards Michael On 02/01/11 07:53, Benoît Minisini wrote: >> In my machine F1 or Help from IDE shows a window in the very top >> position of screen. >> >> The window is impossible to catch it and move it on screen. >> >> So i cant use

[Gambas-user] More on Print bugs.

2010-12-31 Thread Michael
ent print dialog is displayed with no problems. Anybody else notice this problem and found a solution? -- Regards Michael -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolid

[Gambas-user] Further news on valuebox bugs in Gambas3

2010-12-31 Thread Michael
further clue. When overcoming the problems, by using a Frame or by setting .Arrangement to NONE in Vbox or Panel, the datePicker disappears from the ValueBox. Hope this helps. -- Regards Michael -- Learn how Oracle

Re: [Gambas-user] Gambas3 Printing

2010-12-29 Thread Michael
etup and correctly reflected in the Gambas printer dialog. Regards Michael On 05/12/10 03:06, Benoît Minisini wrote: >> Hi Fabien, >> I've got printing to work ok but positioning objects on the page is >> difficult compared to Gambas2. The Paint.Width and Paint.Height values

Re: [Gambas-user] Gambas 3 advancement

2010-12-29 Thread Michael
ng a large "Height" value and you will see the text bottom aligned. If you now reduce the height of the container in live mode then the text will remain visible. Regards Michael On 20/12/10 03:58, Benoît Minisini wrote: > Hi, > > I have currently the feeling that I have to cor

Re: [Gambas-user] Porting Gambas 2 projects to Gambas 3

2010-12-29 Thread Michael
When going to this link I get "This documentation page does not exist in version 2.0." Regards Michael On 25/12/10 01:07, Fabien Bodard wrote: > the good link is : http://gambasdoc.org/help/doc/gb2togb3 > > > --

Re: [Gambas-user] What has happened to ValueBox

2010-12-18 Thread Michael
g your suggestion to use the LAST.Parent to get the object name. I am attaching a screenshot of the properties of the LAST Valuebox. You will see it shows name as "TextBox" and Parent as "Panel". I shall wait for the revised version. ValueBox.png Regards Michael On 18/12/1

Re: [Gambas-user] What has happened to ValueBox

2010-12-17 Thread Michael
Thanks. I'll be off air for 2 weeks due to moving house. I look forward to getting latest version in 2011. Regards Michael On 18/12/10 04:24, Benoît Minisini wrote: >> Benoit, >> On the line "Dim txtTemp as Valuebox = LAST" I get an error "Expecting >&

Re: [Gambas-user] What has happened to ValueBox

2010-12-17 Thread Michael
ub Value_LostFocus() Dim txtTemp As ValueBox = Last'MUST CHANGE TO TextBox in Gambas3 txtTemp.Background = Color.White Select Case txtTemp.Name 'Gambas 3 returns "textbox" Case "txtDaysGas" Regards Michael On 1

[Gambas-user] What has happened to ValueBox

2010-12-17 Thread Michael
reventing repetitive code but this functionality appears to have gone. I must write similar code for each TextBox_GotFocus event. Regards Michael On 17/12/10 18:58, wally wrote: > On Thursday 16 December 2010 22:42:14 Benoît Minisini wrote: >>> On Thursday 16 December 2010 20:15:21

Re: [Gambas-user] Gambas 3 Printing

2010-12-15 Thread Michael
This exploits my newness to Linux. How do I find out this version. I did a file search and found a lot of gtk-2.0 folders under "/etc/" and under "/python". Does this help. I am also using Ubuntu 10.10 64bit. Is GTK an acronym for Gnome? MyGnome version is 2.32.0 Regards M

Re: [Gambas-user] Gambas 3 Printing

2010-12-13 Thread Michael
gards Michael On 14/12/10 11:36, Benoît Minisini wrote: >> Benoit >> Is there any movement on this printing issue yet? Either by fixing the >> print dialog or allowing setting in code? >> >> Regards >> Michael >> > Well, it works on my machine, so I don

Re: [Gambas-user] Gambas 3 Printing

2010-12-13 Thread Michael
Benoit Is there any movement on this printing issue yet? Either by fixing the print dialog or allowing setting in code? Regards Michael On 10/12/10 13:41, Michael wrote: > Benoit, > I am using Rev.3349 and I can set Paper Type and Paper Source but still > cannot set Output Tray, Paper

Re: [Gambas-user] What is the use of Tag property

2010-12-12 Thread Michael
us of the application. If the user tried to close the form you would be aware that data was being changed and you could ask the user if they wanted to save the data before closing. I hope this is clear. Regards Michael On 12/12/10 19:32, Demosthenes Koptsis wrote: > Ok i see. > > i us

Re: [Gambas-user] What is the use of Tag property

2010-12-11 Thread Michael
to take. It's use is purely at the developer's discretion. In a sense it works as a global variable but is better because nobody likes globals. Regards Michael On 12/12/10 01:35, Demosthenes Koptsis wrote: > PROPERTY Tag AS Variant > > Returns or sets the control tag. > > This

Re: [Gambas-user] stop event and gtk

2010-12-11 Thread Michael
untu 10.10 64 bit. Regards Michael On 12/12/10 00:28, Emanuele Sottocorno wrote: > Hi, > having the need to avoid the user closes the form before filling all > fields, I try to intercept the click on the Close Button on Form Title > with the following sub: > > Public Sub Form

Re: [Gambas-user] Gambas 3 Printing

2010-12-09 Thread Michael
( Paint.Begin(hPrinter) causes error. device is already being drawn). The GTK+ library uses the same print dialog as Mozilla Firefox and all the options are enabled when using Firefox. I am using Ubuntu Maverick 10.10 Regards Michael On 09/12/10 21:24, Benoît Minisini wrote: >> Thanks Benoit, >

Re: [Gambas-user] Gambas 3 GTK+ Keystroke Problem

2010-12-09 Thread Michael
ot passed to the textbox. I found it by creating a new form and copying all my controls from the offending form and it worked. Then I used a good old command line 'comm' to compare the files and spotted this difference. Embarrassing! Regards Mike On 09/12/10 18:09, Michael wro

[Gambas-user] Gambas 3 GTK+ Keystroke Problem

2010-12-08 Thread Michael
ext & Key.Text then it will work but this is impractical. I know this must sound ridiculous but any ideas :) PS Also just tested activating Caps Lock and using SHIFT-o. It works, so it is a work around to get a lower case in the textbox. Regards Michael -

Re: [Gambas-user] Gambas 3 Printing

2010-12-08 Thread Michael
t;. I look forward to a fix when available. Regards Michael On 09/12/10 02:16, Benoît Minisini wrote: >> Can anybody please clarify how to generate a new page when printing in >> Gambas 3. I know you have have the Printer.Count value but it appears >> you need to know the numbe

[Gambas-user] Gambas 3 Display problems

2010-12-08 Thread Michael
nents such as labels and text boxes. All the problems can be worked around but it seems a backward step from the Gambas 2 IDE Regards Michael -- What happens now with your Lotus Notes apps - do you make another costly upgrade

[Gambas-user] Gambas 3 Printing

2010-12-07 Thread Michael
initial count value. Similarly, I set the Count value high and then, when my data was exhausted, I tried reducing the Count to the current .hPrinter.Page value but this doesn't help. In Gambas 2 you could just issue a .newpage command when your 'y' value got too big.

Re: [Gambas-user] First look at Gambas 3

2010-12-04 Thread Michael
libraries as they seem to duplicate each other. Is it just personal choice? I used QT in Gambas 2 as I needed the Printer object but I switched to GTK in Gambas3. Regards Michael On 05/12/10 03:21, Benoît Minisini wrote: > > All font size "+1,-1,+2..." are relative to the default

Re: [Gambas-user] Gambas3 Printing

2010-12-04 Thread Michael
s 300) Also in the hPrinter.Configure() dialog I cannot set all the printer options, specifically 'Orientation' is disabled. I set it in code with hPrinter.Orientation = Printer.Landscape but the Paint component still outputs in Portrait mode. Would appreciate any assistance. Regards Mi

Re: [Gambas-user] Gambas3 Printing

2010-12-03 Thread Michael
mixture of pixels and mm so a lot of conversion is necessary. I'll keep trying. SHould I call .Fill after every .Text or should I call .Fill only after all the text has been written? Regards Michael On 04/12/10 01:19, Fabien Bodard wrote: > Private hPrint As New Printer As "Printer&

[Gambas-user] Gambas3 Printing

2010-12-03 Thread Michael
0.10 with gb.gtk and gb.Cairo components). Regards Michael Public myP As New Printer As "myP" Public Sub Menu2_Click() Dim blnOk As Boolean If Not myP.Configure() Then blnok = myP.Print() Paint.Begin(myP) Endif Catch Message.Error(Error.

Re: [Gambas-user] First look at Gambas 3

2010-12-03 Thread Michael
in Gambas 2 for it's printer and draw library but I can switch to GTK in Gambas3 as soon as I work out how to use the new print facilities. Regards Michael On 03/12/10 14:53, Michael wrote: > Benoit, > The output from Valgrind is attached. I added the leak-check option to >

Re: [Gambas-user] First look at Gambas 3

2010-12-03 Thread Michael
Gambas3. THis is the only reason I can think of but it seems illogical that Gambas would read your theme when installed and never update it. I await Benoit's comments with much interest. Regards Michael On 03/12/10 19:41, Rolf-Werner Eilert wrote: > Just reading by... > >> resolution.

Re: [Gambas-user] First look at Gambas 3

2010-12-02 Thread Michael
Thanks Benoit, This enabled me to run in the IDE. I still have other mods to do as the components do not fit on the form but I will work on this. The error#11 did not happen with the V2.0 project. I started Gambas 3, select File/New Project/QT4. Get a project with FMain. Press F5 and runs ok. CL

[Gambas-user] First look at Gambas 3

2010-12-02 Thread Michael
I have been successfully running Gambas 2.2.1 and have just successfuly installed V3. using: $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ I loaded a V2 project into V3 and it wouldn't run.Error was "Bad form file version in class...". I modified all my form fil

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread Michael
Benoit, The IsXXX functions confused me because when testing IsNumber("123") I got an error similar to "Expected number got a string". It seems you needed to know the type before testing for it. I therefore do not use it. However I believe new versions of software should be backward compatible

Re: [Gambas-user] Gambas 2 and Databound controls

2010-11-22 Thread Michael
Barnett, Declare your connection as Public in Form1 (or in a module) and then refer to it from any other form as Form1.MyConnection. In your Project/Properties/Options you may need to ensure that "Module Symbols" and "Form Controls" are set to public. Regards Mike On 23/11/10 14:47, Barnett Wint

Re: [Gambas-user] About help and arrays and variables

2010-11-19 Thread Michael
Zelimir, I have spent years in VB6 and VB.Net and C#.Net. I have just recently switched to Gambas2 and it is very rewarding. It doesn't have the full range of facilities of VB.Net but in many instances it is easier to work with and any shortcomings can be overcome. It's fun! Haven't tried Gambas

Re: [Gambas-user] SUb Routines with a return value

2010-11-19 Thread Michael
gt;> return something to the code that called it. If you don't, "PUBLIC SUB xy()" >> is >> enough. >> >> Yes, and Gambas 2 and 3 can live together on the same machine. >> >> >> Am 19.11.2010 13:33, schrieb Michael: >>> I have been usin

Re: [Gambas-user] SUb Routines with a return value

2010-11-19 Thread Michael
s a sub ! > > > > > 2010/11/19 Michael: >> I have been using popup menus for the first time and got the following >> from the Gambas help. >> "PUBLIC SUB Action_Activate(key AS String) AS Boolean" >> >> I assumed this was an error as only func

[Gambas-user] SUb Routines with a return value

2010-11-19 Thread Michael
I have been using popup menus for the first time and got the following from the Gambas help. "PUBLIC SUB Action_Activate(key AS String) AS Boolean" I assumed this was an error as only functions have a return value so I changed it "Public Function...". Then on my line "mnuPopup.Popup()" it got an

Re: [Gambas-user] Problem with data types

2010-11-14 Thread Michael
Thanks Benoit, The help page for gb.mysql says it is not available for Gambas2 but it doesn't matter as one of the beauties of Gambas, it is always possible to find a way around problems. When can we expect V3 generally available? Regards Mike On 14/11/10 22:05, Benoît Minisini wrote: >> I am p

[Gambas-user] Problem with data types

2010-11-13 Thread Michael
I am porting all my vb.net apps to gambas and I am very happy with the results, particularly the gb.db component. However it does have some limitations: 1. I need to determine the type of database columns using irsData.Fields[intCounter].Type. This works fine for strings, floats, integers and d

Re: [Gambas-user] SelectAll feature

2010-11-11 Thread Michael
I am using Gambas2 and the .SelectAll feature when a textbox gets focus. It works perfectly on my Ubuntu 64 bit. I am using the GB.qt components. Regards Mike On 12/11/10 07:19, Demosthenes Koptsis wrote: > The SelectAll is for the Gambas2 application, not a mine one. > > This feature is missing

Re: [Gambas-user] Gridview Select Multiple rows.

2010-11-05 Thread Michael
Thanks Fabien, I found it eventually but don't you feel silly when it's staring you in the face Michael On 06/11/10 00:27, Fabien Bodard wrote: > Le 5 novembre 2010 13:26, Benoît Minisini > a écrit : >>> Sorry, this does not work. It only applies to the ListView

Re: [Gambas-user] Gridview Select Multiple rows.

2010-11-05 Thread Michael
reset these flags as appropriate. Regards Michael On 05/11/10 18:09, user wrote: > Example with ListView control lswResults > > --- > ' Gambas class file > PRIVATE sFileArray AS String[] = [""] > PRIVATE iKeyArray AS Integer[]

Re: [Gambas-user] Gridview Select Multiple rows.

2010-11-05 Thread Michael
Thanks, I will give this a try. Michael On 05/11/10 18:09, user wrote: > Example with ListView control lswResults > > --- > ' Gambas class file > PRIVATE sFileArray AS String[] = [""] > PRIVATE iKeyArray AS Integer[] =

[Gambas-user] Gridview Select Multiple rows.

2010-11-04 Thread Michael
I'm a newbie to Gambas and very impressed. Managed to solve all my queries and port apps from VB. However I have one problem that has me beat:) I have a GridView with Mode = Multiple and can select multiple rows; either sequentially or at random. So far so good as similar to VB. I want to loop th

[Gambas-user] Embedded XTerm

2010-05-19 Thread Michael Asher
ication. Wait 1 Me.Delete DoEmbedIntArray = Desktop.FindWindow("", XTermClassStr, "") Debug DoEmbedIntArray.Count Endif If chooseProtocol.Index = 2 Then Shell "xterm -e telnet " & i