[Gambas-user] gb3: Call trace in debug

2009-12-12 Thread Kadaitcha Man
I've seen it somewhere, but can I find it in gb3? Nooo. Is there a call trace window when debugging in gb3? If there is, how do I display it? I'm trying to debug some events and can't tell where a call to a routine is originating from.

Re: [Gambas-user] Workaround for LEN()

2009-12-12 Thread Kadaitcha Man
2009/12/13 Norarg : > Still it would be nice to hear from someone about this, I do not find > this solution good. I assume it has something to do with the characterset, > but I can > not really figure it out. Simonart Dominique: "Use the String class methods and all will works as you expected."

Re: [Gambas-user] Event handler in descendent class

2009-12-12 Thread bbb888
Benoît Minisini wrote: > >> Is there a way for a specialised class to have an event handler for an >> event raised in the base class? >> >> Specifically in this case I have a scaffolding class "workCodeTableItem" >> that inherits "CodeTableItem", adds a few scaffold attributes and I have >>

Re: [Gambas-user] Event handler in descendent class

2009-12-12 Thread Benoît Minisini
> Is there a way for a specialised class to have an event handler for an > event raised in the base class? > > Specifically in this case I have a scaffolding class "workCodeTableItem" > that inherits "CodeTableItem", adds a few scaffold attributes and I have > now found that one of these attribu

[Gambas-user] Event handler in descendent class

2009-12-12 Thread bbb888
Is there a way for a specialised class to have an event handler for an event raised in the base class? Specifically in this case I have a scaffolding class "workCodeTableItem" that inherits "CodeTableItem", adds a few scaffold attributes and I have now found that one of these attributes needs to

Re: [Gambas-user] LEN()

2009-12-12 Thread Norarg
Simonart Dominique schrieb: > Hi, > > Len() function is based on one-byte character, but some > characters need 2 bytes code, like the german's you mentionned. > > Use the String class methods and all will works as you expected > > HTH > Dominique Simonart > > Norarg a écrit : > >> hi, >> >> I

[Gambas-user] Workaround for LEN()

2009-12-12 Thread Norarg
don't get any mails today, it seems. I solved the LEN()-problem with a not very pretty function. ' Workaround LEN()-Function PUBLIC FUNCTION SetLenght(txt AS String, leng AS Integer) AS String DIM L AS Integer DIM T1 AS String DIM T2 AS String T1 = "" L = 0 DO WHILE L < leng L =

Re: [Gambas-user] LEN()

2009-12-12 Thread Simonart Dominique
Hi, Len() function is based on one-byte character, but some characters need 2 bytes code, like the german's you mentionned. Use the String class methods and all will works as you expected HTH Dominique Simonart Norarg a écrit : > hi, > > I get a bit strange results from the LEN()-function. >

[Gambas-user] LEN()

2009-12-12 Thread Norarg
hi, I get a bit strange results from the LEN()-function. If there are characters like the German Umlaute in the string (äöüÄÖÜß), the result just does not fit. It seems to me, that LEN("ä") gives back 2 instead of 1, is this possible? I fill up a string with spaces for a more (or less) formatted

Re: [Gambas-user] menu button events Q

2009-12-12 Thread Rolf Schmidt
Hello Richard > Regarding keeping bookmarks, is there an accepted place to put them?, or > just a settings file? There are a lot of possibilities: 1. A file in the home directory - perhaps as xml-file 2. In a sqlite database as firefox do it, also as a file in the home directory 3. In a LDAP data