[Lazarus] ide.lpk 's project.pp and freepascal project.pp, same filename problem

2013-09-22 Thread FreeMan
Hello, All detail info at to this link. so no need write one more. http://forum.lazarus.freepascal.org/index.php/topic,22040.0.html I'm writeing component, it has a desigtime package(Martin say IDE add-on) I found TUnitInfo in project.pp but I can not use this IDE package's files. IDEintf has

Re: [Lazarus] ide.lpk 's project.pp and freepascal project.pp, same filename problem

2013-09-22 Thread FreeMan
I need root component of file, that link has a screenshot, my component's code and form on there. /ThePropertyEditorHook.LookupRoot := AComponent;///TUnitInfo.Component I need this 22-09-2013 19:12 tarihinde, Mattias Gaertner yazdı: On Sun, 22 Sep 2013 11:38:08 +0300 FreeMan freema

Re: [Lazarus] ide.lpk 's project.pp and freepascal project.pp, same filename problem

2013-09-23 Thread FreeMan
All voits goes to Mattias Thank you so much Mattias, I'm so happy today. I added my codes var LazProject: TLazProject; LazFile: TLazProjectFile; aDesigner : TComponentEditorDesigner; ... LV.Items.Clear; LazProject:=LazarusIDE.ActiveProject; if LazProjectnil then

[Lazarus] qt45.pas(12193, 97) Error: Incompatible types: got QStyleHintReturnHintReturnType expected QStyleOptionOptionType

2013-10-01 Thread FreeMan
after _zeljko_ update Revision 43041, I can't make lazarus. Free Pascal Compiler version 2.7.1 [2013/10/01] for x86_64 Copyright (c) 1993-2013 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling ../lcl.pas Compiling alllclintfunits.pas Compiling qtproc.pp Compiling qt4.pas

Re: [Lazarus] some IDE menuitem's glyphs lost

2013-10-05 Thread FreeMan
Thanx to paul, I update Revision 43104 and bug fixed. 02-10-2013 18:41 tarihinde, FreeMan yazdı: Configure toolbar,Jump to, Insert from character Map..., Open package of Current unit, options etc menu items. When resources move to fpc, some glyphs lost. And that picture show red colored

[Lazarus] Sugsestion for TPagecontrol

2013-10-05 Thread FreeMan
Hello, I have a suggession for TPagecontrol class. It has onChange and onChanging property. onChange trigger after changED, Its okey, I wish name can be onChanged okey never mind. My suggestion is, new event or change onChange events property. My suggestion notify event is on TPageControl

[Lazarus] Designer aligment tool BUG

2013-10-07 Thread FreeMan
Hello, Kubuntu x64 13.04 last svn fpc lazarus. Select 2(or more) visual component on form, via shift + Left click or while clicking move mouse and select. Showing Square dots for selected components. Rigth click and popup menu open, click align, open Aligment window then select Left sides

[Lazarus] Suggession for IDE or maybe BUG

2013-10-08 Thread FreeMan
In IDE option, Show compile dialog checked. On compiling window is opening, when clcik ok for close this, focused window changed. Mean : I click compile button on source editor or use compile shortcut, IDE compiling and show dialog but after close dialog window, editor window not focused back,

[Lazarus] IDE editor BUG

2013-10-10 Thread FreeMan
Hello, Editor can not show correctly if use this two spell "İ" "Ş" in Turkish character and uppercase -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] IDE editor BUG

2013-10-10 Thread FreeMan
İSTEDİĞİNİZE EMİN MİSİNİZ ?', PChar(_Caption), 10-10-2013 12:23 tarihinde, Mattias Gaertner yazdı: On Thu, 10 Oct 2013 12:09:37 +0300 FreeMan freema...@delphiturkiye.com wrote: Hello, Editor can not show correctly if use this two spell İ Ş in Turkish character and uppercase See attachment. Linux

Re: [Lazarus] IDE editor BUG

2013-10-10 Thread FreeMan
t; ', PChar"  before comma space is different. My idea is unicode function problem in synedit, or string ansisting problem 10-10-2013 12:23 tarihinde, Mattias Gaertner yazdı: On Thu, 10 Oct 2013 12:09:37 +0300 FreeMan freema.

[Lazarus] [Resolved] Re: [SPAM] IDE editor BUG

2013-10-10 Thread FreeMan
uggesstion. on subject wrote spam ??? 10-10-2013 12:43 tarihinde, Martin yazdı: On 10/10/2013 10:09, FreeMan wrote: Hello, Editor can not show correctly if use this two spell "İ" "Ş" in T

Re: [Lazarus] Suggession for IDE or maybe BUG

2013-10-10 Thread FreeMan
Thank you, I did, my issue ID #25176 10-10-2013 12:57 tarihinde, Mattias Gaertner yazdı: On Tue, 08 Oct 2013 12:21:10 +0300 FreeMan freema...@delphiturkiye.com wrote: In IDE option, Show compile dialog checked. On compiling window is opening, when clcik ok for close this, focused window

