Re: [Gambas-user] simple answer

2013-04-20 Thread Jussi Lahtinen
This method is unreliable. I think form.show gives just some CPU time for GUI, but not necessarily enough. I tested your code with Xubuntu 12.04, and it didn't work. See my reply to the original thread. Jussi On Sat, Apr 20, 2013 at 12:21 PM, bill-lancaster wrote: > Simple answer! > > form_op

[Gambas-user] Simple

2013-04-20 Thread bill-lancaster
Thanks Fabien & Bruce for the ideas -- View this message in context: http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728p41734.html Sent from the gambas-user mailing list archive at Nabble.com. -- Precog

Re: [Gambas-user] simple answer

2013-04-20 Thread Fabien Bodard
yes you must to enforce the form showing. or you can us the form_show event too, maybe 2013/4/20 bill-lancaster > Simple answer! > > form_open >form.show >run process > end > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728

[Gambas-user] simple answer

2013-04-20 Thread bill-lancaster
Simple answer! form_open form.show run process end -- View this message in context: http://gambas.8142.n7.nabble.com/Form-open-simple-question-tp41728p41729.html Sent from the gambas-user mailing list archive at Nabble.com. ---

Re: [Gambas-user] simple web page viewer scrolling problem

2012-10-09 Thread PM47
Thanks for your reply. In the current application I want a web page 'viewer', not a web page 'browser'. The display is a small seven inch touchscreen mounted on our lounge wall used to select music and radio stations for our home media system (also written in Gambas3 :-). The web pages to be displ

Re: [Gambas-user] simple web page viewer scrolling problem

2012-10-09 Thread Benoît Minisini
Le 09/10/2012 09:18, PM47 a écrit : > In order to prevent the family using the display as a browser I've > set the 'tabBrowser.enabled' property to false. What's the problem exactly with the normal WebView (with Enabled=True)? -- Benoît Minisini

[Gambas-user] simple web page viewer scrolling problem

2012-10-09 Thread PM47
I've recently started using Gambas 3 and like it a lot (I've used Visual Basic for many years). So far I've programmed a custom touchscreen Music Jukebox front end for my home media centre that works great with albums and internet radio stations. I want to add a simple web page viewer, not a full

[Gambas-user] simple feature request

2011-11-05 Thread richard terry
Hi benoit, simple request which would improve accessing help. When the properties box in the IDE is open, the on-line help pops up for the control, over which at the moment there is a popup menu go back, go forward or reload. Would it be possible to have these options added to the menu: 1) op

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 20:29, Benoît Minisini wrote: >> On 21/05/11 20:02, Benoît Minisini wrote: >> My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Benoît Minisini
> On 21/05/11 20:02, Benoît Minisini wrote: > >> My main form has a list view which allows the user to open a new form > >> for each of the items when they double-click on a row, but if the detail > >> form is already open then all I want to do is bring it to the "top". > >> > >> Achieving this is

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 18:23, Caveat wrote: > Hi Bruce > > 1. > I'd suggest you have a startup module that you use to 'manually' open > the forms. Keep track of the detail forms you've opened in a Collection > or array. If you raise an event from the 'main' form when the user > clicks on a detail line, you

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
On 21/05/11 20:02, Benoît Minisini wrote: >> My main form has a list view which allows the user to open a new form >> for each of the items when they double-click on a row, but if the detail >> form is already open then all I want to do is bring it to the "top". >> >> Achieving this is being fouled

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Benoît Minisini
> My main form has a list view which allows the user to open a new form > for each of the items when they double-click on a row, but if the detail > form is already open then all I want to do is bring it to the "top". > > Achieving this is being fouled by: > 1) is there a collection/list/whatever

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Caveat
Hi Bruce 1. I'd suggest you have a startup module that you use to 'manually' open the forms. Keep track of the detail forms you've opened in a Collection or array. If you raise an event from the 'main' form when the user clicks on a detail line, you can handle it appropriately in your module...

[Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Bruce Bruen
My main form has a list view which allows the user to open a new form for each of the items when they double-click on a row, but if the detail form is already open then all I want to do is bring it to the "top". Achieving this is being fouled by: 1) is there a collection/list/whatever of all the

Re: [Gambas-user] simple question about components

2010-03-13 Thread Fabien Bodard
this may interest you : http://sourceforge.net/mailarchive/forum.php?thread_name=201003111358.20675.gam...@users.sourceforge.net&forum_name=gambas-user 2010/3/13 Ian Haywood : > I have a third-party component that I want to use in a project. > > I have installed the .gambas file to ~/.local/lib/g

[Gambas-user] simple question about components

2010-03-12 Thread Ian Haywood
I have a third-party component that I want to use in a project. I have installed the .gambas file to ~/.local/lib/gambas3 Running the main project with gbx3 directly finds this file and works fine, Opening the same project in the IDE doesn't work: it can't find the control How do I tell the IDE w

[Gambas-user] simple postgres create user question

2009-09-07 Thread richard terry
Something simple - I can do the equivalent of this this in a pgadmin window: CREATE USER "FRED"' PASSWORD 'password' in ROLE whatever; and it keeps the caps of FRED I alwasy end up with lower case letters for the user name when I pass the query to postgres even if the logon_name here is "F

Re: [Gambas-user] Simple code editor question

2009-07-12 Thread Benoît Minisini
> Is it possible to have more than one command on a line using some syntax > > eg instead of > > do something > if error then >do_something_else >return > end if > > write this lik > > do something > if error then do_somethingelse : return (or syntax works) > > Regards > > Richard > No, i

[Gambas-user] Simple code editor question

2009-07-11 Thread richard terry
Is it possible to have more than one command on a line using some syntax eg instead of do something if error then do_something_else return end if write this lik do something if error then do_somethingelse : return (or syntax works) Regards Richard

Re: [Gambas-user] Simple file dialog question

2009-04-06 Thread Benoît Minisini
> If you select a file using a file dialog and get back dialog.path, is there > any instant way to ret extract just the file name on the end of a long path > without having to do any parsing? > > thanks > > Richard > File.Name(TheLongPath) ? -- Benoît ---

[Gambas-user] Simple file dialog question

2009-04-06 Thread richard terry
If you select a file using a file dialog and get back dialog.path, is there any instant way to ret extract just the file name on the end of a long path without having to do any parsing? thanks Richard -- This SF.net em

Re: [Gambas-user] simple replace question

2009-03-04 Thread Benoît Minisini
> Bruce schrieb: > > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: > >> newString = Conv(st, "UTF-8", "ASCII") > >> > >> Replace(st, "½", ".5") > > > > Thanks RW, > > > > That got me started at least. > > > > So far: > > TRY wx = Conv(lp1[5], "UTF-8", "ASCII") > > TRY wx = Re

Re: [Gambas-user] simple replace question

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, Rolf-Werner Eilert wrote: > Bruce schrieb: > > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: > >> newString = Conv(st, "UTF-8", "ASCII") > >> > >> Replace(st, "½", ".5") > > > > Thanks RW, > > > > That got me started at least. > > > > So far: > > TR

Re: [Gambas-user] simple replace question

2009-03-04 Thread Rolf-Werner Eilert
Bruce schrieb: > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: >> newString = Conv(st, "UTF-8", "ASCII") >> >> Replace(st, "½", ".5") > > Thanks RW, > > That got me started at least. > > So far: > TRY wx = Conv(lp1[5], "UTF-8", "ASCII") > TRY wx = Replace(wx, "½", ".5") >

Re: [Gambas-user] simple replace question

2009-03-04 Thread Rolf-Werner Eilert
Bruce schrieb: > On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: >> newString = Conv(st, "UTF-8", "ASCII") >> >> Replace(st, "½", ".5") > > Thanks RW, > > That got me started at least. > > So far: > TRY wx = Conv(lp1[5], "UTF-8", "ASCII") > TRY wx = Replace(wx, "½", ".5") >

