Re: [lazarus] GTK2 Help [OT]

2008-02-08 Thread ik
Hi, If you can, try to install debian instead (Sorry, I just don't like RH distro's thy sucks imho) ;) You should know that with yum you must first clean the repository cache, and then read it again (as I said, they sucks). The best way is to add a new repository with your rpm's made for centos

Re: [lazarus] My first GUI Application

2008-02-08 Thread ik
Wow, cool application. What version of Asterisk does your manager works with ? Ido On Feb 8, 2008 7:41 AM, Lee Jenkins [EMAIL PROTECTED] wrote: I've written several console/daemon apps with Lazarus/Freepascal, but this is my first GUI app that really does anything and aside from some

Re: [lazarus] My first GUI Application

2008-02-08 Thread ik
On Feb 8, 2008 3:43 PM, Lee Jenkins [EMAIL PROTECTED] wrote: ik wrote: Wow, cool application. What version of Asterisk does your manager works with ? Ido Thanks guys, I'm on Asterisk 1.2.12 here at my office, but I'd assume that it would work on 1.4 as well. I don't think

Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
Hi, On Debian bases system (I don't know on others) there is an alternative that known as x-www-browser that holds the default web browser. On Feb 7, 2008 12:18 PM, Antonio Sanguigni [EMAIL PROTECTED] wrote: Hi all, I'm trying to create an hyperlink component but I'm having some difficult to

Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
2008/2/7 wile64 [EMAIL PROTECTED]: See also environnement variable $BROWSER under linux On my machine it is not set (Kubuntu 7.10 amd64)... -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php Ido --

[lazarus] Lazaus and inc files

2008-02-01 Thread ik
Hi, I've created a binding using a several inc files, and it seems that Lazarus does not even try to complete code inside such files, not even defenitions inside the inc file such as records. Is it on purpose or there wasn't any supplements to such files ? Thanks, Ido --

Re: [lazarus] Production quality crosss platform applications

2008-01-28 Thread ik
On Jan 28, 2008 7:13 PM, Sergio Samayoa [EMAIL PROTECTED] wrote: Hi. Has someone already put into production lazarus applications which are cross platform? I have a small propriety application that works well in Linux and Windows that I wrote using LNet and Lazarus that helps me to make

[lazarus] FPDoc tooltip

2008-01-25 Thread ik
Hi, I noticed that I can view comments that where added above a function on lazarus as FPDoc, however, it ignores line breaks inside the comment, and does not wrap text. So I wonder if there is a way to configure this, and/or if there is (like in Eclipse) a tab/window that can display it

Re: [lazarus] OpenMoko and FPC/Lazarus

2008-01-21 Thread ik
Thank you for the information :) Ido On Jan 20, 2008 10:12 PM, Luca Olivetti [EMAIL PROTECTED] wrote: En/na ik ha escrit: For someone that does not know arm cpus, what are oabi and eabi ? oabi (I don't think that's the proper definition, anyway o stands for old) is the previous arm binary

Re: [lazarus] Sound in Lazarus applications

2008-01-16 Thread ik
Hi, I've binded libsndfile, and you can use it as well : http://ik.homelinux.org/index.rhtml/projects/fpc/sndfile On Jan 16, 2008 10:38 AM, Adrian Maier [EMAIL PROTECTED] wrote: Hello , Did anyone integrate sound capabilities into a Lazarus application ? (in a cross-platform way :-D )

[lazarus] OpenMoko and FPC/Lazarus

