Re: [lazarus] News about ending a Lazarus Application with Firebird
Have you tried the following? Replace the variable names with you own. FIBTransaction.Active := false; FDatabase.Connected := false; Graeme. On 06/06/07, Arí Ricardo Ody <[EMAIL PROTECTED]> wrote: Hi Bram! First thank you for you answer. I try both suggestions and the problem remains the same. Then I begin to think about this whole trouble. I remember that I take the project and transmit it to my home and done some tests yesterday night(here are 11:18 AM). Over there, the trouble doesn't occur. I was lazy and do the tests with a local database. I change my TIBConnection here to a local database and bingo! The application begins to end normally. It seems that the trouble occurs only when I put a database located in the windows XP network in my TIBConnection... Does this comment give new ideas? It seems that the connection is not broke when I close the application. Yesterday I tried SQLQuery.Destroy before Self.Close... Cheers _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Field designer
--- Sergio Samayoa <[EMAIL PROTECTED]> escribió: > > I think what you are looking for is the fields property in the > OI. > > I guess OI = Object Inspector. > > Well, I never seen before in Lazarus and don't know if it should > appear > there but my experience in Delphi is: > > - Double click in the dataset component opens "Fields Editor". > - Right click (context menu) in the dataset component then select > "Fields > Editor". > > I dig a little and found a form called fieldseditor and fieldslist > in > \ideint folder, the I guess Lazarus can deal with > persistent > fields, isn't it? > > Regards. > Fields Editor is only implemented in Lazarus for FPC 2.1.X or later versions. Jesus Reyes A. Llama gratis a cualquier PC del mundo. Con una excelente calidad de sonido. http://mx.messenger.yahoo.com/ _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Field designer
> I think what you are looking for is the fields property in the OI. I guess OI = Object Inspector. Well, I never seen before in Lazarus and don't know if it should appear there but my experience in Delphi is: - Double click in the dataset component opens "Fields Editor". - Right click (context menu) in the dataset component then select "Fields Editor". I dig a little and found a form called fieldseditor and fieldslist in \ideint folder, the I guess Lazarus can deal with persistent fields, isn't it? Regards. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] I can delete embedded components from inside a component
On 06/06/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: > At runtime, moving the splitter arround, doesn't move the TEdit at all. :-( When you drop the TEdit on it, does it set the parent property of the TEdit to the left or right panel? I guess not. Where would I set that? -- Graeme Geldenhuys "General error, hit any user to continue." _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] I can delete embedded components from inside a component
Graeme Geldenhuys schreef: Hi Vincent, That bug report isn't a bug. The wrong component's ControlStyle was set in TtiSplitterPanel. Setting the ControlStyle of the two panels and internal splitter instead of the composite component, solves the selection issue. Thanks, I marked that bug as resolved. I do have another issue though, if you have any tips to share. See attached screenshot. I can drop a component (TEdit in this example) on the TtiSplitterPanel. The TEdit gets clipped on the componet edge correctly, but doesn't actually belong to a panel (left or right) as the images shows. The TEdit goes over the internal TSplitter. At runtime, moving the splitter arround, doesn't move the TEdit at all. :-( When you drop the TEdit on it, does it set the parent property of the TEdit to the left or right panel? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Field designer
On Wednesday 06 June 2007 21:44, Sergio Samayoa wrote: > Hi. > > > > I'm getting into Lazarus again and trying to define persistent fields to > TDataSet. > > I can't "activate" the fields editor. It is a bug or there is some trick to > do that? > > > > I'm using lazarus 0.9.23 with FPC 2.0.4 in WindowsXP sp2 and openSuse 10.2. > > > > Regards. Hi, I think what you are looking for is the fields property in the OI. neal. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Form Designer + TListView bug
On 06/06/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: On 06/06/07, Carlos German Tejero <[EMAIL PROTECTED]> wrote: > Hi, in Lazarus 0.9.23 beta this bug is not present. But I am using 0.9.23 beta. I'm using 0.9.23 beta (r11264) at home and the bug is there. I use an even newer revision at work and the bug is there too. -- Graeme Geldenhuys "General error, hit any user to continue." _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Form Designer + TListView bug
On 06/06/07, Carlos German Tejero <[EMAIL PROTECTED]> wrote: Hi, in Lazarus 0.9.23 beta this bug is not present. But I am using 0.9.23 beta. -- Graeme Geldenhuys "General error, hit any user to continue." _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] I can delete embedded components from inside a component
Hi Vincent, That bug report isn't a bug. The wrong component's ControlStyle was set in TtiSplitterPanel. Setting the ControlStyle of the two panels and internal splitter instead of the composite component, solves the selection issue. I do have another issue though, if you have any tips to share. See attached screenshot. I can drop a component (TEdit in this example) on the TtiSplitterPanel. The TEdit gets clipped on the componet edge correctly, but doesn't actually belong to a panel (left or right) as the images shows. The TEdit goes over the internal TSplitter. At runtime, moving the splitter arround, doesn't move the TEdit at all. :-( Any ideas? Regards, - Graeme - On 06/06/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: While you are at it, do you know a solution for http://www.freepascal.org/mantis/view.php?id=7396 I think tipf is doing something wrong, but I don't have tiopf. Vincent <>
[lazarus] Field designer
Hi. I'm getting into Lazarus again and trying to define persistent fields to TDataSet. I can't "activate" the fields editor. It is a bug or there is some trick to do that? I'm using lazarus 0.9.23 with FPC 2.0.4 in WindowsXP sp2 and openSuse 10.2. Regards.
Re: [lazarus] Form Designer + TListView bug
Hi, in Lazarus 0.9.23 beta this bug is not present. Bye. 2007/6/6, Antonio Sanguigni <[EMAIL PROTECTED]>: Can anybody else confirm this bug? > > Yes Graeme, I had this too. Lazarus 0.9.21 . Slapshot -- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.edupup.org -- Carlos Germán Tejero
Re: [lazarus] Form Designer + TListView bug
Can anybody else confirm this bug? Yes Graeme, I had this too. Lazarus 0.9.21 . Slapshot -- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.edupup.org
Re: [lazarus] TabOrder
Thanks it's work.. okey maybe I will place my component there Thanks Mattias Gaertner <[EMAIL PROTECTED]> wrote: On Tue, 5 Jun 2007 13:32:26 -0700 (PDT) Darmawan Sugiarto wrote: > Hello Guys,... > sorry I'm a newbie in Lazarus Project... > I want to asking some question... > > First, I develop a component > I derived it from TgraphicsControls and I have a problem. I need > property TabOrder abn TabStop. How can I have this property? TGraphicsControls are only graphics and can not get focus. Use TCustomControl or TPaintBox as descendant. > Second, how can I share my component to another Lazarus' programmer > so they can download it's or maybe add some valuable things... See here http://wiki.lazarus.freepascal.org/Deploying_Your_Application and here http://lazarus-ccr.sourceforge.net/#Adding_to_the_Lazarus_Code_and_Component and for an example http://wiki.lazarus.freepascal.org/Pascal_Script Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives =INTOSOFT ALEXIO CHAOS [EMAIL PROTECTED] Yahoo Messager = - Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
Re: [lazarus] I can delete embedded components from inside a component
Graeme Geldenhuys schreef: On 6/6/07, Burkhard Carstens <[EMAIL PROTECTED]> wrote: Set MyLabel.ControlStyle:=MyLabel.ControlStyle+[csNoDesignSelectable]; in TMyPanel.create; Thanks Burkhard! While you are at it, do you know a solution for http://www.freepascal.org/mantis/view.php?id=7396 I think tipf is doing something wrong, but I don't have tiopf. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] FPC Linux Developers wanted
Hi everybody, I'm not sure if I'm allowed to post this here If not, I will not do it again! I have a friend in the UK that needs some FPC Linux developers. They prefer UK-based (boss is really not keen on remote working) developers, but might accept remote working at a pinch if nothing else is available. Details of the job is below. You can contact Andrew Denton (adenton at q-systems dot com) directly for more details. Regards, - Graeme - Original Message Subject: FPC Linux Developers Date: Wed, 6 Jun 2007 14:51:35 +0100 From: Andrew Denton <[EMAIL PROTECTED]> To: Graeme Guldenhuys <[EMAIL PROTECTED]> Hi Graeme, This Linux project looks like it's going to be much more work than anyone thought and we're going to need to get some outside help in. Do you know of anyone specialising in Free Pascal, Linux & QT development that could hire us a body or two? We're developing a replacement for our stand alone ticket printer and it's going to be x86 Linux/touch screen based all booting from flash (no internal hard drive). The boss also wants the option to be able to use the device as a standard touch screen terminal, so we'll initially need to develop a framework that provides the common services, then the ticket printer software (then maybe some other stuff afterwards). Take care, Andy Andrew Denton Product Development Manager Q-Systems (International) Ltd T: +44 870 873 0200 F: +44 870 873 0210 "I want to move to Theory...Everything works in Theory" _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] News about ending a Lazarus Application with Firebird
Hi Bram! First thank you for you answer. I try both suggestions and the problem remains the same. Then I begin to think about this whole trouble. I remember that I take the project and transmit it to my home and done some tests yesterday night(here are 11:18 AM). Over there, the trouble doesn't occur. I was lazy and do the tests with a local database. I change my TIBConnection here to a local database and bingo! The application begins to end normally. It seems that the trouble occurs only when I put a database located in the windows XP network in my TIBConnection... Does this comment give new ideas? It seems that the connection is not broke when I close the application. Yesterday I tried SQLQuery.Destroy before Self.Close... Cheers Ricardo At 03:38 6/6/2007, you wrote: Arí Ricardo Ody wrote: Self.Close; How about Application.Terminate? Or Halt(0); ? Bram _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Form Designer + TListView bug
Hi, I'm running Lazarus (latest svn revision) compiled with GTK1 widgetset under Linux. Steps to reproduce the IDE crash: 1) dropping a TListView on a form. 2) Set the TListView.ViewStyle = vsReport 3) Now click on the column header. Lazarus raises a error: "Index (0) out of bounds" Can anybody else confirm this bug? -- Graeme Geldenhuys General error, hit any user to continue. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: I can delete embedded components from inside a component
Don't worry, I solved the problem, by looking at some of the components on the component pallette. TLabeledEdit to be precise... FLV.ControlStyle := FLV.ControlStyle + [csNoDesignSelectable]; solved the problem. :-) Graeme. On 6/6/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Hi, I know this was answered before, but for the life of me, I can't seem to find any such reference. I created a component that contains other components. For example a TPanel with a TLabel and TEdit embedded inside it. If I drop the composite component on a form, I can delete the embedded TLabel or TEdit and Lazarus crashes. How do I prevent the user from selecting the embedded components? I want a single selection of the composite components as a whole (all acting as one). -- Graeme Geldenhuys General error, hit any user to continue. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] I can delete embedded components from inside a component
On 6/6/07, Burkhard Carstens <[EMAIL PROTECTED]> wrote: Set MyLabel.ControlStyle:=MyLabel.ControlStyle+[csNoDesignSelectable]; in TMyPanel.create; Thanks Burkhard! -- Graeme Geldenhuys General error, hit any user to continue. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] I can delete embedded components from inside a component
Am Mittwoch, 6. Juni 2007 15:06 schrieb Graeme Geldenhuys: > Hi, > > I know this was answered before, but for the life of me, I can't seem > to find any such reference. > > I created a component that contains other components. For example a > TPanel with a TLabel and TEdit embedded inside it. If I drop the > composite component on a form, I can delete the embedded TLabel or > TEdit and Lazarus crashes. > > How do I prevent the user from selecting the embedded components? I > want a single selection of the composite components as a whole (all > acting as one). Set MyLabel.ControlStyle:=MyLabel.ControlStyle+[csNoDesignSelectable]; in TMyPanel.create; regards Burkhard _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] I can delete embedded components from inside a component
Hi, I know this was answered before, but for the life of me, I can't seem to find any such reference. I created a component that contains other components. For example a TPanel with a TLabel and TEdit embedded inside it. If I drop the composite component on a form, I can delete the embedded TLabel or TEdit and Lazarus crashes. How do I prevent the user from selecting the embedded components? I want a single selection of the composite components as a whole (all acting as one). -- Graeme Geldenhuys General error, hit any user to continue. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Automatic unsubscribing?
pineal wrote: On Tuesday 05 June 2007 22:52, Marc Weustink wrote: Is it a bug or there is a sort of automatic unsubscribing if one doesn't write messages to the list for some period of time? No. There are I think 2 reasons why you can get unsubscribed: 1: turn your out of office reply on for this list 2: mail to your account keeps bouncing Marc Hi Marc, I have had this problem too. Is there anyway to discover if mails are being bounced at the miraclec site? I've no access to those logs. Only Michael Hess has. I do wonder if virgin has some really dumb mail filtering rule that checks something like "total mails from same address > 50 = spam". I don't know the total number of subscriptions, but form the adresses I see here (and those I see in Mantis) I don't expect that there will be that many virgin subscriptions Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Help! I'm drowning on lazarus directories!
Vincent Snijders ha scritto: Giuliano Colla schreef: In order to test the "fixes" branch, I've been led to set up quite a number of different working copy directories, from lazarus repository, from locally duplicated repository, for last revision, for released revision, for my updates, etc.. Can someone more knowledgeable point me to where the "Lazarus directory" environment variable is kept? (to avoid to be forced to start twice the IDE each time I switch from one wc to another) Assuming linux: ~/.lazarus/environmentoptions.xml Also take a look at the command line help: --primary-config-path= or --pcp= primary config directory, where Lazarus stores its config files. Default is /home/vsds/.lazarus So, if you don't want to use ~/.lazarus, you set it from the command line. An idea for a simple startup script? That's exactly what I was after. A simple startup script to activate the umpth version without too many headaches. I'll try immediately. Done. Now I have a startmylazarus.sh script wich does the trick. Thanks a lot Giuliano _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Help! I'm drowning on lazarus directories!
Giuliano Colla schreef: In order to test the "fixes" branch, I've been led to set up quite a number of different working copy directories, from lazarus repository, from locally duplicated repository, for last revision, for released revision, for my updates, etc.. Can someone more knowledgeable point me to where the "Lazarus directory" environment variable is kept? (to avoid to be forced to start twice the IDE each time I switch from one wc to another) Assuming linux: ~/.lazarus/environmentoptions.xml Also take a look at the command line help: --primary-config-path= or --pcp= primary config directory, where Lazarus stores its config files. Default is /home/vsds/.lazarus So, if you don't want to use ~/.lazarus, you set it from the command line. An idea for a simple startup script? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Help! I'm drowning on lazarus directories!
In order to test the "fixes" branch, I've been led to set up quite a number of different working copy directories, from lazarus repository, from locally duplicated repository, for last revision, for released revision, for my updates, etc.. Can someone more knowledgeable point me to where the "Lazarus directory" environment variable is kept? (to avoid to be forced to start twice the IDE each time I switch from one wc to another) Thanks in advance Giuliano _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Automatic unsubscribing?
On Tuesday 05 June 2007 22:52, Marc Weustink wrote: > > Is it a bug or there is a sort of automatic unsubscribing if one doesn't > > write messages to the list for some period of time? > > No. There are I think 2 reasons why you can get unsubscribed: > 1: turn your out of office reply on for this list > 2: mail to your account keeps bouncing > > Marc Hi Marc, I have had this problem too. Is there anyway to discover if mails are being bounced at the miraclec site? I do wonder if virgin has some really dumb mail filtering rule that checks something like "total mails from same address > 50 = spam". neal. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Automatic unsubscribing?
On Tuesday 05 June 2007 21:57, Giulio Bernardi wrote: > Hello everybody, > I think I got removed from the mailing list because I didn't receive any > message from the lazarus mailing list since May 23. Now I subscribed again > and it didn't tell me I was already subscribed. > Same thing already happened: > I subscribed for the first time on August 27, 2005 > Last message I received was on October 10, 2006 > I subscribed again on November 25, 2006. > And now, last message I received is dated May 23. > I re-subscribed now. > > Is it a bug or there is a sort of automatic unsubscribing if one doesn't > write messages to the list for some period of time? > > bye, > Giulio > Hi Guilio, Interestingly I had the same problem, although from memory I think it was the 24th May when I stopped getting messages and could not get any Lazarus message to my Virgin.net mail accounts. So on Graeme's advice/suggestion I created a google mail account and that worked fine. Then about 4 or 5 days ago I started getting Laz mail to my still subscribed virgin.net account. I noted that Marc in this thread mentioned a bouncing problem which this seems quite possible to be the problem at the time. hehe, of course virgin say there is nothing wrong with their mail service and it is working correctly. neal. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Graphics32 and Lazarus
On 6/6/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: If you where talking about my screenshot, it is because I cheated. See my previous post. :) Felipe's screenshot uses Graphics32, mine doesn't. This would be possible without cheating in case one implements a lcl-fpgui backend for graphics32 =) -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Graphics32 and Lazarus
On 6/5/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Interesting is the difference in color Green. Felipe, why is your green rectangles so dark? I am using the default RGB color profile from my Macintosh. I would just say that my macintosh transforms my RGB = ($00, $FF, $00) into a darker green. Maybe Carbon does some transformation (based on the color profile) to the data I sent to make it look nicer. fpGUI on the other hand will call X11, and as you know well, X11 does not transform anything (like for example when it expects that you convert manually your picture to whatever the video card wants) =) -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives