Re: [lazarus] Who needs Unicode controls.

2006-05-18 Thread Micha Nelissen
A.J. Venter wrote: One problem, however, is what to do on Windows 9x and on Gtk 1. We would need to convert utf-8 to iso. But to which iso? A easy solution is to just convert to western european iso. Actually there must be ways of getting the current running environment's preferred character set

Re: [lazarus] how to test my changes in the lcl in a small app?

2006-05-18 Thread DarekM
Alexandre Leclerc napisał(a): I did made some changes to the lcl, but would like to test before posting. But I don't see any effets when compiling my app. There is something I'm missing? do I have to: make clear ? make lcl ? I have open one terminal window and after any changes in LCL do cd /

Re: [lazarus] Request for PR noise !

2006-05-18 Thread DSTRODT
>[EMAIL PROTECTED] writes: >Florian Klaempfl wrote:>>>Lv wrote:>>  >So if you guys want to change the name, where does it leave users like>>>me presenting papers at conferences and citing Lazarus in technical>>>papers as my software of choice?>>>    >>>Nice to hear tha

[lazarus] how to test my changes in the lcl in a small app?

2006-05-18 Thread Alexandre Leclerc
I did made some changes to the lcl, but would like to test before posting. But I don't see any effets when compiling my app. There is something I'm missing? do I have to: make clear ? make lcl ? -- Alexandre Leclerc _ To unsu

Re: [lazarus] Show hint from code

2006-05-18 Thread A.J. Venter
> > Where can I get this component? Does it provide multi-monitor support on > X11? It's in my olpack svn co svn://silentcoder.co.za/lazarus/olpack I think olpack depends on gamepack (same dir) as well (if I remember right). > > I use some very special methods on the magnifier to have multi-monitor

Re: [lazarus] Show hint from code

2006-05-18 Thread Felipe Monteiro de Carvalho
Kina like my ScreenSize component uses two completely different approaches. Under X platforms it uses Xlib calls to get the screen dimensions, under Where can I get this component? Does it provide multi-monitor support on X11? I use some very special methods on the magnifier to have multi-monit

Re: [lazarus] Show hint from code

2006-05-18 Thread Felipe Monteiro de Carvalho
On 5/18/06, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: Also a system to have the display area contain either a caption or a custom control needs to be created. A simple way to do this is by having a TCaption on the display area, and the user can pass an empty text to it, and put it'

Re: [lazarus] Show hint from code

2006-05-18 Thread A.J. Venter
> > Thanks > > It would be nicer to have wole done in GTK2, but that is not urgent, I > > don't need gtk2 for developing it. > > Just tested latest subversion lazarus + trayicon. It's working normally. Not working here: Stack trace include: TApplication.HandleException Access violation Stack trac

Re: [lazarus] Who needs Unicode controls.

2006-05-18 Thread A.J. Venter
> One problem, however, is what to do on Windows 9x and on Gtk 1. We > would need to convert utf-8 to iso. But to which iso? A easy solution > is to just convert to western european iso. Actually there must be ways of getting the current running environment's preferred character set. Under Linux y

Re: [lazarus] Show hint from code

2006-05-18 Thread A.J. Venter
On Friday 19 May 2006 01:02, Felipe Monteiro de Carvalho wrote: > On 5/18/06, A.J. Venter <[EMAIL PROTECTED]> wrote: > > You may well be right, although I have no idea how to do a borderless > > window. My catch is I need this for a project due end of the month - so > > I'll help you anyway I can :

Re: [lazarus] Who needs Unicode controls.

2006-05-18 Thread Felipe Monteiro de Carvalho
On 5/14/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: The question is: should the LCL use the 'native' string type and let the applications write three times the code. Or should the LCL use UTF-8 and map internally in the interfaces and let the applications write once and compile anywhere. He

Re: [lazarus] Show hint from code

2006-05-18 Thread Felipe Monteiro de Carvalho
On 5/18/06, A.J. Venter <[EMAIL PROTECTED]> wrote: You may well be right, although I have no idea how to do a borderless window. My catch is I need this for a project due end of the month - so I'll help you anyway I can :) MyForm.BorderStyle := bsNone; I think the start point should be a new u

Re: [lazarus] Show hint from code

2006-05-18 Thread A.J. Venter
> I think the best solution here is not to copy or work on top of them, > but to implement our own notification system. I think that a small, > borderless LCL Window could do the trick. We can add some methods on > TTrayIcon to interact with this window. You may well be right, although I have no id

Re: [lazarus] Focus problem -- where is it handled in the lcl?

2006-05-18 Thread Mattias Gaertner
On Thu, 18 May 2006 18:03:51 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > 2006/5/18, Mattias Gaertner <[EMAIL PROTECTED]>: > > On Thu, 18 May 2006 17:04:32 -0400 > > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > > > > > 2006/5/18, Mattias Gaertner <[EMAIL PROTECTED]>: > > > > On Thu,

