[Gambas-user] Detecting a non-UTF character in a string

2014-03-25 Thread bbruen
I get an occasional* error with downloaded data which results in a postgresql update failure with the following error "ERR: Cannot create record: ERROR: invalid byte sequence for encoding "UTF8": 0xc2". I know how to fix that as long as I can detect the bad char in the string. That is what I dont

Re: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key

2014-03-25 Thread T Lee Davidson
On 03/24/2014 08:10 PM, Benoît Minisini wrote: > The ENTER or RETURN key does raise the Save event, but the event is > raised only if needed (i.e. if the cell has been modified). That is how I understood the TableView.Edit method was supposed to behave. However, in my Gambas 3.4.0, it does not.

Re: [Gambas-user] Font array accessors

2014-03-25 Thread Tobias Boege
On Tue, 25 Mar 2014, Beno?t Minisini wrote: > Le 25/03/2014 15:00, Tobias Boege a ?crit : > > Hi, > > > > the Font class (gb.qt4) allows to create Fonts via its _get() method. The > > _get() documentation lists a correct example, the main Font documentation > > page lists a non-working example. The

Re: [Gambas-user] Balloon with negative delay

2014-03-25 Thread Benoît Minisini
Le 25/03/2014 14:49, Tobias Boege a écrit : > On Tue, 25 Mar 2014, Tobias Boege wrote: >> Hi Benoit, >> >> the Balloon class allows negative Delay values and when shown, it stays >> visible for a very short time (maybe some constant delay that the timer >> waits to make one tick - and then it notic

Re: [Gambas-user] Font array accessors

2014-03-25 Thread Benoît Minisini
Le 25/03/2014 15:00, Tobias Boege a écrit : > Hi, > > the Font class (gb.qt4) allows to create Fonts via its _get() method. The > _get() documentation lists a correct example, the main Font documentation > page lists a non-working example. The second one does not work because the > Font properties

[Gambas-user] Font array accessors

2014-03-25 Thread Tobias Boege
Hi, the Font class (gb.qt4) allows to create Fonts via its _get() method. The _get() documentation lists a correct example, the main Font documentation page lists a non-working example. The second one does not work because the Font properties are separated by commas which are occasionally followed

Re: [Gambas-user] Balloon with negative delay

2014-03-25 Thread Tobias Boege
On Tue, 25 Mar 2014, Tobias Boege wrote: > Hi Benoit, > > the Balloon class allows negative Delay values and when shown, it stays > visible for a very short time (maybe some constant delay that the timer > waits to make one tick - and then it notices that it is already in a > negative delay and ra

[Gambas-user] Balloon with negative delay

2014-03-25 Thread Tobias Boege
Hi Benoit, the Balloon class allows negative Delay values and when shown, it stays visible for a very short time (maybe some constant delay that the timer waits to make one tick - and then it notices that it is already in a negative delay and raises the Timer event). Is this an issue or should we