[Lazarus] Exception dialog

2009-03-16 Thread Michael Van Canneyt
Hello, Is there a reason why the default exception dialog has a cancel button to kill the application ? We often use an exception to signal wrong entry of data or so, because it stops all further processing. If the user then uses the cancel button, the program is simply ended, which is not

Re: [Lazarus] Exception dialog

2009-03-16 Thread Paul Ishenin
Michael Van Canneyt wrote: Is there a reason why the default exception dialog has a cancel button to kill the application ? We often use an exception to signal wrong entry of data or so, because it stops all further processing. If the user then uses the cancel button, the program is

Re: [Lazarus] Exception dialog

2009-03-16 Thread Graeme Geldenhuys
On Mon, Mar 16, 2009 at 3:14 PM, Michael Van Canneyt michael.vancann...@wisa.be wrote: Is there a reason why the default exception dialog has a cancel button to kill the application ? I have been wondering that for 5 years (since I moved from Delphi), but was to shy to ask. ;-) Regards, -

Re: [Lazarus] Exception dialog

2009-03-16 Thread Samuel Herzog
Oh, good point to discuss about the use of exceptions. I use exceptions only for really unexpected things. That a user will sometimes input wrong data must be expected by a programmer so I do not treat this as an exception. With unexpected things I mean all the things that are outside my code.

Re: [Lazarus] Exception dialog

2009-03-16 Thread Sergei Gorelkin
Michael Van Canneyt пишет: Hello, Is there a reason why the default exception dialog has a cancel button to kill the application ? We often use an exception to signal wrong entry of data or so, because it stops all further processing. If the user then uses the cancel button, the

[Lazarus] Unable to realize GdkWindow

2009-03-16 Thread Roland Turcan
Hello lazarus project! this error shown in Linux 32bit up-to-date SVN with GTK2: ERROR in LCL: TGtkDeviceContext.SetWidget: Unable to realize GdkWindow Creating gdb catchable error: $086ECC48 RAISEGDBEXCEPTION, line 1497 of /usr/local/share/lazarus/lcl/lclproc.pas $08819C33

[Lazarus] Unable to use method AdvancedCustomDrawItem and AdvancedCustomDrawSubItem

2009-03-16 Thread YanChengyuan
Sorry for my bad englist. i declared lv as TListView. lv's viewstyle is vsReport,and i was going to place a progressbar on a column,and that is what a downloader usually looks like.but whatever i did there is no progressbar on the lv(TListView).Can anybody tell me why? Here are my codes: Unit

[Lazarus] Where are the manuals?

2009-03-16 Thread YanChengyuan
hey all! lazarus is free and useful,and i'm glad with that. but where are the manuals? i do have read some books on Delphi Programming ,but they are for newbies,and talked about things like TEdit,TLabel only.how come that i know how to use things like TIPHtmlPanel,THtmlBrowserHelpViewerand things

Re: [Lazarus] Where are the manuals?

2009-03-16 Thread Henry Vermaak
2009/3/16 YanChengyuan yanchengy...@gmail.com: hey all! lazarus is free and useful,and i'm glad with that. but where are the manuals? there are some here: http://lazarus-ccr.sourceforge.net/docs/ i do have read some books on Delphi Programming ,but they are for newbies,and talked about

Re: [Lazarus] Exception dialog

2009-03-16 Thread Alexander Klenin
On Mon, Mar 16, 2009 at 23:44, Paul Ishenin webpi...@mail.ru wrote: Michael Van Canneyt wrote: Is there a reason why the default exception dialog has a cancel button to kill the application ? We often use an exception to signal wrong entry of data or so, because it stops all further

Re: [Lazarus] Where are the manuals?

2009-03-16 Thread matt shaffer
Yes, examples are useful if there are no docs and you should look at them. I got a tiphtmlpanel to work in my project by ripping some example source code. What you can also do is type in the component name followed by a period, then variables and functions will pop up. That's also a useful way to

Re: [Lazarus] Where are the manuals?

2009-03-16 Thread Reenen Laurie
And sometimes ctrl-clicking (left) on the function/procedure gives you insight into the interface... and then ctrl-up-arrow you can even check the code implementation... 2009/3/16 matt shaffer dazappa.m...@gmail.com Yes, examples are useful if there are no docs and you should look at them. I

Re: [Lazarus] Unable to use method AdvancedCustomDrawItem and, AdvancedCustomDrawSubItem

2009-03-16 Thread Benito van der Zander
lv's viewstyle is vsReport,and i was going to place a progressbar on a column,and that is what a downloader usually looks like. It is not possible to place a TProgressbar in a listview. (item.data does nothing, it's for user defined data independent of the LCL) What you have have to do is to

Re: [Lazarus] Where are the manuals?

2009-03-16 Thread Felipe Monteiro de Carvalho
We are writting a book about it, but it's not yet ready ... -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Where are the manuals?

2009-03-16 Thread Hans-Peter Diettrich
YanChengyuan schrieb: lazarus is free and useful,and i'm glad with that. but where are the manuals? i do have read some books on Delphi Programming ,but they are for newbies,and talked about things like TEdit,TLabel only.how come that i know how to use things like

Re: [Lazarus] Where are the manuals?

2009-03-16 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: We are writting a book about it, but it's not yet ready ... How can I contribute? DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Exception dialog

2009-03-16 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: Is there a reason why the default exception dialog has a cancel button to kill the application ? An unhandled exception IMO is due to some software bug, which the user cannot cure in any way. We often use an exception to signal wrong entry of data or so,

[Lazarus] including lazarus svn revision number

2009-03-16 Thread Brad Campbell
G'day all, When I'm compiling an app I can include all my fpc details with {$I %Rhubarb%}. Is there an easy way I can include the current lazarus svn revision in my compiled applications? I looked at parsing $lazdir/ide/revision.inc, but I wonder if there is a better way I'm missing? Regards,