2008-01-16 Thread ik
Hi, While google suggest rewards for developing applications for Android, there is an open source firmware named OpenMoko (http://openmoko.org/). I asked Michael Shiloh what are some of the requirement in building apps in different compilers (FPC to be exact, and I also mentioned Lazarus :)).

Re: [lazarus] Native debugger

2008-01-15 Thread ik
On Jan 15, 2008 11:00 PM, Vincent Snijders [EMAIL PROTECTED] wrote: Al Boldi schreef: Cesar Liws Gmail wrote: Check out http://sourceforge.net/projects/mseide-msegui It's got a nicely integrated debugger, AFAIK, it is also a front end to GDB. complete with CpuView and integrated

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
Do you have LHTTPClientError event ? If not, please make sure you have and try to show any given error... BTW, do you use a sniffer to see how your request is transferring ? Ido On Jan 13, 2008 10:55 AM, wfifi [EMAIL PROTECTED] wrote: some url can get data(example: http://www.google.com/ ),

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
/1/13, ik [EMAIL PROTECTED]: Do you have LHTTPClientError event ? If not, please make sure you have and try to show any given error... BTW, do you use a sniffer to see how your request is transferring ? Ido On Jan 13, 2008 10:55 AM, wfifi [EMAIL PROTECTED] wrote: some url

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
192.168.1.100: 3617 - 58.251.57.69: 80 TTL=128 A- bytes= 40 2008/1/13, ik [EMAIL PROTECTED]: On Jan 13, 2008 1:26 PM, wfifi [EMAIL PROTECTED] wrote: yes, i have a LHTTPClientError event. no error occurred, it looks like program called HTTPClientProcessHeaders, then no data

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
a pointer as a string... The way to convert PChar to a string is to use the function StrPas I believe that it will solve the problem. Ido 2008/1/13, ik [EMAIL PROTECTED] : I can't see the content, and from quick googeling, i see that it's a known communication sniffer in china / In tcpdump

[lazarus] The Lazarus components

2008-01-12 Thread ik
Hello, For a while now I'm trying to figure out how to write proper component (and also to solve problems of specific components) in Lazarus. One of the component I wish to create is a general Calendar component that will allow me the ability to register different set of dates ... For example

Re: [lazarus] Module viewer Controller

2007-12-27 Thread ik
On Dec 27, 2007 7:52 AM, Marc Santhoff [EMAIL PROTECTED] wrote: Am Dienstag, den 25.12.2007, 11:02 +0200 schrieb ik: Thank you all for answering. Good to see that other people have needs to ease their development :) I see: my capability of giving unwanted answers is as sophisticated

Re: [lazarus] Working with different versions of lazarus

2007-12-27 Thread ik
On Dec 27, 2007 12:55 PM, Mattias Gaertner [EMAIL PROTECTED] wrote: On Thu, 27 Dec 2007 11:27:03 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Sat, 22 Dec 2007 13:23:11 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: On Dec 21, 2007

Re: [lazarus] Module viewer Controller

2007-12-25 Thread ik
Thank you all for answering. Good to see that other people have needs to ease their development :) Ido On Dec 24, 2007 4:39 PM, [EMAIL PROTECTED] wrote: Quoting ik [EMAIL PROTECTED]: Hello, I do not know if Lazarus or fpc-pascal is the right malling list... Anyway, I'm looking

[lazarus] Module viewer Controller

2007-12-23 Thread ik
Hello, I do not know if Lazarus or fpc-pascal is the right malling list... Anyway, I'm looking for an implementation of MVC for FPC/Lazarus. Does anyone knows about any implementation of that technique in FPC/Lazarus ? Thanks, Ido -- http://ik.homelinux.org/

Re: [lazarus] Working with different versions of lazarus

2007-12-22 Thread ik
On Dec 21, 2007 12:27 AM, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: Hello, My stable version of lazarus is 0.9.24, however I do check Lazarus svn from time to time, and usually I change the .lazarus directory depends on the version I wish to check. Is there a way to tell

Re: [lazarus] XML Config

2007-12-22 Thread ik
Try this: cfg: TXMLConfig.Create(nil); cfg.Filename := 'myconfig.xml'; Ido On Dec 22, 2007 10:42 PM, Igor Pokorny [EMAIL PROTECTED] wrote: Hello friends, I would like to know how to open existing XML file for TXMLConfig. Thomas Zastrow's tutorial suggests to use cfg :=

[lazarus] Working with different versions of lazarus

2007-12-20 Thread ik
Hello, My stable version of lazarus is 0.9.24, however I do check Lazarus svn from time to time, and usually I change the .lazarus directory depends on the version I wish to check. Is there a way to tell Lazarus to store information regarding he specific version I'm using instead of working like

[lazarus] public variable and gdb

2007-12-14 Thread ik
Hello, I'm not sure if this is the right malling list, or not... Anyway I'm using FPC 2.2.0 and Lazarus 0.9.24 on Linux. I have a public variable (that is accessed by several methods on specific events), but when I try to debug my code, gdb gives me (inside Lazarus) the following error: No

Re: [lazarus] MySQL Queries using Lazarus

2007-12-12 Thread ik
On Dec 12, 2007 2:39 PM, John [EMAIL PROTECTED] wrote: Joost van der Sluis wrote: Op woensdag 12-12-2007 om 22:51 uur [tijdzone +1100], schreef John: ik wrote: One small note, you have an SQL injection at your code. I recommend you to use parameters as how to add the values, but prior

