Re: [lazarus] Strange IDE behavier

2005-10-01 Thread Mattias Gaertner
On Sat, 01 Oct 2005 01:09:34 +0200 Micha__ Wojtaszek [EMAIL PROTECTED] wrote: Hello I have strange problem (as always :)) When I place visible element on form it not show up in form editor. What type of control? I can select it by clik on place when is should by, i can change its

[lazarus] Re: Graphics basics on gtk

2005-10-01 Thread Felipe Monteiro de Carvalho
Andrew Haines wrote: I used fmod a while back and it has the ability to output VU levels. I just put the paint methods in a timer event and used a TPanel to draw on. I'm not sure if this would work for you. What is VU? I am using a Analigic-to-Digital conversor witch can handle up to 200

[lazarus] Re: Graphics basics on gtk

2005-10-01 Thread Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote: and put a: PaintBox.Repaint; on a separate timer that is slower. This method is really terrible. There is an awful lot of flickering ... Does anyone know a better method to redraw the content of the canvas?

[lazarus] Re: Graphics basics on gtk

2005-10-01 Thread Felipe Monteiro de Carvalho
Mattias Gaertner wrote: To avoid flickering: Create a descendent of TCustomControl, call Invalidate and Application.ProcessMessages, in Paint draw to a bitmap and draw the bitmap to the canvas. Thanks, I'll try that. Because a paint will take longer than a 500kHz intervall, you either call

Re: [lazarus] Re: Graphics basics on gtk

2005-10-01 Thread A.J. Venter
The timer problem is non-graphics related. I would like to receive data from the ISA card at 500khz (or I will lose data). But thank you all for your help so far. I will research if there is a way to create a very efficient timer. If not, I'll just use another thread. Felipe, you may also

Re: [lazarus] Bugtracker question

2005-10-01 Thread Vincent Snijders
Darius Blaszijk wrote: Hi, I have added a note to bug 1233, but I did not receive an email notification from this bug. I suppose I need to do that manually somewhere. Could anyone please advise. http://www.lazarus.freepascal.org/mantis/account_prefs_page.php N.B. You don't get notifications

[lazarus] dbgrid update: new dgColumnMove option

2005-10-01 Thread Jesus Reyes
A new option dgColumnMove was implemented for dbgrid, basically it does the same as goColMoving: it allows the user to enable or disable the moving (using the mouse) of columns. I have implemented dbgrid option dgColumnMove instead of an extra option because it's basically what dgColumnResize is:

[lazarus] Re: Graphics basics on gtk

2005-10-01 Thread Felipe Monteiro de Carvalho
Mattias Gaertner wrote: To avoid flickering: Create a descendent of TCustomControl, call Invalidate and Application.ProcessMessages, in Paint draw to a bitmap and draw the bitmap to the canvas. I tryed to create a TCustomControl descendent, but I can't seam to see it on the screen no matter

[lazarus] Re: Graphics basics on gtk

2005-10-01 Thread Felipe Monteiro de Carvalho
A.J. Venter wrote: Felipe, you may also want to look at gamepack, which provides a double-buffered drawing component as well as sprite support. Mail me off-list if you want the details. Sounds very interesting. TDoubleBuffer seams very similar to what I am trying to do. I must be doing a

Re: [lazarus] Re: Graphics basics on gtk

2005-10-01 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: I tryed to create a TCustomControl descendent, but I can't seam to see it on the screen no matter what I do ... Can anyone help me (again)? Here is how I create it: procedure TfrmPrincipal.FormCreate(Sender: TObject); begin Tela := TTela.Create(Self);