[MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread wahono sri
At line 5432 : if int1 0 then begin it should be : if int1 = 0 then begin Because it always ignore first row. Thanks -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications.

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread wahono sri
Changed in git master e8f1d49de2fc18b898d662cd19a4b2cf3ada3a1e, thanks. BTW, I don't like the one-based FPC recno, I think it should be zero-based. What do you think? I think zero-based is OK such as array concept. --

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread Julio Jiménez
Hi. Array concept zero-based? not in objectpascal. Why the first element must be 0? You usually think first=1, second=2 first=0? I know there are lots of arguments about starting in 0 or 1 or whatever and I don't want to start a 'war' because it.. My point of view is to follow fpc/fcl

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread Martin Schreiber
On Wednesday 11 April 2012 10:23:37 Julio Jiménez wrote: Hi. Array concept zero-based? not in objectpascal. Why the first element must be 0? You usually think first=1, second=2 first=0? All indexes in FPC dynamic arrays are null-based, TList indexes are null based, direct data access

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread Graeme Geldenhuys
On 11 April 2012 10:40, Martin Schreiber wrote: All indexes in FPC dynamic arrays are null-based, TList indexes are null based, direct data access in tmsebufdataset is null-based. BTW, do you know tmsebufdataset.currentas* property?. I assume one-based recno is a relict from

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread Julio Jiménez
I have found this link where there is a talk about it. http://www.mail-archive.com/lazarus@miraclec.com/msg06970.html 2012/4/11 Graeme Geldenhuys graemeg.li...@gmail.com On 11 April 2012 10:40, Martin Schreiber wrote: All indexes in FPC dynamic arrays are null-based, TList indexes are

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread Sieghard
Hallo Martin, Du schriebst am Wed, 11 Apr 2012 09:09:42 +0200: BTW, I don't like the one-based FPC recno, I think it should be zero-based. What do you think? That's the distinction between _counting_ and _numbering_. Do you count 0, 1, 2...? Probabely not. How do you number things? Doesn't

[MSEide-MSEgui-talk] dbstringgrid

2012-04-11 Thread Patrick Goupell
In a dbstringgrid widget I can adjusted (during design) the column widths by placing the cursor at the separator between 2 columns, pressing and holding the mouse button and dragging the column to make it wider or narrower. Are there options that can be set to allow the user to do the same

Re: [MSEide-MSEgui-talk] dbstringgrid

2012-04-11 Thread Martin Schreiber
On Thursday 12 April 2012 03:16:43 Patrick Goupell wrote: In a dbstringgrid widget I can adjusted (during design) the column widths by placing the cursor at the separator between 2 columns, pressing and holding the mouse button and dragging the column to make it wider or narrower. Are there

Re: [MSEide-MSEgui-talk] Bug in msebufdataset.pas

2012-04-11 Thread Martin Schreiber
On Wednesday 11 April 2012 21:42:13 Sieghard wrote: Hallo Martin, Du schriebst am Wed, 11 Apr 2012 10:40:40 +0200: All indexes in FPC dynamic arrays are null-based, TList indexes are null based, direct data access in tmsebufdataset is null-based. BTW, do you Which are direct take-overs