Re: [Lazarus] IDE editor BUG

2013-10-10 Thread FreeMan
/2013 10:50, FreeMan wrote: Maybe this two screenshot give more info, copy and paste from clipbord. same selected text. blackbackgroud in lazarus IDE, other one in "Kate" text editor. 'İ' is okey on kate just font proble and do

[Lazarus] Source Editor toolbar not in action list

2013-10-24 Thread FreeMan
Hello, Lazarus Revision 43315 Source Editor toolbar items not in Actionlist I think. While sourcecode is edited mode, on toolbar, save and save all button is enable, I was added that buttons to source aditor toolbar too. When save source code, on IDE toolbar button been disable, but on Source

[Lazarus] How to use TRegExpr class (in synregexpr.pas)

2013-10-24 Thread FreeMan
Hello, Lazarus Revision 43315 TRegExpr class in /opt/lazarus/components/synedit/synregexpr.pas I need check IP address, my IP4OK function for this. If I sent variable result is false, but sent parameter like '127.0.0.1' result is true, what is wrong? EDT_IP: TMaskEdit; ..

[Lazarus] [resulved] How to use TRegExpr class (in synregexpr.pas)

2013-10-24 Thread FreeMan
, Ofs, 1 + Len - Ofs); end ; begin Q := Trim(EDT_IP.Text);// space not deleted Q := Trim_(EDT_IP.Text);// space not deleted Q := My_Trim(EDT_IP.Text); // space DELETED if IP4OK(Q)then begin .. 24-10-2013 16:18 tarihinde, Mark Morgan Lloyd yazdı: FreeMan wrote: Hello

Re: [Lazarus] [resolved] How to use TRegExpr class (in synregexpr.pas)

2013-10-25 Thread FreeMan
This is version is penultimate version :) '127.000. 0 .01 ' result is '127.0.0.1' I tested this in: Kubuntu 13.10 x64 fpc svn update 25845 lazarus svn update 43320 function IP4OK(pT: String): String; var r : TRegExpr; i,j: Integer; function My_Trim(S : String): String; Const

Re: [Lazarus] [resolved] How to use TRegExpr class (in synregexpr.pas)

2013-10-25 Thread FreeMan
. Dave. On 10/25/2013 07:31 AM, FreeMan wrote: This is version is penultimate version :) '127.000. 0 .01 ' result is '127.0.0.1' I tested this in: Kubuntu 13.10 x64 fpc svn update 25845 lazarus svn update 43320 function IP4OK(pT: String): String; var r : TRegExpr; i,j: Integer

Re: [Lazarus] Designer aligment tool

2013-10-26 Thread FreeMan
icon view, user have to move via mouse one by one. Aligment and other tool can do this. Thank you 08-10-2013 12:06 tarihinde, Mattias Gaertner yazdı: On Mon, 07 Oct 2013 13:47:12 +0300 FreeMan freema...@delphiturkiye.com wrote: Hello, Kubuntu x64 13.04 last svn fpc lazarus. Select 2(or more

[Lazarus] Fata error while make lazarus svn: Compilation aborted

2013-10-28 Thread FreeMan
I can not make lazarus svn Kubuntu 13.10 x64 fpc svn update 25875 lazarus svn update 4 Compiling synedittextbidichars.pas synedit.pp(7043,49) Hint: Local variable y does not seem to be initialized synedit.pp(7043,41) Hint: Local variable x does not seem to be initialized Compiling

Re: [Lazarus] Fata error while make lazarus svn: Compilation aborted

2013-10-28 Thread FreeMan
Thank you Martin in lazarus Revision 43334 FIXED 28-10-2013 13:13 tarihinde, Martin yazdı: On 28/10/2013 09:37, FreeMan wrote: syncompletion.pas(466,78) Error: Call by var for arg no. 6 has to match exactly: Got LongWord expected QWord lazutf8.pas(2813,10) Hint: Found declaration

[Lazarus] need info some warning

2013-10-29 Thread FreeMan
Been long time I saw this warnings when compile project and while svn updateing too. project1.lpr(21,1) Warning: crti.o not found, this will probably cause a linking failure project1.lpr(21,1) Warning: crtn.o not found, this will probably cause a linking failure In project1.lpr file line 21

[Lazarus] About TComboBox.Items.IndexOfName

2013-10-30 Thread FreeMan
Hello, I'm not sure is this bug? can some one test please? and if its but I'll make new issue. I have a TComboBox, I add 2 strings. I wanna do, if TmpStr is in the items, do it selected. I := EDT_User.Items.IndexOfName(TmpStr); EDT_User.ItemIndex:= I; 1-) I is always return -1; 2-) I add

Re: [Lazarus] About TComboBox.Items.IndexOfName