Re: [lazarus] Show hint from code

2006-05-18 Thread Felipe Monteiro de Carvalho
Also, on the opposite direction of giving full access to the notification, we may want to limit access to it, to get a consistent user experience. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Show hint from code

2006-05-18 Thread Felipe Monteiro de Carvalho
On 5/18/06, A.J. Venter <[EMAIL PROTECTED]> wrote: For what it helps, I did quite a bit of research and couldn't actually find anything in the GTK1.2 docs - in fact there is no mention of a trayicon component there (I assume it comes from somewhere close by though). I found at a gtk mailling li

Re: [lazarus] Show hint from code

2006-05-18 Thread A.J. Venter
> Actually, status messages is a to do for TTrayIcon. On Windows XP we > can use ballons to show status messages. A research needs to be done > about what people use on other operating systems / windows versions. A > small window may be a good choice, as it´s very portable. For what it helps, I did

Re: [lazarus] Focus problem -- where is it handled in the lcl?

2006-05-18 Thread Alexandre Leclerc
2006/5/18, Mattias Gaertner <[EMAIL PROTECTED]>: On Thu, 18 May 2006 17:04:32 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > 2006/5/18, Mattias Gaertner <[EMAIL PROTECTED]>: > > On Thu, 18 May 2006 14:08:19 -0400 > > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > > > > > Ok, can someon

Re: [lazarus] Show hint from code

2006-05-18 Thread Felipe Monteiro de Carvalho
On 5/18/06, A.J. Venter <[EMAIL PROTECTED]> wrote: Hi all, Is there a way from code to tell a widget to show it's hint NOW regardless of the location of the pointer ? I am specifically interested in achieving this with TTrayIcon under Linux/GTK1 so my trayicon app can pop-up status messages. Ac

[lazarus] [patch] label with accent (and umlaut)

2006-05-18 Thread darekm
Hi patch to bug 996 works both GTK and GTK2, Darek Index: interfaces/gtk/gtkwinapi.inc === --- interfaces/gtk/gtkwinapi.inc(wersja 9299) +++ interfaces/gtk/gtkwinapi.inc(kopia robocza) @@ -2887,8 +2887,6 @@

Re: [lazarus] Focus problem -- where is it handled in the lcl?

2006-05-18 Thread Mattias Gaertner
On Thu, 18 May 2006 17:04:32 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > 2006/5/18, Mattias Gaertner <[EMAIL PROTECTED]>: > > On Thu, 18 May 2006 14:08:19 -0400 > > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > > > > > Ok, can someone point me where the focus events / mouse click eve

Re: [lazarus] Focus problem -- where is it handled in the lcl?

2006-05-18 Thread Alexandre Leclerc
2006/5/18, Mattias Gaertner <[EMAIL PROTECTED]>: On Thu, 18 May 2006 14:08:19 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > Ok, can someone point me where the focus events / mouse click events > and all that low level stuff for visual components (including forms) > are handled in the so

Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-18 Thread johnf
On Thursday 18 May 2006 00:38, Mattias Gaertner wrote: > On Wed, 17 May 2006 13:26:47 -0700 > > johnf <[EMAIL PROTECTED]> wrote: > > On Wednesday 17 May 2006 12:53, Mattias Gaertner wrote: > > > On Wed, 17 May 2006 11:55:48 -0700 > > > > > > johnf <[EMAIL PROTECTED]> wrote: > > > > On Wednesday 17

[lazarus] Focus problem -- where is it handled in the lcl?

2006-05-18 Thread Alexandre Leclerc
Ok, can someone point me where the focus events / mouse click events and all that low level stuff for visual components (including forms) are handled in the source files? I'd like to solve this issue so that it will potentielly: - solve my simple focus problem; - solve the form docking focus prob

Re: [lazarus] Focus problem -- where is it handled in the lcl?

2006-05-18 Thread Alexandre Leclerc
2006/5/18, Mattias Gaertner <[EMAIL PROTECTED]>: On Thu, 18 May 2006 14:08:19 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > Ok, can someone point me where the focus events / mouse click events > and all that low level stuff for visual components (including forms) > are handled in the so

[lazarus] Show hint from code

