Re: [Lazarus] Gtk2 focus problem with shortcut keys

2008-10-13 Thread Brad Campbell
Bart wrote: > Actually, you might post a note in this bugreport, nobody has confirmed > this bug since I posted it. > Once confirmed, changes may improve that the bug gets assigned to some > developer. > > I tried to see where things go wrong, but I failed hopelessly ;-) I've added a note to co

[Lazarus] Font inconsistencies

2008-10-13 Thread Benito van der Zander
Hi, if you enable "very large font" on Windows XP, the font size of a TLabel is a lot larger, but TStaticText or TCheckBox don't change their appearance. Is this expected, or should I file a bug report? Benito ___ Lazarus mailing list Lazarus@lazarus.fr

Re: [Lazarus] [PATCH/RFC] DBGrid: allow editing of lookup columns via picklist

2008-10-13 Thread Joost van der Sluis
Op zaterdag 11-10-2008 om 22:48 uur [tijdzone +1100], schreef Alexander Klenin: > Regardless of acceptance of this patch, I would like to know current policy: > If I want to add a feature/fix a bug which requires a change to FPC/FCL, > how do I proceed? What kinds of workarounds are acceptable? S

Re: [Lazarus] Gtk2 focus problem with shortcut keys

2008-10-13 Thread Bart
On 10/13/08, Brad Campbell <[EMAIL PROTECTED]> wrote: > > G'day all, > [on non working menu-shortcut is TEdit has focus] I reported this as bug 0007306in 2006... Bart ___ Lazarus mailing list Lazarus@lazaru

Re: [Lazarus] Gtk2 focus problem with shortcut keys

2008-10-13 Thread Bart
Actually, you might post a note in this bugreport, nobody has confirmed this bug since I posted it. Once confirmed, changes may improve that the bug gets assigned to some developer. I tried to see where things go wrong, but I failed hopelessly ;-) Bart

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread mitya boyarintsev
Apple developers mailing lists (lists.apple.com) are also rich in discussion of such problems. It's good practise to search aboutr carbon problems there: i.e.: this thread, is cocoa based application, but still might be useful: http://lists.apple.com/archives/java-dev/2002/Nov/msg00072.html I'm pr

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread EarMaster - Bent Olsen
> > How does TEdit find which font to use, or which font does a component like > > TEdit use, which then I can apply to a TLabel control? > It's better to refer to Carbon API: http://developer.apple.com/documentation/Carbon/Conceptual/ATS_Concepts/atsf onts_intro/chapter_1_section_1.html#//apple_re

[Lazarus] SQLite: Several foreign keys

2008-10-13 Thread Usuario AnĂ³nimo
If I want to create a simple master/detail relationship of one-to-many, it is easy: Tables and fields: Contact: [u]Code[/u], Name <-- Master table Phone: [u]Number[/u], Contact (Contact is a foreign key) <-- Detail table Contact TDataSource properties: - DataSet: ContactDataset - Name: Contact

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread EarMaster - Bent Olsen
> TEdit is a native Windows control, and by default Windows will choose > the adequate font. The font differs between different Windows > versions. The default font under XP is Tahoma, as explained here: > > http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#East_Asian_langu > ages_on_Windows

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread mitya boyarintsev
> How does TEdit find which font to use, or which font does a component like > TEdit use, which then I can apply to a TLabel control? It's better to refer to Carbon API: http://developer.apple.com/documentation/Carbon/Conceptual/ATS_Concepts/atsfonts_intro/chapter_1_section_1.html#//apple_ref/doc

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread Felipe Monteiro de Carvalho
On Mon, Oct 13, 2008 at 10:15 AM, EarMaster - Bent Olsen <[EMAIL PROTECTED]> wrote: > How does TEdit find which font to use, or which font does a component like > TEdit use, which then I can apply to a TLabel control? TEdit is a native Windows control, and by default Windows will choose the adequa

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread EarMaster - Bent Olsen
> Rectagle characters indicates that the font does not support the > chracter. Try using another font. Thanks, and I see, but it's strange thou, because the components was set with the same font at first ("Geneva"), and only TEdit adapted. I found a font like "STKaiti" which displays a Japanese t

Re: [Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread Felipe Monteiro de Carvalho
On Mon, Oct 13, 2008 at 6:56 AM, EarMaster - Bent Olsen <[EMAIL PROTECTED]> wrote: > The right characters in a text isn't being displayed in like TLabel (you'll > get rectangle characters), but the same text is right in a TEdit component. Rectagle characters indicates that the font does not suppor

[Lazarus] WinCE Printing (again)

2008-10-13 Thread cc_
Hello List, Until now I have thought WinCE had no solution for printing at all. I have just realised that WinCE actually has built in support for some memeber of the PCL language family. When asking about this subject earlier here in the mailing list noone seemed to know about it, so I thoug

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Michael Van Canneyt
On Mon, 13 Oct 2008, Graeme Geldenhuys wrote: > On Mon, Oct 13, 2008 at 11:05 AM, Michael Van Canneyt > <[EMAIL PROTECTED]> wrote: > > > > Small correction: I don't think it is 'normal', but I do think one > > never should rely on this behaviour :-) > > My apologies... :-) > > > > At the very

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Graeme Geldenhuys
On Mon, Oct 13, 2008 at 10:57 AM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > > Like I explained above... Surely there is no need to fire a OnChange > event if the TEdit.Text is set to the exact same Value. > To explain my reasoning further... The event is called OnChange and not OnSetText. :-

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Graeme Geldenhuys
On Mon, Oct 13, 2008 at 11:05 AM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Small correction: I don't think it is 'normal', but I do think one > never should rely on this behaviour :-) My apologies... :-) > At the very least, all widget sets should react in the same manner: > if the TEd

[Lazarus] Carbon: UTF8 and few component showing rect characters

2008-10-13 Thread EarMaster - Bent Olsen
Hi all, I'm using Lazarus 0.9.27 (rev. 16907), and some of the components (non-native?) is not showing the right characters when you try to display characters like in Japanese, etc., but works for some components (native carbon components, I believe). The right characters in a text isn't being di

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Michael Van Canneyt
On Mon, 13 Oct 2008, Graeme Geldenhuys wrote: > Hi, > > In tiOPF with LCL widgetset we hit a little snag. We react to the > OnChange event of a TEdit. In GTK1 we have no issues. In GTK2 we get a > core dump as soon as the text has changed (first key being pressed). > Here is a discussion about

[Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Graeme Geldenhuys
Hi, In tiOPF with LCL widgetset we hit a little snag. We react to the OnChange event of a TEdit. In GTK1 we have no issues. In GTK2 we get a core dump as soon as the text has changed (first key being pressed). Here is a discussion about the issue between Michael and myself. Michael thinks it's nor

[Lazarus] Gtk2 focus problem with shortcut keys

2008-10-13 Thread Brad Campbell
G'day all, Here is another one. Create a new form and place a TMainMenu, TEdit and TButton on the form. Create a File/Quit menu and assign the quit menu the shortcut ctrl+W. Hook it up. (This is the only piece of code in the project really) procedure TForm1.MenuQuitClick(Sender: TObject); begi