2013-10-30 Thread FreeMan
Sorry 3-) EDT_User.ItemIndex:= 1; this code not to trigger Text property, text not change my mistake. This code work correctly, many code for test and my carelessness 1. and 2. still problem on my system 30-10-2013 23:41 tarihinde, FreeMan yazdı: Hello, I'm not sure is this bug? can some one

Re: [Lazarus] About TComboBox.Items.IndexOfName

2013-10-31 Thread FreeMan
Thank you very much Sven, IndexOf function work correctly 31-10-2013 12:01 tarihinde, Sven Barth yazdı: Am 31.10.2013 10:56, schrieb FreeMan: No any non-ASCII characters, 'Admin', 'x' this to strings added in items TmpStr:= 'Admin' I := EDT_User.Items.IndexOfName(TmpStr); or I

Re: [Lazarus] About TComboBox.Items.IndexOfName

2013-10-31 Thread FreeMan
09:56 tarihinde, Antonio Fortuny yazdı: Le 30/10/2013 22:41, FreeMan a écrit : Hello, I'm not sure is this bug? can some one test please? and if its but I'll make new issue. I have a TComboBox, I add 2 strings. I wanna do, if TmpStr is in the items, do it selected. I

[Lazarus] About ToDo tool

2013-11-11 Thread FreeMan
Hello, I try to todo list but I can't, Not finished tool. 1-) lvTodo.OnClick event move to onDblClick, 'cos when click to listview (for just select to form) triggered to onclick event and jump to editor window 2-) No any Add, Edit, Delete, Done Buttons 3-) Options and Print buttons is

[Lazarus] To Paul about r43447

2013-11-18 Thread FreeMan
Hello Paul, I think this line not currect place, /trunk/lcl/include/customform.inc Line 2871: SavedCursor := Screen.Cursor; Why, I have a TUniQuery on TDataModule. Rigth click on this, Select fields editors and on Plus key on toolbar for open fielddefs form. Click cancel button then close

[Lazarus] Fatal error on last svn lazarus make

2013-11-19 Thread FreeMan
Hello, FPC r20108: compiler: don't allow to assign to for-in loop variable (bug #0025318) after this fpc update, lazarus can NOT make, error is: project_misc_options.pas(94,43) Warning: unreachable code Compiling ./frames/project_resources_options.pas project_resources_options.pas(65,18)

Re: [Lazarus] Fatal error on last svn lazarus make

2013-11-19 Thread FreeMan
so sorry, problem on FPC Revision 26108 FPC Revision 26107 is okey 19-11-2013 10:18 tarihinde, FreeMan yazdı: Hello, FPC r20108: compiler: don't allow to assign to for-in loop variable (bug #0025318) after this fpc update, lazarus can NOT make, error is: project_misc_options.pas(94,43

Re: [Lazarus] Fatal error on last svn lazarus make

2013-11-19 Thread FreeMan
Thanks to Mattias, in lazarus Revision 43462 FIXED 19-11-2013 11:50 tarihinde, Sven Barth yazdı: Am 19.11.2013 09:34 schrieb Michael Van Canneyt mich...@freepascal.org mailto:mich...@freepascal.org: On Tue, 19 Nov 2013, FreeMan wrote: Hello, FPC r20108: compiler: don't allow

[Lazarus] TForm.ModalResult := mrOk problem

2013-11-25 Thread FreeMan
Hello, I have a strange problem. I have last svn fpc and lazarus on kubuntu 13.10 x64 FRM_Log_In := TFRM_Log_In.Create(AOwner); Result := FRM_Log_In.ShowModal; FRM_Log_In.ModalResult := mrOk; this code work on my system, work mean, form close and move to after FRM_Log_In.Showmodal;

Re: [Lazarus] TForm.ModalResult := mrOk problem

2013-11-25 Thread FreeMan
:= MrOk. I don't wanna use tbutton, How to run My code F.ModalResult := MrOk. 25-11-2013 16:45 tarihinde, FreeMan yazdı: Hello, I have a strange problem. I have last svn fpc and lazarus on kubuntu 13.10 x64 FRM_Log_In := TFRM_Log_In.Create(AOwner); Result := FRM_Log_In.ShowModal

Re: [Lazarus] TForm.ModalResult := mrOk problem FIXED

2013-11-26 Thread FreeMan
debug just add showmessage(''). No any error and no normal working and I been false alarm :) Problem on me :( not enoughcalculate probability 26-11-2013 11:40 tarihinde, Antonio Fortuny yazdı: Le 25/11/2013 16:33, FreeMan a écrit : on /lazarus/lcl/forms.pp line 662: property ModalResult

[Lazarus] mtConfirmation where is Questionmark icon in resource

2013-12-01 Thread FreeMan
Hello, if MessageDlg('MsgLabel', mtConfirmation, [mbOK, mbCancel],0) = mrOk then mtConfirmation and mtInformation is same icon showing. If I'm not wrong, mtConfirmation icon was questionmark ? svn last update QT kubuntu 13.10 x64 -- ___ Lazarus

Re: [Lazarus] mtConfirmation where is Questionmark icon in resource

2013-12-01 Thread FreeMan
I tested that project on your link, its work normal on my system too, libqt4 version is 5.2.5 on my system. Thank you, we will see :) 02-12-2013 08:37 tarihinde, zeljko yazdı: On 12/01/2013 10:11 PM, FreeMan wrote: Hello, if MessageDlg('MsgLabel', mtConfirmation, [mbOK, mbCancel],0) = mrOk