Re: [lazarus] MySQL Queries using Lazarus

2007-12-11 Thread ik
One small note, you have an SQL injection at your code. I recommend you to use parameters as how to add the values, but prior to that, you should check to see if there are invalid chars, and trim them. That way, you can avoid a lot of problems. Ido On Dec 12, 2007 1:54 AM, el stamatakos [EMAIL

Re: [lazarus] Bad news

2007-11-12 Thread ik
On Nov 12, 2007 4:01 PM, Giuliano Colla [EMAIL PROTECTED] wrote: 12 12 ha scritto: Not really bad news. I, for myself, would never have paid the full price for a useless license, but 300$ to get the souvenir of once a great thing now dying, to put in a frame, hang to the wall, and show

Re: [lazarus] Delphi Source/Samples/*.pas units

2007-10-30 Thread ik
On 10/30/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: To ALL developers, I got confirmation from Dave Nottage on the borland non-technical newsgroup that ALL source code included in Delphi are copyright material, including the sample units. Only files mentioned in the deploy text file as

Re: [lazarus] Anybody using FVWM window manager?

2007-10-24 Thread ik
On 10/24/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 24/10/2007, ik [EMAIL PROTECTED] wrote: I believe this is a feature of FVWM (I never used it for a long time though, so I'm not sure). The title is a new window that is attached to your window at X11 protocol. So I believe

Re: [lazarus] Type definition issues

2007-10-19 Thread ik
Hi, On 10/19/07, Vladimir Aksenov [EMAIL PROTECTED] wrote: Hi, i'm trying to compare some Delphi based sources with Lazarus and failed Seems that i found the reason, but couldnt overcome it. it seems that its in type definition mechanism of FPC (maybe its tunable but i've no ideas

[lazarus] Synedit syntax highlight

2007-10-11 Thread ik
Hello, Is there a guide or example with comments that explains how to create syntax highlight to SynEdit ? And does SynEdit support multiple syntax highlight in one source ? That is for example, PHP with CSS Javascript and HTML all in one syntax highlighter ? Thanks, Ido --

[lazarus] Converting Delphi component to Lazarus

2007-10-06 Thread ik
Hi, Long ago (in 2003) I developed the following component : http://cc.codegear.com/Item/19974 . I wish to convert it to Lazarus and to make it platform based. That is, also make it use X (and might be also for other platforms). My questions are: 1. What do I need to know in order to convert it

Re: [lazarus] UTF-8 vs UTF-16 support

2007-10-05 Thread ik
On 10/5/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Fri, 05 Oct 2007 16:00:41 +0800 Paul Ishenin [EMAIL PROTECTED] wrote: Graeme Geldenhuys wrote: Does this mean UTF-8 was chosen only because it is more compatible with existing pascal programs? Any other reasons? Is UTF-16

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-01 Thread ik
Hi, I'm using my memory here, so I might remember it wrongly... There is a difference between a scan code, and the actual char. to know the actual char, you need to know what is the language layout that you are at. There is an X debug program to know what scan code was pressed and it's value (i

Re: [lazarus] Syntax parser vs compiler

2007-09-23 Thread ik
Thank you, it does work :) Ido On 9/22/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Sat, 22 Sep 2007 12:58:33 +0200 ik [EMAIL PROTECTED] wrote: On 9/22/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Sat, 22 Sep 2007 12:33:57 +0200 ik [EMAIL PROTECTED] wrote: Hi

Re: [lazarus] UTF-8 input handling

2007-09-22 Thread ik
On 9/21/07, zaher dirkey [EMAIL PROTECTED] wrote: I wonder how could Right-To-Left work on the code editor. You mean Right-To-Left in SynEdit, Especially in strings and comments. I think mixing LTR and RTL in same text will be complex to read it. That's why people invented Bidi

Re: [lazarus] UTF-8 input handling

2007-09-22 Thread ik
Oh, I forgot to add the links :) http://unicode.org/reports/tr9/ http://unicode.org/faq/bidi.html On 9/22/07, ik [EMAIL PROTECTED] wrote: On 9/21/07, zaher dirkey [EMAIL PROTECTED] wrote: I wonder how could Right-To-Left work on the code editor. You mean Right-To-Left in SynEdit, Especially

[lazarus] Syntax parser vs compiler

2007-09-22 Thread ik
Hi, I'm using Lazarus (latest svn version) with GTK2, FPC 2.2.0, on linux amd64. I have written in a class (mode of objfpc), a class function and the syntax parser of Lazarus keep on having the following error: ### TCodeToolManager.HandleException: identifier expected, but class found at

Re: [lazarus] Syntax parser vs compiler

2007-09-22 Thread ik
On 9/22/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Sat, 22 Sep 2007 12:33:57 +0200 ik [EMAIL PROTECTED] wrote: Hi, I'm using Lazarus (latest svn version) with GTK2, FPC 2.2.0, on linux amd64. I have written in a class (mode of objfpc), a class function and the syntax parser

[lazarus] GTK2 on Windows

2007-09-20 Thread ik
Hello, I'm looking for a way to make a GTK2 based program that will also be executed on Windows (using GTK2). I could not find any reference for GTK2 to be able to execute under Windows (I mean using Lazarus). Does Lazarus have a support for GTK2 in Windows ? Thanks, Ido --

[lazarus] Lazarus with GTK2 and Hebrew

2007-09-13 Thread ik
Hi, I have very recently (two days ago) rebuilt Lazarus (svn) with GTK2, and made some tests with it. So even if you do not know Hebrew, you can still look at the screen shout :) http://idkn.blogli.co.il/archives/82 Thank you, Ido -- http://ik.homelinux.org/

Re: [lazarus] FPC 2.2 article made it onto OSNews.com

2007-09-11 Thread ik
On 9/11/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Nicely done Joost! http://www4.osnews.com/story/18592/Cross-Platform_Development_with_Free_Pascal_2.2.0 ... or a shorter link: http://tinyurl.com/ywzyvr I have translated the article to Hebrew, if there are anyone that interested :)

Re: [lazarus] FPC 2.2 article made it onto OSNews.com

2007-09-11 Thread ik
On 9/11/07, Giuliano Colla [EMAIL PROTECTED] wrote: ik ha scritto: On 9/11/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Nicely done Joost! http://www4.osnews.com/story/18592/Cross-Platform_Development_with_Free_Pascal_2.2.0 ... or a shorter link: http://tinyurl.com/ywzyvr

Re: [lazarus] Lazarus and QT4

2007-09-01 Thread ik
On 9/1/07, zeljko [EMAIL PROTECTED] wrote: On Friday 31 August 2007 22:46, ik wrote: Hi, I'm using Lazarus with QT4 from latest revision (11893) using fpc 2.1.4 on amd 64 linux. The latest work on the QT4 really works much better, however there is one big problem: The keyboard when

Re: [lazarus] Critical BUG in TBits class!

2007-08-31 Thread ik
Hi Please see my code inline On 8/31/07, 12 12 [EMAIL PROTECTED] wrote: I tried to include sophisticated unit with math operations into my project. The unit worked fine in Delphi. But in Lazarus it get error when call TBits.SetSize(0): Invalid bit index -1. I go to implementation of method

Re: [lazarus] Critical BUG in TBits class!

2007-08-31 Thread ik
On 8/31/07, Skybuck Flying [EMAIL PROTECTED] wrote: - Original Message - From: ik [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Friday, August 31, 2007 11:01 AM Subject: Re: [lazarus] Critical BUG in TBits class! Hi Please see my code inline On 8/31/07, 12 12 [EMAIL

[lazarus] Lazarus and QT4

2007-08-31 Thread ik
Hi, I'm using Lazarus with QT4 from latest revision (11893) using fpc 2.1.4 on amd 64 linux. The latest work on the QT4 really works much better, however there is one big problem: The keyboard when the editor is in place is really slow, and it takes a second or two to see any result back. Is

Re: [lazarus] utf8toansi and others seem don't work

2007-08-23 Thread ik
On Latin chars and every ANSI char (that is 255 chars) you will never notice the difference because the number of bytes... Please note that UTF-8 is up to 4 bytes per char. Ido On 8/23/07, fedorax [EMAIL PROTECTED] wrote: Hello, Whith actuals versions of lazarus this fonction: For i:=0

Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread ik
Hi Vincent, When I'm trying to get the repository, apt is unable to have it: Get:5 http://www.hu.freepascal.org lazarus-stable Release.gpg [191B] Ign http://www.hu.freepascal.org lazarus-stable/universe Translation-he Are there any rules for locales on your http server ? Anyway my locales (if

Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread ik
I'm guessing, but it might be because I'm using amd64 and there is only a directory for i386, that it can't find and just ignore the repository or something ... Ido On 8/18/07, Vincent Snijders [EMAIL PROTECTED] wrote: ik schreef: Hi Vincent, When I'm trying to get the repository, apt

Re: [lazarus] Unicode support and fonts

2007-07-16 Thread ik
On 7/16/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, I was studying more about the unicode support, and I compiled my lcl for the partial unicode support available and tryed to run one form with 1 button, 1 label and 1 edit, with this code: procedure TForm1.Button1Click(Sender:

Re: [lazarus] international dates

2007-06-02 Thread ik
Hi Michael, Does your unit also calculate the week from the first day to the last day according to the system ? For example, here Sunday is the first day of the regular week, while on Europe and the US, it's Monday. I wrote once a Delphi extension for such calculation without using the OS API,

[lazarus] Lazarus translations

2007-05-22 Thread ik
Hi, There used to be a place where I could paced the compiled po files, so the translation will take be applied. I'm unable to locate such place for my additional translation. What am I missing ? Ido -- http://ik.homelinux.org/ _

Re: [lazarus] Image from SQL

2007-05-16 Thread ik
to give a very fast diagnostic for any problem (sometimes without direct access at all) and to solve it. I found out that it's easier to fix database that stores images using base64 text blobs then binary. Graeme. Ido On 5/15/07, ik [EMAIL PROTECTED] wrote: Many of the database backup

Re: [lazarus] Image from SQL

2007-05-16 Thread ik
On 5/16/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 16 May 2007, ik wrote: On 5/16/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: What DBMS where you using? Firebird has no such issue. I store loads of PNG and JPG images in binary Blob fields. Backup and Restore works

Re: [lazarus] Image from SQL

2007-05-16 Thread ik
Hi, Why not to use the FPC's unit of BASE64 ? it works on streams. Or am I missing something ? Ido On 5/16/07, A.J. Venter [EMAIL PROTECTED] wrote: So - second attempt at implementing it... same sad result - only now the XPM fails as well... This is my now somewhat improved code... am I

Re: [lazarus] Image from SQL

2007-05-15 Thread ik
with binary blob including backups and restores ... Ido On Tue, 2007-05-15 at 17:26 +0300, ik wrote: Many of the database backup and restore tools backup the data as sql dump. The binary image can not be restored as-is in that sql dump. I had a problem once that an hardrive collapse, and when I

Re: [lazarus] Image from SQL

2007-05-15 Thread ik
, apart from IMP/EXP and new (for 10g) data pump, you can use RMAN and other database methods. I don't known much about postgres but I guess has nice backup utilities. If you are too lazy to learn how really your RDBMS works don't recommend bad practices. -Mensaje original- De: ik [mailto

Re: [lazarus] rotated text

2007-05-13 Thread ik
Hi, Try the following code : ... uses ... GTK, gdkpixbuf ... function gdk_pixbuf_rotate_simple(pixbuf : PGdkPixbuf; angle : longint) : PGdkPixbuf; external 'libgdk-x11-2.0.so' name 'gdk_pixbuf_rotate_simple'; Ido On 5/13/07, Fujimaki Haruyuki [EMAIL PROTECTED] wrote: ik wrote

Re: [lazarus] Lazarus Character map and UTF

2007-05-12 Thread ik
Hi, I have few questions for you : 1. What UTF (7,8,16,32) ? 2. What font are you using to display, and what GUI toolkit (GTK1.2,QT, GTK2 ...) ? 3. What is the GUI toolkit that your lazarus is using (same as the above) ? 4. How did you add the char, and what is it's type (Char, String,

Re: [lazarus] Lazarus Character map and UTF

2007-05-12 Thread ik
Hi, GTK1.2 does not support Unicode and UTF8 charset at all, only latin1. And AFAIK it's deprecated and not under development anymore. Ido On 5/12/07, Luis R. Hilario B. [EMAIL PROTECTED] wrote: 2007/5/12, ik [EMAIL PROTECTED]: Hi, I have few questions for you : 1. What UTF (7,8,16,32

Re: [lazarus] rotated text

2007-05-12 Thread ik
Hi, On GTK2.6 you can try and use the gdk_pixbuf_rotate_simple () function Ido On 5/12/07, Fujimaki Haruyuki [EMAIL PROTECTED] wrote: Hello, I would like to draw rotated text on TImage.Canvas. In Delphi/Kylix, we have done it with TLogFont/QPainter_rotate. Is there equivalent class or

Re: [lazarus] rotated text

2007-05-12 Thread ik
/12/07, Fujimaki Haruyuki [EMAIL PROTECTED] wrote: ik wrote: Hi, On GTK2.6 you can try and use the gdk_pixbuf_rotate_simple () function Ido Thanks. It seems similar to QPainter_rotate. How can I call the function from FreePascal? I googled, but could not find even an example for C. Haruyuki

Re: [lazarus] po files and utf8

2007-03-31 Thread ik
Hello, There might be two reasons (that I can think of at the moment): 1. The font does not have the right char entry value. 2. Your decoding giving you the wrong values. Ido On 3/31/07, Sebastian Kraft [EMAIL PROTECTED] wrote: anyone can give me some hints? I couldn't solve this in the

Re: [lazarus] Headless sip client?

2007-03-30 Thread ik
Have you tried using it using dcop ? Ido On 3/30/07, Luca Olivetti [EMAIL PROTECTED] wrote: En/na ik ha escrit: Hi, Please try the soft-phone called twinkle (by the house of KDE), or if you simply wish to create tests for SIP, use SIPp (http://sipp.sourceforge.net/). Hi, yes, I normally

Re: [lazarus] Headless sip client?

2007-03-27 Thread ik
Hello, I have a plan to implement both IAX2 and SIP in natural protocol using FPC (at the moment i only have a problem for lack of time) . The implementation will use LNET rather then any havy library. Having said that, now to your questions. Why won't you use softphone rather then usb VOIP

Re: [lazarus] OT: Döner was Re: Ideas to implement AllocateHwnd

2007-02-26 Thread ik
On 2/26/07, Henry Vermaak [EMAIL PROTECTED] wrote: On 26/02/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: One interresting thing is that the most popular brazilian fast food restaurant is called Habib´s , and serves arabian food. The food is somewhat similar, but also not that

Re: [lazarus] Ideas to implement AllocateHwnd

2007-02-25 Thread ik
Hi, Both X and Windows support such actions. On X you can create a window that it's entire porpose is to have events. And as you mentioned, Windows also support such thing. On Windows there is a usage of AllocateHwnd in order to have events for things such as System Tray. But my X programming

Re: [lazarus] XML and ThunderBird

2007-02-10 Thread ik
Hi, Regarding the XML question, the HTML you have posted is a broken XML that is, it is not xhtml, and some tags (such as your br are not closed - br/) Ido On 2/10/07, Nataraj S Narayan [EMAIL PROTECTED] wrote: Hi I am planning to implement Purchase requisition over E-mail, using Thunderbird

Re: [lazarus] Lazarus AMD64 version bug ?

2007-01-17 Thread ik
I also have this problem. If you will look at my email about it, you can find more details what causing it. Ido On 1/18/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: Hello, Clicking the middle mouse button in the Lazarus editor window crashes the IDE with a 'Segmentation fault' if it's

[lazarus] Exception when running Lazarus for QT

2007-01-12 Thread ik
Hi, I compiled lazarus for QT from revision 10433, and when I start Lazarus, it have an exception: An unhandled exception occurred at $00498D48 : ERangeError : Range check error $00498D48 INTERNALINIT, line 850 of graphtype.pp $00498E6D GRAPHTYPE_init, line 861 of

Re: [lazarus] FPC Incompatible types error

2007-01-12 Thread ik
On 1/13/07, Mohamed A. Hammady [EMAIL PROTECTED] wrote: Hi all, I have the following types declaration type LongIntRA = array [1..1] of LongInt; LongIntp = ^LongIntRA; . . . Procedure test; var lLongRA: LongIntp; Pos: Longint; Begin . . . lLongRA[1] := Pos; . . . End; When I

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Sorry for the question, but are you on the right library to use AGI ? The problem

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: ik wrote: On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Sorry

Re: [lazarus] Console app problems

2006-12-30 Thread ik
On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: ik wrote: Good luck, and if you can please share your sources :) Please find attached a simple unit to use for now. I will be finishing the more robust version in a few days (weeks?) as time permits. Cool, a question: repeat; begin

Re: [lazarus] Base64 examples?

2006-12-14 Thread ik
Hi, FPC comes with four Examples: ./fcl/tests/b64enc.pp ./fcl/tests/b64.pp ./fcl/tests/b64test.pp ./fcl/tests/b64test2.pp But the thing is, that there is no difference between TBase64Encoding to any other stream existed. On 12/14/06, Lee [EMAIL PROTECTED] wrote: Hi, Is there any examples

[lazarus] Auto complete inside strings

2006-12-01 Thread ik
Hi, I'm using Lazarus 0.9.20, and when I'm inside a string and write text, I'm getting locked from moving, and having word complete when I'm adding dot. Is this a bug ? If not, how can I disable this behavior when inside a string ? Thanks, Ido -- http://ik.homelinux.org/

[lazarus] TIpHtmlPanel And Streams

2006-11-14 Thread ik
Hi, Has anyone on the list used TIpHtmlPanel and streams as the html and images content ? I'm looking for example on how to do so without rewriting the OpenURL procedure. Thanks, Ido -- http://ik.homelinux.org/ _ To

Re: [lazarus] UTF-8 vs Unicode - Could someone explain?

2006-10-20 Thread ik
On 10/20/06, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Ok, I'll start up front by announcing my ignorance on these two items: UTF-8 and Unicode. After reading some discussions of implementing Unicode/UTF-8 support in Lazarus I thought I would ask. Could someone give the watered down

Re: [lazarus] TBitmap

2006-10-19 Thread ik
On 10/19/06, Chad Crabtree [EMAIL PROTECTED] wrote: I would like to change the icon that shows up on the on the upper left of the form. self.form1.icon := TIcon afaik It will change the icon on run time ... It would be cooler still if the icon showed up over the executable. I know this can

Re: [lazarus] TBitmap

2006-10-19 Thread ik
location that it was created in the first place. const xpm ='/home/ik/gtodo.xpm'; procedure TForm1.Button1Click ( Sender: TObject ) ; begin hide; Icon.LoadFromFile(xpm); show; end; procedure TForm1.Button2Click ( Sender: TObject ) ; var ico : TIcon; begin hide; ico := TIcon.Create

Re: [lazarus] Paste makes Lazarus hangs

2006-10-19 Thread ik
at address 0x8000ffee68d8 ) at interfacebase.inc:42 #29 0x00437d27 in TAPPLICATION__RUN (this=Cannot access memory at address 0x8000ffee6918 ) at application.inc:1008 #30 0x0040fb95 in main () at lazarus.pp:99 On 9/18/06, Andrew Haines [EMAIL PROTECTED] wrote: ik wrote: Hi, I'm

Re: [lazarus] Minimal FPC compiler to compile FPC sources

2006-10-02 Thread ik
On Linux with package manager you can take only the fpc compiler without the rest of the packages ... Ido On 10/2/06, Al Boldi [EMAIL PROTECTED] wrote: Is there a minimal/small (Linux/Windows/...) FPC compiler that can compile FPC from the sources, instead of downloading a fully blown

Re: [lazarus] Send files to trash

2006-10-01 Thread ik
On 10/1/06, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 10/1/06, Arí Ricardo Ody [EMAIL PROTECTED] wrote: I'm writting an application that delete files. Instead of delete them I would like to put them in the trash. How can I send files to trash? I went to www.tamaracka.com and

Re: [lazarus] avoiding multi-instance detection

2006-09-28 Thread ik
Another way, that is easier to control, is to use mutexes. Mutex is a place in memory that is locked until someone free it. So you can check if that place (usually mapped to a name, alto I do not remember at the moment how Linux implement it) exists, and if so, you stop your own execution,

Re: [lazarus] UTF-8 application

2006-09-24 Thread ik
Hi, The problem is not the multi-lingual, but the cross platform... Windows for example keep changing the way it handles languages on each version that is coming out. For example, my language on Windows 95 saved in reverse, on Windows 98, added support for direct as default, on XP, it's pure

Re: [lazarus] How Can Lazarus Generate Excel ?

2006-09-22 Thread ik
Newer Excel (I don't remember from what exact version), have their own *XML* syntax: http://www.microsoft.com/office/xml/default.mspx And it seems that Microsoft try to make it even a standard format :) Ido On 9/22/06, Jonathan Chiu [EMAIL PROTECTED] wrote: Want to prepare some reports(with

[lazarus] Bitmap to ico result in bitmap

2006-09-17 Thread ik
:= TBitmap.Create; Bitmap.LoadFromFile('/home/ik/Desktop/beer.bmp'); Icon_.Width := 32; Icon_.Height := 32; Icon_.Canvas.Draw(0,0, Bitmap); Icon_.SaveToFile('/home/ik/Desktop/beer.ico'); Icon_.Free; Bitmap.Free; end; By reading the content in Hex edit, it seems that the only thing that changed

[lazarus] Paste makes Lazarus hangs

2006-09-17 Thread ik
Hi, I'm using Lazarus from revision 9918 on FPC 2.0.4 on Ubuntu Linux x86_64 with gtk 1.2 (and gnome if that matters). I tried to paste text into Lazarus's editor from the temporary clipboard of X using a mouse. The result caused Lazarus to hang, with high memory usage, and made itself to be

Re: Lazarus and Ajax (was: Re: [lazarus] Database programming)

2006-09-08 Thread ik
On 9/8/06, Adrian Maier [EMAIL PROTECTED] wrote: On 9/8/06, Cesar Romero [EMAIL PROTECTED] wrote: Burkhard Carstens escreveu: Am Freitag, 8. September 2006 01:18 schrieb Adrian Maier: On 9/7/06, Tony Maro [EMAIL PROTECTED] wrote: On that note I'd LOVE to see a series of Lazarus

Re: [lazarus] looking for a xml class/component to play with opendocument

2006-09-07 Thread ik
On 9/7/06, Marc Santhoff [EMAIL PROTECTED] wrote: Am Mittwoch, den 06.09.2006, 09:43 +0200 schrieb Michael Van Canneyt: On Wed, 6 Sep 2006, Marc Santhoff wrote: Am Dienstag, den 05.09.2006, 15:38 +0200 schrieb Graeme Geldenhuys: On 9/5/06, Alexandre Leclerc [EMAIL PROTECTED] wrote:

Re: [lazarus] “CheckBox” with the ReadOnly property?

2006-09-06 Thread ik
You can do the following: const cbxAllowedState = unchecked; procedure Tform1.mycbxonchange (Sender : TObject); begin mycbx.checked := cbxAllowedState; end; That's the easiest way ... now if you have more then one checkbox that you need to make it read only do the following: cbxStates :

Re: Free Pascal widget set

2006-08-19 Thread ik
Graeme, Does the widget also support Unicode and implementation of algorithms such as Bi-Directional inside the components ? Ido On 8/19/06, Graeme Geldenhuys [EMAIL PROTECTED] wrote: The documentation will be online over the weekend. As promised, the documenation for fpGUI (not complete)

Re: [lazarus] Detect if file is written?

2006-08-14 Thread ik
Can you make a program to lock file that is written ? If so, then all you should check is that the file is unlocked... But still remember that the data can be problematic ... Another way is to monitor file for changes... I'd seen few Delphi applications that does that, but I do not remember any

Re: [lazarus] TGraphicControl and Canvas.Width

2006-07-14 Thread ik
On 7/14/06, Graeme Geldenhuys [EMAIL PROTECTED] wrote: A canvas has infinite size. It's just clipped and translated into a certain window. This window (or bitmap) has a certain size, so when querying the canvas you get the size of that. It's normal behaviour. Micha I am no graphics guru

Re: [lazarus] TGraphicControl and Canvas.Width

2006-07-14 Thread ik
On 7/14/06, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 7/14/06, ik [EMAIL PROTECTED] wrote: You should have the ClinetWidth and ClientHeight, that will have different width and height then the canvas one... that's how it done on Delphi. For now I use the self.ClientRect and work from

[lazarus] GDB crash

2006-07-10 Thread ik
Hi, When I try to debug Lazarus on amd64 with ubuntu and the latest FPC (from svn), gdb keeps crashing me with segment fault alto I create lazarus using: make OPT=-dDEBUG Now smaller programs that I try to use gdb, does not have any problem... Any idea whats wrong, or how can I check what's

Re: [lazarus] Lazarus from revision 9555 have AccessViolation

2006-07-04 Thread ik
#5 0x2b4bbdf1 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #6 0x00623528 in ?? () Thanks, Ido On 7/4/06, Mattias Gaertner [EMAIL PROTECTED] wrote: On Tue, 4 Jul 2006 21:20:45 +0300 ik [EMAIL PROTECTED] wrote: Hi, I'm trying to use Lazarus with the latest (for now

Re: [lazarus] Developing Linux application

2006-07-03 Thread ik
Usually Custom applications should be store at /usr/local/share/yourapp or even on /usr/local/lib/ (depands on what you require). You should read the lsb documentation to know better where you should place it. Ido On 7/3/06, Petr Hlozek [EMAIL PROTECTED] wrote: Hi, I'm developing Linux

  1   2   >