2006-05-18 Thread A.J. Venter
Hi all, Is there a way from code to tell a widget to show it's hint NOW regardless of the location of the pointer ? I am specifically interested in achieving this with TTrayIcon under Linux/GTK1 so my trayicon app can pop-up status messages. I cannot find anything that suggests it's possible but

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread L505
> As for the Websnap thing, I did not tought about it; but I once > imagined that as we have support for gtk / qt / win32... we could have > a layer for 'psp' so as to generate forms in web format. (And push it > a little bit more and you can have a full AJAX application compiled > with lazarus. Bu

Re: [lazarus] Focus problem -- where is it handled in the lcl?

2006-05-18 Thread Mattias Gaertner
On Thu, 18 May 2006 14:08:19 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > Ok, can someone point me where the focus events / mouse click events > and all that low level stuff for visual components (including forms) > are handled in the source files? TControl, TWinControl, TCustomForm and

Re: [lazarus] New Install on GNU/Linux

2006-05-18 Thread Gustavo Enrique Jimenez
Did you read my suggestion? I think your problem is the missing /etc/fpc.cfg and the lazarus source tarball (which can be downloaded from sf too) won't help you there. Of course, I read your suggestion. My /etc/fpc.cfg is ok (I think), it is almost the same as for lazarus 0.9.6 . I will check

[lazarus] Converting a GdkPixbuf into a TBitmap

2006-05-18 Thread Felipe Monteiro de Carvalho
Hello, I am testing some gdk functions, and I'd like to connect them to LCL. My current gtk code is this one: Pixbuf := gdk_pixbuf_get_from_drawable(nil, gdk_screen_get_root_window(gdk_screen_get_default), gdk_window_get_colormap(gdk_screen_get_root_window(gdk_screen_get_default)), 0, 0, 0

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Alexandre Leclerc
2006/5/17, L505 <[EMAIL PROTECTED]>: Our psp devel mailing list has grown more in 2006 already than expected. But be warned that PSP is not a perfect copy of Websnap/intraweb. PSP is definitely not copying Borland because we found that Websnap architecture was too complex. Although, many HT

Re: Focus problem - EncloseSelectionDialog

2006-05-18 Thread Alexandre Leclerc
Any idea on this issue? (Anyone interested can test what I mean with the actual svn source of laz; I'm under win32). 2006/5/17, Alexandre Leclerc <[EMAIL PROTECTED]>: I send a patch for EncloseSelectionDialog couple days ago to fixe a taborder / focus problem. This almost worked. But I see that

Re: [lazarus] Request for PR noise !

2006-05-18 Thread Alexandre Leclerc
2006/5/18, Ales Katona <[EMAIL PROTECTED]>: On st , 2006-05-17 at 08:48 -0500, [EMAIL PROTECTED] wrote: > I one of the ones who think that a new name is MUST, > "Lazarus" seems fine for a project name, but I share > the idea that taking the project to "corporate" world, > will require a new name

Re: [lazarus] Changing TImageList.Add from direct to copying

2006-05-18 Thread Andreas Berger
Mattias Gaertner wrote: Ok I found the problem. Lazarus simply adds the image to the list without making a copy, so when I deleted the image after adding it (like is done in delphi) the image vanished :) . Is this an error? Sorry for the late response. There AddCopy and AddDirect methods

Re: [lazarus] Changing TImageList.Add from direct to copying

2006-05-18 Thread Bisma Jayadi
I asked on the devel list if we should change it - no response so far. It's a difficult decision. Though Lazarus officially is not intended to clone Delphi, but in fact most (or all) of Lazarus users were come from Delphi world. I think it'd be better if Lazarus can mimic Delphi as close as po

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Mattias Gaertner
On Thu, 18 May 2006 09:43:27 +0200 Vincent Snijders <[EMAIL PROTECTED]> wrote: > Graeme Geldenhuys wrote: > > That is an excellent tip! We should mention it somewhere on the Wiki. > > > > Graeme. > > > > > > > > On 5/17/06, L505 <[EMAIL PROTECTED]> wrote: > > > >> > >> > >> > On 5/17/06, L50

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Graeme Geldenhuys
On 5/18/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: >> Can anybody explain, why googling with: >> site:lazarus-ccr.sourceforge.net dynamicarray >> only gives two hits, but not >> http://lazarus-ccr.sourceforge.net/docs/lcl/dynamicarray/index.html I think this particular page has been

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Graeme Geldenhuys
On 5/18/06, L505 <[EMAIL PROTECTED]> wrote: excellent job there. How about google desktop search? LOL I haven't tried that one.. place google desktop search on the FPC docs directory and see what happens? Excellent, never though of that either. That should work brilliantly. Now the only snag,

[lazarus] Changing TImageList.Add from direct to copying

2006-05-18 Thread Mattias Gaertner
On Fri, 12 May 2006 13:47:00 -0300 Andreas Berger <[EMAIL PROTECTED]> wrote: > Andreas Berger wrote: > > > I am porting an application from Delphi that depends heavily on images > > added at runtime to a TImageList. However, the Add method does not > > seem to work in Lazarus. Here is an exampl

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread L505
> > Can anybody explain, why googling with: > > site:lazarus-ccr.sourceforge.net dynamicarray > > only gives two hits, but not > > http://lazarus-ccr.sourceforge.net/docs/lcl/dynamicarray/index.html > > > > It is a pity, that the most up to date docs are not completely indexed. > > I was ju

Re: [lazarus] Request for PR noise !

2006-05-18 Thread Ales Katona
On st , 2006-05-17 at 08:48 -0500, [EMAIL PROTECTED] wrote: > I one of the ones who think that a new name is MUST, > "Lazarus" seems fine for a project name, but I share > the idea that taking the project to "corporate" world, > will require a new name. > And what makes you think Lazarus aims fo

Re: [lazarus] no widestring support in FreeBSD4

2006-05-18 Thread Marc Santhoff
Am Donnerstag, den 18.05.2006, 08:24 +0200 schrieb Mattias Gaertner: > On Thu, 18 May 2006 05:22:34 +0200 > Marc Santhoff <[EMAIL PROTECTED]> wrote: > > My Questions: > > > > Can the use of "cwstring" be switched off? > > > > If not, what would be the most appropriate way of handling the missing

Re: [lazarus] Speedbutton property transparant default value should be false.

2006-05-18 Thread Mattias Gaertner
On Sat, 13 May 2006 21:04:18 +0200 "Marien van Westen" <[EMAIL PROTECTED]> wrote: > Hello, > > I noticed that in the last snapshot the Speedbuttons have a property > transparant (is this a recent change?) > The default value is True, but placing a speedbutton on a form results in > a button witho

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Vincent Snijders
Graeme Geldenhuys wrote: On 5/18/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: Can anybody explain, why googling with: site:lazarus-ccr.sourceforge.net dynamicarray only gives two hits, but not http://lazarus-ccr.sourceforge.net/docs/lcl/dynamicarray/index.html It is a pity, that the

Re: [lazarus] Lazarus Help System Parts

2006-05-18 Thread Mattias Gaertner
On Sun, 14 May 2006 00:56:04 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > On 13/05/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > If you mean Delphi's HelpIntfs.pas: It merely contains 6 interfaces with > > 25 methods. It can only show a TOC and help for ID/Keyword/Topic. > > Which

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Graeme Geldenhuys
On 5/18/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: Can anybody explain, why googling with: site:lazarus-ccr.sourceforge.net dynamicarray only gives two hits, but not http://lazarus-ccr.sourceforge.net/docs/lcl/dynamicarray/index.html It is a pity, that the most up to date docs are n

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Vincent Snijders
Graeme Geldenhuys wrote: That is an excellent tip! We should mention it somewhere on the Wiki. Graeme. On 5/17/06, L505 <[EMAIL PROTECTED]> wrote: > On 5/17/06, L505 <[EMAIL PROTECTED]> wrote: > > The reason I currently use Google to search for freepascal documentation on the RTL > > in

Re: [lazarus] fpcUnit patch

2006-05-18 Thread Mattias Gaertner
On Wed, 17 May 2006 13:20:16 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > Hi, > > Please find attached another contribution for the fpcUnit users. > Changes apply to the components/fpcunit directory. This patch needs > to be applied from the root Lazarus directory. > > Fixes: > * Re

Re: [lazarus] Lazarus Help System Requirements

2006-05-18 Thread Graeme Geldenhuys
On 5/17/06, L505 <[EMAIL PROTECTED]> wrote: So: site:freepascal.org docs getpropvalue instead of just site:freepascal.org getpropvalue Okay, to extent on your example and make it even easier to do searching I have created two dynamic bookmarks. I have tested them in Mozilla Firefox, but sho

Re: [lazarus] Help Framework proposal

2006-05-18 Thread Mattias Gaertner
On Wed, 17 May 2006 15:52:29 -0300 "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote: > On 5/17/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > It's on my ToDo list to make a few things easier to override and write > > some examples. But I'm not sure, how many types of help systems will

Re: [lazarus] New SUSE 10.1 can't link gdk

2006-05-18 Thread Mattias Gaertner
On Wed, 17 May 2006 13:26:47 -0700 johnf <[EMAIL PROTECTED]> wrote: > On Wednesday 17 May 2006 12:53, Mattias Gaertner wrote: > > On Wed, 17 May 2006 11:55:48 -0700 > > > > johnf <[EMAIL PROTECTED]> wrote: > > > On Wednesday 17 May 2006 11:31, Mattias Gaertner wrote: > > > > On Wed, 17 May 2006 20

Re: [lazarus] wince patch

2006-05-18 Thread Mattias Gaertner
On Thu, 18 May 2006 02:21:33 +0330 "roozbeh gholizadeh" <[EMAIL PROTECTED]> wrote: > This patch: > * adds arrow unit and tarrow support > * fixes timage,now images being displayed > * add spinedit unit > * add checklist unit for tchecklist box > * fixed some missed pchar to pwidechar conversions >