[Lazarus] cross-compiler win32:i386 can't compile

2013-12-07 Thread FreeMan
I have some problem and need some help, My system is Kubuntu 13.10 x64. and last svn fpc and lazarus. My plan is, my project work on win32, win64 mac os too. I need cross compiler. I readed this link and try cross compiling. http://wiki.freepascal.org/Cross_compiling_for_Win32_under_Linux this

Re: [Lazarus] cross-compiler win32:i386 can't compile

2013-12-07 Thread FreeMan
Thank you for answer but somethings wrong, when try project option - compiler option - config target - Target platform -T Win32 -P i386 Target processor (Default or any other) click to ok button, then this error popup Compiler /bin/fpc does not support target i386-win32 Click build project,

[Lazarus] [RESOLVED] Re: cross-compiler win32:i386 can't compile

2013-12-07 Thread FreeMan
In fpc compiler folder has _*ppcross386*_ file. _*just link in /usr/bin/*_ folder thats all :) Thank you for help leledumbo 07-12-2013 16:25 tarihinde, FreeMan yazdı: Thank you for answer but somethings wrong, when try project option - compiler option - config target - Target platform -T

[Lazarus] Is this bug? in debug mode

2013-12-10 Thread FreeMan
In debug, I move mouse for look for value of classproperty (any) I get this error. Tmem_Stream = Tmemory_Stream; Tmem_Stream.Position error popups. not only this class or this property. Excecially variable defined diffrent unit. While executing the command: TGDBMIDebuggerInstruction: ptype

Re: [Lazarus] Is this bug? in debug mode

2013-12-11 Thread FreeMan
not changed still goes on. I have to reset system. 10-12-2013 16:35 tarihinde, Martin Frb yazdı: Which OS? 32 or 64 bit? On 10/12/2013 12:44, FreeMan wrote: In debug, I move mouse for look for value of classproperty (any) I get this error. Tmem_Stream = Tmemory_Stream; Tmem_Stream.Position

Re: [Lazarus] Is this bug? in debug mode

2013-12-11 Thread FreeMan
LCL_PLATFORM=qt bigide OPT=-dUSE_QT_45 ./lazbuild --ws=qt --pcp=~/.lazarus --build-all --recursive --build-ide= 11-12-2013 15:16 tarihinde, Martin Frb yazdı: On 11/12/2013 11:05, FreeMan wrote: I have a new bug, While debugging, some error popup (still not sure wich and how so I can not report detail

[Lazarus] [RESOLVED] Re: Is this bug? in debug mode

2013-12-11 Thread FreeMan
:16 tarihinde, Martin Frb yazdı: On 11/12/2013 11:05, FreeMan wrote: I have a new bug, While debugging, some error popup (still not sure wich and how so I can not report detail) Blue dots loseing application running and I can't not debug. When application end via Application.Terminate; code

[Lazarus] Why not capture LM_xxx message

2013-12-18 Thread FreeMan
In delphi, this code is working, but in lazarus message LM_CHAR; or message LM_KEYDOWN; etc not triggered, what I have todo? fpc and lazarus last svn updated qt kubuntu 13.10 x64 TEnterAsTab = class(TGraphicControl) private FEnterAsTab: Boolean; FAllowDefault: Boolean; FBmp:

Re: [Lazarus] GDB problems (--exec-run)

2013-12-18 Thread FreeMan
Hello, Martin was write (if I'm not wrong) problem system language non english. downgrade gdb version maybe correct this problem. I test on upgrade 7.6.2 trunc but nothing change. I want test my idea before downgrade /opt/lazarus/startlazarus --LANG=C --pcp=~/.lazarus %f don't forget change

Re: [Lazarus] GDB problems (--exec-run)

2013-12-18 Thread FreeMan
Hello Martin, On Kubuntu 13.10 x64, /opt/lazarus/startlazarus --LANG=C --pcp=~/.lazarus %f --debug-log=~/.lazarus/0_Lazarus_LOG_FILE.log --debug-enable=DBG_CMD_ECHO,DBG_STATE,DBG_DATA_MONITORS,DBGMI_QUEUE_DEBUG,DBGMI_TYPE_INFO --debug-log=~/.lazarus/0_Lazarus_LOG_FILE.log log file not

[Lazarus] Can NOT open any lpk file in last svn update

2014-01-03 Thread FreeMan
Hello, fpc svn update 26364 lazarus svn update 43638 Kubuntu 13.10 x64 I Updated and then when I try open any lpk file, this error is popup, and no any open file Access violation. Press OK to ignore and risk data corruption. Press Cancel to kill the program. I attached lazarus log file

Re: [Lazarus] Can NOT open any lpk file in last svn update

2014-01-03 Thread FreeMan
I tested lazarus svn update 43639 and its work now, Thank you very much Mattias 03-01-2014 13:14 tarihinde, Mattias Gaertner yazdı: On Fri, 03 Jan 2014 12:45:09 +0200 FreeMan freema...@delphiturkiye.com wrote: Hello, fpc svn update 26364 lazarus svn update 43638 Kubuntu 13.10 x64 I Updated

[Lazarus] Access violation while make lazarus svn and can not make IDE

2014-01-11 Thread FreeMan
Hello, Trying last svn update and this error exeption stop makeing IDe fpc svn update 26420 lazarus svn update 43702 QT widget Kubuntu 13.10 x64 make[1]: `/opt/lazarus/components/chmhelp/lhelp' dizininden çıkılıyor [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access

[Lazarus] [FIXED] Re: Access violation while make lazarus svn and can not make IDE

2014-01-11 Thread FreeMan
Yes Fixed Thank you very much Martin 11-01-2014 15:31 tarihinde, Martin Frb yazdı: On 11/01/2014 13:26, FreeMan wrote: $004008E5 line 190 of lazbuild.lpr should be fixed now -- ___ Lazarus mailing list Lazarus

[Lazarus] Fatal: Compilation aborted while make lazarus svn and can not make IDE

2014-01-11 Thread FreeMan
fpc svn update 26425 lazarus svn update 43708 QT widget Kubuntu 13.10 x64 I delete all fp lazarus file then re install svn versions but this error occur Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.7.1 [2014/01/11] for x86_64 Copyright (c) 1993-2013 by Florian

Re: [Lazarus] FPC and Lazarus trunk

2014-01-12 Thread FreeMan
I had same problem, but after one more update to: fpc svn update 26427 lazarus svn update 43710 Kubuntu 13.10 x64 I don't know how and why but Now IDE builded, projects and components are compiled. My project builded and running. But, I installed rxgrid, when click on objectinspecter for create

Re: [Lazarus] FPC and Lazarus trunk

2014-01-12 Thread FreeMan
Thank you Stephano was not, and now FIXED. for me. Which file contain this infos? 12-01-2014 12:44 tarihinde, patspiper yazdı: Did you try Tools/Rescan FPC source directory? Stephano -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] FPC and Lazarus trunk

2014-01-12 Thread FreeMan
I found it, maybe some one need so I'm writing fpcdefines.xml in this file has it. My system is kubuntu 13.10 x64 and this file and other settings file in this folder /home/username/.lazarus 12-01-2014 13:26 tarihinde, FreeMan yazdı: Thank you Stephano was not, and now FIXED. for me. Which

[Lazarus] bug in sqlstringspropertyeditordlg.pas to mattias

2014-01-12 Thread FreeMan
Hello mattias In Revision 43714 delete parameter of CheckSQLSyntax. Please check this line too Thank you /opt/lazarus/components/sqldb/sqlstringspropertyeditordlg.pas line 362 please change this line CheckSQLSyntax(SQLEditor.Lines,true) to CheckSQLSyntax(SQLEditor.Lines); --

Re: [Lazarus] Stream a property (string) of a TCollection derived component to LFM

2014-01-12 Thread FreeMan
Hello, TCollection doesn't call writeproperties, I was lookfor as long as one month :) Use this patch, http://bugs.freepascal.org/view.php?id=25048 I didn't understand still not apply this mattias's patch to orginal source and bug report still opened 12-01-2014 17:39 tarihinde, Bart yazdı:

Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread FreeMan
Stephano's answer fixed mine same problem On 12/01/14 11:42, FreeMan wrote: I had same problem, but after one more update to: fpc svn update 26427 lazarus svn update 43710 Kubuntu 13.10 x64 Did you try Tools/Rescan FPC source directory? Stephano I see this: (Linux 32 Bits) Compiling

Re: [Lazarus] Fatal: Compilation aborted (svn update)

2014-01-29 Thread FreeMan
-2014 11:15 tarihinde, FreeMan yazdı: Hello, I can't make lazarus fpc svn update 26610 lazarus svn update 43833 Kubuntu 13,10 x64 dbgrids.pas(3991,32) Error: Can't take the address of constant expressions dbgrids.pas(4035,30) Error: Can't take the address of constant expressions dbgrids.pas(4050,30

[Lazarus] Need help about CreateWindowEx

2014-02-16 Thread FreeMan
Hello, I'm trying port components from delphi to lazarus, cross platform and QT widgetset CreateWindowEx On this winAPI I stoped and no info much for convert to widgetset. Can anyone has anyidea? What is aqual CreateWindowEx, DestroyWindow in linux QT widgetset? My system is Kubuntu x64 and

[Lazarus] Fatal: Compilation aborted (gdbmidebugger.pp) [to Martin]

2014-02-23 Thread FreeMan
Hello Martin in Revision 44208 while clean up, You were clean much :) I think need add to uses Math for min and max function My system is Kubuntu 13.10 x64 last fpc lazarus version Thank you gdbmidebugger.pp(1264,32) Hint: Parameter Sender not used gdbmidebugger.pp(3456,49) Error: Identifier

[Lazarus] Is this bug ? or how to do?

2014-02-27 Thread FreeMan
Hello, I'm writeing my exlookup component, I add 2 datasource and 3 field. Like a dblookupcombobox. my component's properties: FDataField : TFieldDataLink; FListField : TFieldDataLink; FKeyField : TFieldDataLink; On Objectinspector, property editor work just for, if Property name

Re: [Lazarus] Is this bug ? or how to do?

2014-02-27 Thread FreeMan
Put TDBLookupComboBox on form, add 2 tdatasource Ttable or Tquery. And add datasources to TDBLookupComboBox.ListSource and TDBLookupComboBox.DataSource, after then select DataField property, (on Objectinspecter open fieldlist). KeyField and ListField property not open fieldlist on

Re: [Lazarus] Is this bug ? or how to do?

2014-02-28 Thread FreeMan
Thank you Martin, I was forget and checked it that. I add this lines and now field list opening. RegisterPropertyEditor(TypeInfo(string), TExLookUp, 'DataField', TFieldProperty);//DataSource := Dataset1 RegisterPropertyEditor(TypeInfo(string), TExLookUp, 'ListField',

Re: [Lazarus] Is this bug ? or how to do?

2014-03-01 Thread FreeMan
I have a solution: (I get idea from Delphi_XE2/IDE/source/Property Editors/DBReg.pas) type TFieldProperty = class(TStringPropertyEditor) public function Get_DataSource_Name: string; virtual; ... function TFieldProperty.Get_DataSource_Name: string; begin Result :=

Re: [Lazarus] Is this bug ? or how to do?

2014-03-01 Thread FreeMan
solution It was my mistake. so my first word I understood. Antique hellenic city name will lost :) Thank you Martin, I learned one more think. 01-03-2014 13:22 tarihinde, Martin Frb yazdı: On 01/03/2014 10:52, FreeMan wrote: I have a solution: (I get idea from Delphi_XE2/IDE/source/Property

[Lazarus] Fatal: Compilation aborted

2014-03-01 Thread FreeMan
Hello, Target OS: Linux for x86-64 Compiling fcllaz.pas Fatal: Can't find unit system used by fcllaz Fatal: Compilation aborted make[1]: *** [fcllaz.ppu] Hata 1 make[1]: `/opt/lazarus/packager/registration' dizininden çıkılıyor make: *** [registration] Hata 2 Kubuntu 13.10 x64 fpc svn 26912

Re: [Lazarus] Fatal: Compilation aborted

2014-03-02 Thread FreeMan
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 OVERRIDEVERSIONCHECK=1 01-03-2014 23:36 tarihinde, Mattias Gaertner yazdı: How did you install fpc? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Fatal: Compilation aborted

2014-03-02 Thread FreeMan
Today not may day :) last fpc svn has fatal error too... I attach my svn install script and svn update script. I'm using as long as nearly one year this scripts. this is fpc error r26918, if downgrade to 26912 it okey, not report yet Hata mean error make[7]:`/opt/freepascal/2.7.1/rtl/linux'

Re: [Lazarus] Is this bug ? or how to do?

2014-03-02 Thread FreeMan
I tested, one word, PERFECT Thank you Mattias 01-03-2014 18:24 tarihinde, Mattias Gaertner yazdı: TFieldProperty.FillValues is virtual and has only two lines of code. The default implementation searches a property named 'DataSource'. You can override it to fetch DataSource from many different

Re: [Lazarus] Fatal: Compilation aborted

2014-03-03 Thread FreeMan
Did you check my install and update script? I was send one or two message before. Has it any error or wrong command? 2.6.2 last stable and download link in script, link remarked, manual download it before run script, and save thats under stable folder and use that from disk via dpkg -i. I

Re: [Lazarus] Fatal: Compilation aborted

2014-03-03 Thread FreeMan
Hello Sven, I'm writeing my results, desktop is my computer name desktop:/$ fpc -iV 2.7.1 desktop:/$ ppcx64 Free Pascal Compiler version 2.7.1 [2014/03/03] for x86_64 . desktop:/$ echo $PATH

[Lazarus] constructor Create How is it work?

2014-03-04 Thread FreeMan
Hello, constructor Create how is work ? In IDE not problem, but In application, form created AOwner not nil, self created, FGrid created, but Self.Parent is NILL ??? Self.left is 0 (not because its 10) all Self.BoundsRect value is 0. Why? for test I added that code to in @EditChange procedure

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread FreeMan
ExLookUp1:=TExLookUp.Create(Form1); This is for manual creating, I'm talk about, I'm designing in IDE, 1-2 TExLookUp on form, and run my application, TExLookUp is class(TCustomEditButton) so Edit and button is shown on where I put on form, in designtime IDE. constructor

Re: [Lazarus] constructor Create How is it work?

2014-03-04 Thread FreeMan
I useto other pascal, Its like a treeview root -- TForm or Tdatamodule Node - parent always there I mean before node create, owner(parent) created, everything finished, loaded properties from Tform etc, its ready to work alone, then jump to child, and if there is child jump bla bla I

Re: [Lazarus] constructor Create How is it work?

2014-03-05 Thread FreeMan
language, I'm using dictionary while writeing message. Thank you I hope I can translate my problem about create method 05-03-2014 08:29 tarihinde, Hans-Peter Diettrich yazdı: FreeMan schrieb: constructor TExLookUp.Create(AOwner: TComponent); begin inherited Create(AOwner); Self.OnChange

Re: [Lazarus] Lazarus 1.2 Release

2014-03-05 Thread FreeMan
On http://www.lazarus.freepascal.org/index.php?page=downloads Lazarus Snapshots Mirror -- link to http://www.hu.freepascal.org/lazarus/; That link not found -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Download Lazarus-1.3 snapshots for 64 Bit

2014-03-06 Thread FreeMan
Hello, svn co http://svn.freepascal.org/svn/lazarus/trunk /opt/lazarus-- where you want to download and use from there cd /opt/lazarus make clean all bigide -- and many parameter this is for debian/ubuntu. you have to installed subversion if I were you, if you not expert do NOT use

[Lazarus] How can use TControl.Perfom(Perform(LM_KEYUP, VK_UP, 1);

2014-03-08 Thread FreeMan
Hello, In my TExLookUp Component I need to sent key stroks to subcomponent Grid. How can I do this. Its has to be crossplatform too. Example: TExLookUp.EditKeyUp( ... if Key=VK_UP then FGrid.Perform(LM_KEYUP, VK_UP, 1); if Key=VK_DOWN then FGrid.Perform(LM_KEYDOWN, VK_DOWN, 1); or

Re: [Lazarus] How can use TControl.Perfom(Perform(LM_KEYUP, VK_UP, 1);

2014-03-08 Thread FreeMan
emulate keystrokes, because 1-2 grid's event have to triggered, for row up/down easy way, fgrid.datasource.dataset.Next or fgrid.datasource.dataset.Prev; I mean, Edit is foucused, I can handle keystrokes on Edit, I wanna sent some keystrokes to grid too (with out grid NOT focused), Like

[Lazarus] Suggestion on DBGrid

2014-03-08 Thread FreeMan
Hello, In lazarus/lcl/dbgrids.pas, TDBGridOption set add item dgNextRowonEnter and dgNextRowonEnterOnLastColumn TCustomDBGrid.KeyDown(... line: 2172 if (dgNextRowonEnter in Options)then begin GetDeltaMoveNext(ssShift in Shift, DeltaCol, DeltaRow, AutoAdvance);

Re: [Lazarus] Suggestion on DBGrid

2014-03-09 Thread FreeMan
Thank you Jesus, you right, Sorry for my pure english. 08-03-2014 20:35 tarihinde, Jesus Reyes yazdı: AutoAdvance works on pressing ENTER (or TAB), in a DbGrid with AutoAdvance:=aaDown and while editing you press the ENTER key, the next row will be selected, that seems to be what your

[Lazarus] Suggestion for IDE

2014-03-12 Thread FreeMan
Hello, Is it possible add menu item on right click on form while designing, Hide none visual components. This is so useful while setting visual component position and sizes. Thank you -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread FreeMan
different way Yes Juha, FreeSparta is good viewing on video, But he wrote Already done by me :D and no share or detail. so, for get it, what we can do our self? Regards 14-03-2014 17:38 tarihinde, Juha Manninen yazdı: On Fri, Mar 14, 2014 at 5:15 PM, FreeMan freema...@delphiturkiye.com

Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread FreeMan
Did you try helping by providing source code? No, not YET, because I'm still learning and I'm not expert. I'm using rxset, I added #0025524. I have one more, I will add after more test. I wrote TExlookup Component, my plan I share it too but need more work on it. IDE code more complicated for

[Lazarus] How is work search path in CrossPlatform

2014-03-26 Thread FreeMan
Hello, I'm using fpc lazarus last svn on kubuntu 13.10 x64 I have a converted package from antique hellenic city name. its use fpcsrc/2.7.1/packages/x11/src/x.pp everything is okay on my system, but when I try crosscompile to win32 or win64 Fatal: Can not find unit x used by

Re: [Lazarus] How is work search path in CrossPlatform

2014-03-26 Thread FreeMan
You right Michael, I was wrote x.pp has just type and const definition I understood x.pp and x11 folder about X-server. Maybe my example not clear. Its just type definition no any function or etc const X_PROTOCOL = 11; X_PROTOCOL_REVISION = 0; type PXID = ^TXID; TXID = culong; My

Re: [Lazarus] How is work search path in CrossPlatform

2014-03-26 Thread FreeMan
That's the easy part. The package uses the target of the project. Set the project to win32 and the needed Lazarus packages will automatically be compiled for win32 too. I have no different way, I asked, can add, if just lpk is opened, and lpk's compiler options enabled select target os cpu

[Lazarus] Read error on Object inspector

2014-04-03 Thread FreeMan
Hello Kubuntu 13.10 x64 fpc svn update 27451 lazarus svn update 44592 Fieldlist Editor opened, select any field click any property on Object inspector, this error popup, click to ignore button then continue, but each click any property or change up/down on OI via keyup/keydown same error

Re: [Lazarus] [FIXED] Read error on Object inspector

2014-04-03 Thread FreeMan
Fixed after Rescan fpc source directory Thank you. 03-04-2014 16:42 tarihinde, FreeMan yazdı: Hello Kubuntu 13.10 x64 fpc svn update 27451 lazarus svn update 44592 Fieldlist Editor opened, select any field click any property on Object inspector, this error popup, click to ignore button

[Lazarus] TDBNavigator.OnClick has problem

2014-04-04 Thread FreeMan
Hello, if I use OnClick event, example procedure TFRM_.NAV_Click(Sender: TObject; Button: TDBNavButtonType); begin NAV_ClickXx(Button);// or PostMessage(Self.Handle, LM_USER, 1, - 2); end; I get this error, and I cannot handle where is it. Project UGS_Dental raised exception class 'External:

Re: [Lazarus] TDBNavigator.OnClick has problem

2014-04-05 Thread FreeMan
Yes, I tried debugger, debugger stoped onclick, its work step by step after end of onclick event, but loose control message process. mean f8 step jump to qtwidget, idle, and some in code. Project project1 raised exception class 'External: SIGFPE'. In file 'lclproc.pas' at line 860:

Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-10 Thread FreeMan
Hello Bart, I was used TCustomEditButton class. Color property need variable so can write it in lfm. FEdit: TBeEdit; has no color property, its come always clBtnFace on my system. Kubuntu 13.10 x64. last trunc. In design time change to any color, look at lfm file, no color property value

Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-11 Thread FreeMan
Thank you Bart, All voids goes to Bart at this time :) I tested, kubuntu 13.10 x64. if different color is clDefault (TEditButton.ColorclDefault), write it in lfm, if its equal to clDefault, not in lfm, but property value is clDefault ( if some one looking for in lfm file, can not see Color =

[Lazarus] about raised exception class 'External: SIGSEGV'

2014-04-14 Thread FreeMan
Hello, I get this errors some time, I can not handle this error so I don't know why raised. Project myproject raised exception class 'External: SIGSEGV'. - Ok and continue to run application Project myproject raised exception class 'RunError(216)'. - Ok and continue to run application

Re: [Lazarus] about raised exception class 'External: SIGSEGV'

2014-04-14 Thread FreeMan
Thank you for answer Luca, 14-04-2014 16:58 tarihinde, Luca Olivetti yazdı: It's an access to unallocated memory or trying to use a class instance that doesn't exist (i.e. it is nil). Since I don't know your program, maybe one of the FieldByName call is returning nil (i.e., a field with that

Re: [Lazarus] about raised exception class 'External: SIGSEGV'

2014-04-14 Thread FreeMan
14-04-2014 17:39 tarihinde, Martin Frb yazdı: If you run in the debugger, then when the debugger reports the error choose break, and open the stack window., and search the top line that is in your app. Sometimes the debugger does not get the stack, you can try to run again. The debugger may

Re: [Lazarus] about raised exception class 'External: SIGSEGV'

2014-04-15 Thread FreeMan
14-04-2014 18:14 tarihinde, Martin Frb yazdı: Make sure you turn off optimization and smart linking, for the debugger to run ok http://wiki.lazarus.freepascal.org/Debugger_Setup Check your link and mine settings. thats same. one more try and I get error. (pictures on your link need update

[Lazarus] TNotifyEvent TOnRxCalcFooterValues suggesstion

2014-04-15 Thread FreeMan
another My patch and suggestion for rxdbgrid. ( this patch can about my 'External: SIGSEGV' problem ) issue id is 0026027 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] How can I Backup and restore TCanvas class

2014-04-16 Thread FreeMan
Hello, I need backup active canvas, and when drawing and other codes finished, restore Canvas back. For this code, assign pointer just so Canvas.Brush.Color := clRed; change ACanvas.Brush.Color too. How can I Backup and restore TCanvas class ? Regards ACanvas := Canvas;//Backup canvas info

  1   2   3   4   5   6   >