Re: [Gambas-user] simple replace question

2009-03-04 Thread Bruce
On Thursday 05 March 2009 01:34:29 Rolf-Werner Eilert wrote: > newString = Conv(st, "UTF-8", "ASCII") > > Replace(st, "½", ".5") Thanks RW, That got me started at least. So far: TRY wx = Conv(lp1[5], "UTF-8", "ASCII") TRY wx = Replace(wx, "½", ".5") TRY wx = Replace(wx, "¼", ".25")

Re: [Gambas-user] simple replace question

2009-03-04 Thread Rolf-Werner Eilert
Bruce schrieb: > On Wednesday 04 March 2009 23:00:00 Stefano Palmeri wrote: > >> Strange. replace(st,"½",".5") works on my system. >> >> Gambas 2.11.1 >> >> Saluti, >> >> Stefano > > Damn! And I still can't get it working. The only thing I've been able to > decipher is that Len(st)=4 not 3. U

Re: [Gambas-user] simple replace question

2009-03-04 Thread Bruce
On Wednesday 04 March 2009 23:00:00 Stefano Palmeri wrote: > Strange. replace(st,"½",".5") works on my system. > > Gambas 2.11.1 > > Saluti, > > Stefano Damn! And I still can't get it working. The only thing I've been able to decipher is that Len(st)=4 not 3. Using gambas 2.9.?? as its the la

Re: [Gambas-user] simple replace question

2009-03-04 Thread Emil Tchekov
Is your string UTF encoded? You should check if your character code is exactly 194 and not wider... 16 Bits perhaps? Any Hex-Viewer will help. regards Emil On Wednesday 04 March 2009 11:55:44 Bruce wrote: > Hi guys, > > I'm trying to convert a string to float. The string contents are "56½". >

Re: [Gambas-user] simple replace question

2009-03-04 Thread Stefano Palmeri
Il mercoledì 4 marzo 2009 11:55:44 Bruce ha scritto: > Hi guys, > > I'm trying to convert a string to float. The string contents are "56½". > I've tried both > > replace(st,"½",".5") and > replace(st, Chr$(194), ".5 ") > > neither helps. > > Any ideas? > > tia > ted > Strange. replace(st,"½",".5"

[Gambas-user] simple replace question

2009-03-04 Thread Bruce
Hi guys, I'm trying to convert a string to float. The string contents are "56½". I've tried both replace(st,"½",".5") and replace(st, Chr$(194), ".5 ") neither helps. Any ideas? tia ted -- Open Source Business Conf

[Gambas-user] Simple Newbie Question - Opening initial Data Form

2008-07-08 Thread NEKey
Very simple question from a new user - please be patient ! The main form is calculating positions, time and distances. I have a sub-form where the start position (initial data) is entered. The main form class file has this; PUBLIC SUB AddData_Click() AddDataForm.Show END which opens the initi

Re: [Gambas-user] Simple question how to select and activate a radiobutton via code

2008-06-23 Thread charlesg
IF gender = "male" THEN RadioButton1male.value=1 rgds -- View this message in context: http://www.nabble.com/Simple-question-how-to-select-and-activate-a-radiobutton-via-code-tp18081327p18084380.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] Simple question how to select and activate a radiobutton via code

2008-06-23 Thread Rob
On Monday 23 June 2008 20:33, jbskaggs wrote: > When I try and use radiobutton_click() > it performs the commands in the radiobuton_click() sub but it does > not show the radiobutton as being "depressed" or selected as if you > had clicked on it with a mouse. You've got it a bit backwards. You n

[Gambas-user] Simple question how to select and activate a radiobutton via code

2008-06-23 Thread jbskaggs
When I try and use radiobutton_click() it performs the commands in the radiobuton_click() sub but it does not show the radiobutton as being "depressed" or selected as if you had clicked on it with a mouse. I have also tried radiobutton.setfocus that did not do it either. Simply put: when the