Re: [MSEide-MSEgui-talk] Bug in tdbwdidgetgrid

2011-11-16 Thread Martin Schreiber
On Monday 14 November 2011 19.13:57 Martin Schreiber wrote: procedure tmainfo.tthreadcomp1_onexecute(const sender: tthreadcomp); begin tmsemysqlconnection1.connected:= true; -- There must be a single connection per thread Correction: -- There must be a single thread

Re: [MSEide-MSEgui-talk] The IDE doesn't build (windows7 x86_64)

2011-11-18 Thread Martin Schreiber
On Friday 18 November 2011 13.29:44 IvankoB for-mse wrote: Here, win64 is meant win for IA-64 ? Or crosscompiling to AMD64 (Core2Duo etc) ? There is no IA-64 FPC compiler. Meant is that there is no MSEide+MSEgui version which can be compiled with FPC X86-64 FPC compiler for the 64bit Windows

Re: [MSEide-MSEgui-talk] Graphic field in SQLite

2011-11-18 Thread Martin Schreiber
On Friday 18 November 2011 14.31:31 Christian Nobel wrote: I prefer using Zeos as it makes it easy/elegant changing from one type of database like SQLite to MySQL without to much changes to the program. Ah, the graphicfield problems are with ZEOS? Can you try with tmsesqlquery and

Re: [MSEide-MSEgui-talk] Graphic field in SQLite

2011-11-18 Thread Martin Schreiber
On Friday 18 November 2011 15.11:12 Christian Nobel wrote: But if opening (or rather trying to) the database with any of the SQLite man's, they now actually crashes, as they cannot read the BLOB correctly. This makes me a bit concerned, as who have actually done it correctly - FreePascal or

Re: [MSEide-MSEgui-talk] MSEgit

2011-11-18 Thread Martin Schreiber
On Friday 18 November 2011 15.28:20 Graeme Geldenhuys wrote: I'm using commit a48ae589508f7 from mseuniverse. When I try and open the git repository using msegit, I get an Access Violation trying /opt/mseuniverse/ I can open the /opt/msegui/ repository without problems. I thought I would

Re: [MSEide-MSEgui-talk] How to write til SQLite3.

2011-11-20 Thread Martin Schreiber
On Sunday 20 November 2011 18.57:18 Christian Nobel wrote: Den 20-11-2011 18:44, Christian Nobel skrev: Sometimes someone one just have to write ones problems down to find a solution. By comparing the .mfm files in the two projects, I found that there was one line different:

Re: [MSEide-MSEgui-talk] Deleting component got error message

2011-11-20 Thread Martin Schreiber
On Sunday 20 November 2011 20.16:27 wahono sri wrote: Strange, should be fixed already in 664496f4b64ad2b8dcc73e1ddb52b2bf9c46d7c5. Can not reproduce. I still can not reproduce. I got other bug in t*grid, that is in fields dialog form when we click tmsesqlquery.controller.fields elipsis.

Re: [MSEide-MSEgui-talk] How to write til SQLite3.

2011-11-20 Thread Martin Schreiber
On Sunday 20 November 2011 18.57:18 Christian Nobel wrote: Den 20-11-2011 18:44, Christian Nobel skrev: Sometimes someone one just have to write ones problems down to find a solution. By comparing the .mfm files in the two projects, I found that there was one line different:

Re: [MSEide-MSEgui-talk] Print extended ASCII character?

2011-11-22 Thread Martin Schreiber
On Tuesday 22 November 2011 09.52:15 wahono sri wrote: How to write various color text in trichstringdisp? It is possible? Sure. :-) Use the richvalue property and the various procedures in mserichstring.pas. richstringty = record text: msestring; format: formatinfoarty; flags:

Re: [MSEide-MSEgui-talk] Deleting component got error message

2011-11-24 Thread Martin Schreiber
On Thursday 24 November 2011 09.59:13 wahono sri wrote: Please try again with git master 844243cee49e361d75936589d7b68f5edc5c93c6. Deleting component is OK but in field editor dialog still got problem. selected (more than 1 field) field from fielddefs grid will replace 1 field Should

Re: [MSEide-MSEgui-talk] mysql / postgresql

2011-11-24 Thread Martin Schreiber
On Thursday 24 November 2011 17:11:18 Patrick Goupell wrote: How do you commit? Some MySQL servers don't have transactions. I was not using a commit in the postgresql program. I did not use a commit in the mysql program. It apparently did an autocommit to the mysql database. Or you used

Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Martin Schreiber
On 12/01/2011 06:32 PM, Patrick Goupell wrote: I am getting the following error when I open the project: Error reading sgDisplay.datacols.items: Component mainfo; Error reading tstringcols.valuefalse: Unknown proerty: valuefalse Any ideas what this is? tstringcols.valuefalse is a new

Re: [MSEide-MSEgui-talk] Is it possible to IFI-ize TMSSQLite3Connection ?

2011-12-03 Thread Martin Schreiber
On 12/03/2011 07:18 PM, IvankoB for-mse wrote: Is it possible to setup it for variable number of clients ? (that's ttxsqlqueries are created destroyed as clients connect disconnect ) Yes. There is a socket connection and a thread per client on the server and normally separate instances of

Re: [MSEide-MSEgui-talk] Is it possible to IFI-ize TMSSQLite3Connection ?

2011-12-03 Thread Martin Schreiber
On 12/03/2011 09:57 PM, IvankoB for-mse wrote: Is it possible to setup it for variable number of clients ? (that's ttxsqlqueries are created destroyed as clients connect disconnect ) Yes. There is a socket connection and a thread per client on the server and normally separate instances of

Re: [MSEide-MSEgui-talk] Idea - protection from key loggers

2011-12-04 Thread Martin Schreiber
On 12/04/2011 03:15 PM, IvankoB for-mse wrote: How about an option to draw virtual keyboard (with related chars) at password entry widget ? It will greatly protect encrypted RSA keys,.. Sure not in an OS window otherwise it can be intercepted by hacked API. Good idea. Entering the password

Re: [MSEide-MSEgui-talk] TDropdownListEdit and TKeyStringEdit

2011-12-05 Thread Martin Schreiber
On Monday 05 December 2011 16:28:03 IvankoB for-mse wrote: How to AddRow(['..','..']) to TDropdownListEdit and TKeyStringEdit ? (or how to fill these widgets easily) Have a look to the *.dropdown.cols property. Martin

Re: [MSEide-MSEgui-talk] Broken window layout in Windows

2011-12-05 Thread Martin Schreiber
Am 06.12.2011 08:08, schrieb wahono sri: Works for me. How to reproduce? Try to 'build' instead to 'make' the project. With fo_maximized true, if fo_maximized=false is OK. Works for me with maximized window. -- Cloud

Re: [MSEide-MSEgui-talk] Broken window layout in Windows

2011-12-06 Thread Martin Schreiber
On 12/06/2011 02:47 PM, wahono sri wrote: Works for me with maximized window. Strange!, Even I create ​new project with an empty form, this bug appear immediately. I am using Windows 7 64bit. Please send the project and steps how to reproduce. Martin

Re: [MSEide-MSEgui-talk] Broken window layout in Windows

2011-12-06 Thread Martin Schreiber
On 12/06/2011 02:47 PM, wahono sri wrote: Works for me with maximized window. Strange!, Even I create ​new project with an empty form, this bug appear immediately. I am using Windows 7 64bit. Please send the project and steps how to reproduce. Martin

Re: [MSEide-MSEgui-talk] Is it possible to IFI-ize TMSSQLite3Connection ?

2011-12-06 Thread Martin Schreiber
Am 06.12.2011 20:33, schrieb IvankoB for-mse: Great thanx ! Is the win-32 version doable (principially) ? Yes. Martin -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to

Re: [MSEide-MSEgui-talk] Broken window layout in Windows

2011-12-07 Thread Martin Schreiber
On 12/07/2011 05:50 AM, wahono sri wrote: Martin, did you see the bug in Windows? Yes, please try again with git master 807a8a4600598cc95e04665990a546077aede677. Martin -- Cloud Services Checklist: Pricing and

Re: [MSEide-MSEgui-talk] some IDE problems

2011-12-07 Thread Martin Schreiber
On 12/06/2011 08:24 PM, IvankoB for-mse wrote: Today, me had a sudden freezes in the IDE a silent crash once. Until the crash, me though that it was a hard-drive problem (is has some bad areas). Also noticed that IDE forgets which tab page was active after round trip to windows of other

Re: [MSEide-MSEgui-talk] Broken window layout in Windows

2011-12-07 Thread Martin Schreiber
On 12/07/2011 08:51 PM, wahono sri wrote: Yes, please try again with git master 807a8a4600598cc95e04665990a546077aede677. Fixed now. Great thank to you. BTW, please you check you paypal account, I sent $100. Thanks a lot! :-) Martin

Re: [MSEide-MSEgui-talk] Mse Data Aware component Tutorial

2011-12-08 Thread Martin Schreiber
On 12/08/2011 07:57 PM, nore...@z505.com wrote: - Activate grid.options dso_autofields. - Activate grid.optionsgrid og_rowinserting, og_rowdeleting, og_autofirstrow and og_autoappend. These are the ones that I missed.. in order to make it work seamlessly. p.s. is it possible to make a Non

Re: [MSEide-MSEgui-talk] database transactions

2011-12-08 Thread Martin Schreiber
On 12/08/2011 11:46 PM, nore...@z505.com wrote: Since mse data components seem to use transaction components all the time, does this mean certain setups like MyISAM in mysql need any special attention? Will they not work in some way? InnoDB tables in mysql support transactions but myisam not

Re: [MSEide-MSEgui-talk] how to froze col

2011-12-08 Thread Martin Schreiber
On 12/09/2011 08:03 AM, 刘治国 wrote: i have 5 col in a twidgetgrid how to froze the first 2 col or how to froze the last 2 col . What do you mean with freeze? In order to inhibit horizontal scrolling activate grid.datacols[n].options co_nohscroll. In order to show fix cols on the right of

Re: [MSEide-MSEgui-talk] database transactions

2011-12-09 Thread Martin Schreiber
On 12/08/2011 11:46 PM, nore...@z505.com wrote: Since mse data components seem to use transaction components all the time, does this mean certain setups like MyISAM in mysql need any special attention? Will they not work in some way? InnoDB tables in mysql support transactions but myisam not

Re: [MSEide-MSEgui-talk] How to check if is correct DLL function imported by the MSE DLL loader ?

2011-12-09 Thread Martin Schreiber
On 12/09/2011 01:16 PM, IvankoB wrote: The debugger shows incorrect imports. How? Martin -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist

Re: [MSEide-MSEgui-talk] MySql server gone away

2011-12-09 Thread Martin Schreiber
On 12/09/2011 07:49 PM, nore...@z505.com wrote: When I put the database components on the form as recommended, and then set the active property of the query to true, the mysql server authenticates fine (no password problem) but then it says mysql server gone away. when I try to set active

Re: [MSEide-MSEgui-talk] About default button and wdiget

2011-12-10 Thread Martin Schreiber
On 12/10/2011 09:46 AM, Wahono wrote: Strange! I know where the problem come from. I use event oncellevent, when I call iscellclick(info,[ccr_dblclick]), the problem is got. But after I remove iscellclick(info,[ccr_dblclick]), that is OK. procedure

Re: [MSEide-MSEgui-talk] MySql server gone away

2011-12-10 Thread Martin Schreiber
On 12/11/2011 12:32 AM, nore...@z505.com wrote: The project is here: http://z505.com/download/mse/mysqlproj.zip I will have to add your IP address to the allowed remote SQL ip addresses so you can connect to the mysql server I use. Otherwise access will be denied. Can you email me your ip

Re: [MSEide-MSEgui-talk] MySql server gone away

2011-12-10 Thread Martin Schreiber
On 12/11/2011 08:29 AM, nore...@z505.com wrote: I can connect now and can reproduce the problems. I'll check it. Martin Something is strange, lazarus has similar problems, but I was able to get lazarus working at run time after trying for a while. At design time the component gives the

Re: [MSEide-MSEgui-talk] MySql server gone away

2011-12-11 Thread Martin Schreiber
On 12/11/2011 08:56 AM, Martin Schreiber wrote: Please check the server logs. It seems the server crashes while querying the index information. Please don't fix the problem now, I first want to fix the missing error message in MSEide. There is a recursive master detail relationship in your

Re: [MSEide-MSEgui-talk] Default Form Clicks (RAD)

2011-12-11 Thread Martin Schreiber
On 12/11/2011 02:41 PM, wahono sri wrote: I agree with z505, to save time to think what's method name should be used. I propose this request 2 years ago, and Martin didn't agree. I still do not agree. :-) Martin --

Re: [MSEide-MSEgui-talk] MySql server gone away

2011-12-11 Thread Martin Schreiber
On 12/11/2011 07:58 PM, nore...@z505.com wrote: Removing q1.datasource seems to fix the problem. Martin In lazarus it warns about recursive use of datasource. i never understood exactly why this possibility exists... I can only think that sometimes one component needs datasource to be set,

Re: [MSEide-MSEgui-talk] Mse Data Aware component Tutorial

2011-12-12 Thread Martin Schreiber
On 12/08/2011 07:57 PM, nore...@z505.com wrote: I was thinking for CGI someone could drop components on a form like database connections, to hide this code away to not bloat up the main program code with connections and passwords etc. For example.. I drop some database components onto a

Re: [MSEide-MSEgui-talk] utf8string: which type is it mapped to ?

2011-12-12 Thread Martin Schreiber
On 12/12/2011 04:40 PM, IvankoB wrote: Looks most appropriate amongst others for crypting both single- multibyte data. I don't understand. Martin -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is

[MSEide-MSEgui-talk] News from MSEide+MSEgui

2011-12-12 Thread Martin Schreiber
Hi, MSEide+MSEgui 2.8rc1 for FPC 2.6 has been released: http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/2.8rc1/ There is also a new beta for MSEgit: http://gitorious.org/mseuniverse/mseuniverse/trees/msegit_release_0_8_2/tools/msegit A screenshot is here:

Re: [MSEide-MSEgui-talk] utf8string: which type is it mapped to ?

2011-12-12 Thread Martin Schreiber
On 12/13/2011 06:10 AM, IvankoB wrote: Looks most appropriate amongst others for crypting both single- multibyte data. I don't understand. PChar or AnsiString ? In which context? Martin -- Systems Optimization

Re: [MSEide-MSEgui-talk] utf8string: which type is it mapped to ?

2011-12-12 Thread Martin Schreiber
On 12/13/2011 08:31 AM, IvankoB wrote: Per char access plus string length. I still don't get the question. Please explain. How to pass it to C function expecting unsigned char* ? PChar(utf8_string) len=strlen(utf8_string) This returns a pointer to #0 in case utf8_string = ''. or

Re: [MSEide-MSEgui-talk] Can freeandnil be used within FINALLY section of TRY ?

2011-12-13 Thread Martin Schreiber
On 12/13/2011 11:24 AM, IvankoB wrote: Me have SIGSEGV there even for properly initialized pointers. //- var digest: pEVP_MD; // from OPRNSSL cipher: pEVP_CIPHER; // from OPRNSSL [..] try [..] finally if assigned(digest) then freeandnil(digest); // HERE if

Re: [MSEide-MSEgui-talk] Change shortcut problem in Linux

2011-12-15 Thread Martin Schreiber
On 12/15/2011 01:09 AM, wahono sri wrote: I can not change default shortcut in Linux. I run from MSEide-configure-shortcut. Please try again with git master 577449d805905ff38a6fe71cb7b020eb44f172a3. Martin -- 10 Tips

Re: [MSEide-MSEgui-talk] About FPC 2.4.6 and MSE

2011-12-16 Thread Martin Schreiber
On 12/16/2011 09:13 AM, wahono sri wrote: I know MSEGUI is tested in FPC 2.4.6 too. But I don't found link download to FPC 2.4.6. Is it from FPC trunk (current developmen source)? You probably mean FPC 2.6.0? There is the SVN fixes_2_6 branch:

Re: [MSEide-MSEgui-talk] Change shortcut problem in Linux

2011-12-16 Thread Martin Schreiber
On 12/16/2011 10:56 AM, wahono sri wrote: I attachd test project, just run and see this bug! Please try again with git master 5357534e7a82de31bcb19aa39ef24d827b21b402. Martin -- Learn Windows Azure Live! Tuesday, Dec

Re: [MSEide-MSEgui-talk] Website updates

2011-12-16 Thread Martin Schreiber
://mseide-msegui.sourceforge.net/ The Forum link is being replaced with a MSE Talk link. I think the text should be less Martin Schreiber centered, there are other people too who read the list, discuss themes and can answer questions. Martin

Re: [MSEide-MSEgui-talk] Change shortcut problem in Linux

2011-12-16 Thread Martin Schreiber
On 12/17/2011 03:40 AM, wahono sri wrote: I updated last trunk, in Windows and Linux KDE OK, in Gnome I got same problem. Thanks First I must fix my Gnome installation, it crashes all the time... Martin -- Learn

Re: [MSEide-MSEgui-talk] Change shortcut problem in Linux

2011-12-17 Thread Martin Schreiber
On 12/17/2011 03:40 AM, wahono sri wrote: I updated last trunk, in Windows and Linux KDE OK, in Gnome I got same problem. Thanks It works for me with Ubuntu 10.10 but not with Suse 12.1. Suse 12.1 Gnome is not stable enough for me to work with... Martin

Re: [MSEide-MSEgui-talk] Encrypted SQLite3 (with sqlite3d.dll from the SQLite Cipher): no such table for really existing table

2011-12-20 Thread Martin Schreiber
On 12/20/2011 08:20 PM, IvankoB for-mse wrote: An encryption problem? What happens with a wrong key? === The API (sqlite3.exe) reports about non-database or encrypted database file. Possibly, error message shoud be extended to tell about encryption issues. The file is operable -

Re: [MSEide-MSEgui-talk] Encrypted SQLite3 (with sqlite3d.dll from the SQLite Cipher): no such table for really existing table

2011-12-21 Thread Martin Schreiber
On 12/21/2011 10:03 AM, IvankoB wrote: With exactly the same application including the beforeconnect script with the key pragma? Oops, no such table both for plain (w/o pre-up TMSESQLScrypt) encrypted databases. Maybe, the Cypher version of SQLite3 (3.7.2) needs special treatment.

Re: [MSEide-MSEgui-talk] Debugging IDE in IDE: SIGTRAP stop in parent IDE on pressing F12 to display a form designer in the child IDE

2011-12-21 Thread Martin Schreiber
On 12/21/2011 10:57 AM, IvankoB wrote: Please provide simple reproducible testcase. Possibly there're memory errors, see the attached stack trace (happened on confirming test query is OK in the SQL editor): Please use -gh (heaptrace), maybe there is more information. PS: Martin, will

Re: [MSEide-MSEgui-talk] Encrypted SQLite3 (with sqlite3d.dll from the SQLite Cipher): no such table for really existing table

2011-12-21 Thread Martin Schreiber
On 12/21/2011 02:09 PM, IvankoB wrote: Have You received the Cipher versions of EXE DLL both for LINUX Win-32 ? Win32 only. Me sent a message with a attachment containing the files. Since it's quite large (approx 5M) it waits for moderator approval. Got it. Have You received

Re: [MSEide-MSEgui-talk] Encrypted SQLite3 (with sqlite3d.dll from the SQLite Cipher): no such table for really existing table

2011-12-21 Thread Martin Schreiber
On 12/21/2011 03:29 PM, IvankoB wrote: Since the subdir access doesn't work the executable directory is used to hold database files. Are you sure the working directory is c:\superprog? It's a syntax example :) Are you sure the working directory is c:\Documents and

Re: [MSEide-MSEgui-talk] Encrypted SQLite3 (with sqlite3d.dll from the SQLite Cipher): no such table for really existing table

2011-12-21 Thread Martin Schreiber
On 12/21/2011 05:21 PM, IvankoB for-mse wrote: Are you sure the working directory is c:\Documents and Settings\Администратор\Мои документы\MSE_PROJECTS\login\? Yes, it's. So you start the program by: cd c:\Documents and Settings\Администратор\Мои документы\MSE_PROJECTS\login\

Re: [MSEide-MSEgui-talk] code completion code insight

2011-12-21 Thread Martin Schreiber
On 12/22/2011 03:12 AM, nore...@z505.com wrote: Did you remove code completion from mseide because it wasn't fully implemented and wasn't working as good as you wanted? Or because it was causing some problem with the IDE? Because it was a relict of an experiment and never intended for

Re: [MSEide-MSEgui-talk] Razor-qt: a new lite Qt-based desktop environment

2011-12-21 Thread Martin Schreiber
On 12/21/2011 09:17 AM, Graeme Geldenhuys wrote: In the past many of us here in the MSEide mailing list, complained about the crap state of Linux desktop environments. Unity, KDE4, Gnome3 etc.. Well GTK has Gnome and XFCE, Qt only has KDE until now. Razor-qt is a new project creating a

Re: [MSEide-MSEgui-talk] Razor-qt: a new lite Qt-based desktop environment

2011-12-21 Thread Martin Schreiber
On 12/22/2011 07:55 AM, IvankoB wrote: It this new will be implementing MOC-code debugging (really handling XML-based MOC data in RTTI manner) then it could make revolution in QT development :) I don't understand the interrelation, Razor-qt is a desktop environment? Oops, no time to see

Re: [MSEide-MSEgui-talk] SigSegv in the IDE: around form inheritance

2011-12-22 Thread Martin Schreiber
On 12/23/2011 07:29 AM, IvankoB wrote: git master 49d1734bff64bc88294fd4f1d2262d4a7a030007 has some changes with inherited DB components, please try again. Still SigSegv in CHECKLINEBREAK on accessing info.text.text[283861] (on clicking within REFPERIODVIEWFORM): Simple testcase

Re: [MSEide-MSEgui-talk] SigSegv in the IDE: around form inheritance

2011-12-23 Thread Martin Schreiber
On 12/23/2011 10:21 AM, IvankoB wrote: Martin Schreiber mse00...@gmail.com писал(а) в своём письме Fri, 23 Dec 2011 13:23:43 +0500: On 12/23/2011 09:17 AM, IvankoB wrote: Can You run the PODPISKA ? (PostgreSQL based) I don't know. Maybe on Linux. Sent with large attachments. Please

Re: [MSEide-MSEgui-talk] SigSegv in the IDE: around form inheritance

2011-12-23 Thread Martin Schreiber
On 12/23/2011 03:14 PM, IvankoB wrote: Tried to send. PODPISKA (23dec2011) The problem is that DB components must be inactive while refreshing inherited field properties for example. Not easy to fix. Possibly Delphi compatibility must be dropped. Earlier it somehow worked. Or we should

Re: [MSEide-MSEgui-talk] how to set ctrl+mouseclick

2011-12-25 Thread Martin Schreiber
On 12/25/2011 02:10 PM, liuzg2 wrote: i set this iscellclick(info,[ccr_buttonpress],[ss_ctrl]) but it trigger when no ctrl pressed found if iscellclick(info,[ccr_buttonpress],[ss_ctrl]) then if info.mouseeventinfopo^.shiftstate*[ss_ctrl] =[ss_ctrl] git

Re: [MSEide-MSEgui-talk] about showmessage() showerror ......

2011-12-26 Thread Martin Schreiber
On 12/26/2011 10:11 AM, liuzg2 wrote: uses //heaptrc, {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} msegui, main, mseconsts, mseconsts_zh ;//,datamodule,msedatamodules; //{$IFDEF WINDOWS}{$R laz.rc}{$ENDIF} {$R *.res} begin setlangconsts('zh');

Re: [MSEide-MSEgui-talk] TDBEnumEditLB: empty_text

2011-12-26 Thread Martin Schreiber
On 12/26/2011 12:10 PM, IvankoB wrote: How to cause it to display this text if no selection made in the list ? This text will be displayed if the field value is NULL. Martin -- Write once. Port to many. Get the SDK

Re: [MSEide-MSEgui-talk] IDE: Project-Tree-Units: error message when clicking on inhertired event handler in descendant form

2011-12-26 Thread Martin Schreiber
On 12/26/2011 12:54 PM, IvankoB wrote: For instance, in the PODPISKA, add refs/common/RECEDITFORM.pas to the project tree then click REFCOMPANYEDITFORM.btnSave.OnExecute ( = treceditfo.recsaveexec ). In object inspector? Works for me. Which error message? Martin

Re: [MSEide-MSEgui-talk] *.mfm-file closed manually sometimes reopens on saving project or saving all

2011-12-26 Thread Martin Schreiber
On 12/26/2011 01:16 PM, IvankoB wrote: if both pas- mfm-files were loaded to the IDE and the pas-fiel was closed earlier. Steps to reproduce? -- Write once. Port to many. Get the SDK and tools to simplify

Re: [MSEide-MSEgui-talk] The PODPISKA: RefCompanyEditForm.dbcdeDateBegin needs FormatEdit/FormaDisplay to match such format of underlying DB

2011-12-26 Thread Martin Schreiber
On 12/26/2011 02:02 PM, IvankoB wrote: Otherwise it refuses to post changes with message about date format mismatch. So, FormatEdit/FormaDisplay become required (not auto-tunable) properties. As designed ? No, formatedit/formatdisp are independent of DB format. Are you sure the error is on

Re: [MSEide-MSEgui-talk] The POPISKA: tdbcalendardatetimedit refuses to accept any date

2011-12-27 Thread Martin Schreiber
On 12/27/2011 07:40 AM, IvankoB wrote: It's on dayopenform.dbcdeOperDay. See the attachment to reproduce. Please try again with git master 7bc68972228d65b75affb3d7860cfed0df25592d. Martin -- Write once. Port to many.

Re: [MSEide-MSEgui-talk] The PODPISKA: not saving data on 1-st attempt

2011-12-28 Thread Martin Schreiber
On 12/29/2011 08:11 AM, IvankoB for-mse wrote: sender.executedirect()? works but the issue with no commit on 1st attempt i still here. With git master 7bc68972228d65b75affb3d7860cfed0df25592d +? PS: Is it 100% sure that executedirect is limited to single statement ? Internally yes.

Re: [MSEide-MSEgui-talk] The PODPISKA: not saving data on 1-st attempt

2011-12-29 Thread Martin Schreiber
On 12/29/2011 02:09 PM, IvankoB wrote: Steps ? Then it seems that You forgot to call GIT PUSH since me have seen the SQLDB updates just now. You probably don't compile with current MSEgui. I need to add msearrayutils to uses in dmprint.pas.

Re: [MSEide-MSEgui-talk] The IDE : exception on F12 trying to call form designer for DMMAINMO

2011-12-29 Thread Martin Schreiber
On 12/29/2011 02:18 PM, IvankoB wrote: Althought the dmmainmo form can be open via MainMenu:View. The prj-file is here attached. Try 'File'-'Close all'. There are possibly dmmainmos's in different directories. Martin

Re: [MSEide-MSEgui-talk] The PODPISKA: not saving data on 1-st attempt

2011-12-29 Thread Martin Schreiber
On 12/29/2011 11:20 AM, IvankoB for-mse wrote: sender.executedirect()? works but the issue with no commit on 1st attempt i still here. With git master 7bc68972228d65b75affb3d7860cfed0df25592d +? Not yet fixed. Works for me.

Re: [MSEide-MSEgui-talk] about tsqlresult and tmsesqlquery

2011-12-30 Thread Martin Schreiber
On Friday 30 December 2011 09.41:45 liu...@21cn.com wrote: ok ! but found another bug . (odbcdatabase ) when fisrt get tsqlresult1.cols[0].asintegerresult ok then next tsqlresult1.cols[0].asinteger tsqlresult1.cols[0].asinteger tsqlresult1.cols[0].asinteger ...

Re: [MSEide-MSEgui-talk] about tsqlresult and tmsesqlquery

2011-12-30 Thread Martin Schreiber
Am 30.12.2011 12:54, schrieb liuzg2: tsqlresult is not scrollable and has a buffer for the current record only. cols[0] is the first field, cols[1] the second field and so on. tsqlresult.next loads the next record. tmsesqlquery is scrollable and has buffers for all records of the resultset.

Re: [MSEide-MSEgui-talk] The PODPISKA: not saving data on 1-st attempt

2011-12-30 Thread Martin Schreiber
Am 30.12.2011 10:50, schrieb IvankoB: It's OK on me in LINUX too, but in win-32 me don't even get into: Works for me on Windows too. function TSQLTransaction.Commit(const checksavepoint: boolean = true): boolean; //var // bo1: boolean; begin result:= true; if active then begin

Re: [MSEide-MSEgui-talk] postgresql first time usage

2011-12-30 Thread Martin Schreiber
On Friday 30 December 2011 19:14:59 Patrick wrote: I am learning how to use a postgresql database. I can read / write the database via sql statements. I would like to use a tmsesqlquery that has parameters. So far I have not had any success. Is there an example somewhere of what I need to

Re: [MSEide-MSEgui-talk] postgresql first time usage

2011-12-30 Thread Martin Schreiber
On Friday 30 December 2011 21:02:28 Patrick wrote: Getting closer. The following statement works with a postgressql database with the params fields set. Insert into messages (touserid, fromuserid, created, message, replytomessageid) values ($1, $2, $3, $4, $5); But this does not work

Re: [MSEide-MSEgui-talk] The PODPISKA: refeditionviewform.dbsdlbCompany doesn't display data which are actually present

2012-01-02 Thread Martin Schreiber
On Sunday 01 January 2012 17.55:57 IvankoB for-mse wrote: Which state of a local dataset after calling Append() to it ? dsinsert. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex

Re: [MSEide-MSEgui-talk] The PODPISKA: refeditionviewform.dbsdlbCompany doesn't display data which are actually present

2012-01-02 Thread Martin Schreiber
On Monday 02 January 2012 12:50:41 IvankoB for-mse wrote: Me mean AppendRecord([]) most probably repeated as many times as needed to append many records. For this procedure, optional autopost parameter would be appreciate. appendrecord([]) calls Append()-CheckBrowseMode()-Post(). Post must be

Re: [MSEide-MSEgui-talk] text file

2012-01-02 Thread Martin Schreiber
On Monday 02 January 2012 16.03:17 Patrick wrote: What do you use to read a text file? Please have a look to lib/common/kernel/msestream.pas. Is there an example? We don't know enough about your task, sorry. Martin

Re: [MSEide-MSEgui-talk] text file

2012-01-02 Thread Martin Schreiber
On Monday 02 January 2012 19.40:46 Patrick wrote: I'll look at the msestream.pas source. What I want is a basic open the file repeat read a text line process the line until eof close the file Use ttextstream, ttextdatastream or Pascal text functions.

Re: [MSEide-MSEgui-talk] UTF8 Linux

2012-01-03 Thread Martin Schreiber
On Tuesday 03 January 2012 04.25:37 wahono sri wrote: My application have been succesfully translated to Chinese and Arabic (experimental). But only in Windows, in Linux arabic and chinese is broken. But in LibreOffice, I can write chinese and arabic normally. What is libraries used by

Re: [MSEide-MSEgui-talk] The PODPISKA: refeditionviewform.dbsdlbCompany doesn't display data which are actually present

2012-01-03 Thread Martin Schreiber
On Tuesday 03 January 2012 12.16:13 IvankoB for-mse wrote: A duifficult to fix change. For example, calling Post triggers oe_notnull constraints before displaying bound GUI widgets. And that fieldparamlinks syncronize to not yet Posted values is correct and the same is wrong for tdb*displb, as

Re: [MSEide-MSEgui-talk] Excetionless function to go saved bookmark ?

2012-01-03 Thread Martin Schreiber
On Tuesday 03 January 2012 16.56:51 IvankoB wrote: That's no DB exception if not found. tmsebufdataset.findbookmark(). -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development.

Re: [MSEide-MSEgui-talk] modern Linux desktops

2012-01-04 Thread Martin Schreiber
On Tuesday 03 January 2012 21.50:19 nore...@z505.com wrote: Same here. I found linux to be slower than Windows XP and Windows 2000 sadly, I think part of it is the X11 being slower than win32 gui calls, but I am not sure since I have never profiled to see what is slowing it down. Even mozilla

Re: [MSEide-MSEgui-talk] modern Linux desktops

2012-01-04 Thread Martin Schreiber
On Tuesday 03 January 2012 22.33:23 IvankoB for-mse wrote: From my short LINUX C/C++ experience, it looks really difficult to write resourse-relaxed apps for LINUX. Just look into GTK2+, KDE4+ etc application bricks. Also all they're C++ based thus a lot of dynamic memory fragmentation which

Re: [MSEide-MSEgui-talk] The IDE: manually open MFM file will get focused on each saving (very annoying!)

2012-01-05 Thread Martin Schreiber
On Thursday 05 January 2012 18.25:42 IvankoB for-mse wrote: Hmm...Tomorrow me'll send the project. Today me even had an AV around. BTW, in the found files list (Search in files..), double clicking PAS-files sometimes bring to FG its MFM-brother instead. git master

Re: [MSEide-MSEgui-talk] modern Linux desktops

2012-01-05 Thread Martin Schreiber
On Thursday 05 January 2012 19.29:57 Graeme Geldenhuys wrote: Kristian Høgsberg stated that his goal was that every frame is perfect, by which he mean that applications will be able to control the rendering enough that we'll never see tearing, lag, redrawing or flicker. So I take it

Re: [MSEide-MSEgui-talk] playing catchup always

2012-01-05 Thread Martin Schreiber
On Thursday 05 January 2012 21.52:09 Lars wrote: (I guess something like COM by microsoft was invented so you could reuse components within other tools, i.e. C++ COM components worked in VB, right? I don't know much about COM technology, or activex. I remember one day I tried installing an

Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Martin Schreiber
On Friday 06 January 2012 16.26:35 Christian Nobel wrote: Is the initializesqlite3(['./libsqlite3.so']) the way forward in that game, like the SQLiteLibraryName:='./libsqlite3.so' is it when talking Lazarus? Yes. --

Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Martin Schreiber
On Friday 06 January 2012 20.01:26 Christian Nobel wrote: Den 06-01-2012 19:47, Martin Schreiber skrev: BTW, using alien to the system own standard libraries on Linux is possibly no good idea. By alien, do you mean the usage I want, regardless of there is a standard library or not? Alien

[MSEide-MSEgui-talk] What happend to Debian/Ubuntu MSEide+MSEgui packages?

2012-01-08 Thread Martin Schreiber
Hi, What happend to the Debian/Ubuntu MSEide+MSEgui packages? MSEide+MSEgui 2.8 will be released soon, Debian/Ubuntu still has 1.8? Martin -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex

Re: [MSEide-MSEgui-talk] What happend to Debian/Ubuntu MSEide+MSEgui packages?

2012-01-08 Thread Martin Schreiber
On Sunday 08 January 2012 18.36:29 IvankoB for-mse wrote: Me don't know whom/where to contact ! The main problem is the tight adherence to FPC versions thus full rebuilding MDSEgui units is needed as FPC gets updated - it means permanent tracking of the state which has been revealed to be

Re: [MSEide-MSEgui-talk] What happend to Debian/Ubuntu MSEide+MSEgui packages?

2012-01-08 Thread Martin Schreiber
On Monday 09 January 2012 05.31:22 IvankoB for-mse wrote: MSEide+MSEgui package with the newest Debian FPC package? == Because DEBIAN distros ofter increment in their versions and any of newer version may contain newer FPC - this breaks (and broken) the MSEgui packages - it means

Re: [MSEide-MSEgui-talk] about tdatetimedisp,tdatetimeedit

2012-01-08 Thread Martin Schreiber
On Monday 09 January 2012 06.40:08 liuzg2 wrote: when kind is dtk_time hh:mm:ss can not see ss What is the value of formatsettingsmse.shorttimeformat on your system? Martin -- Ridiculously easy VDI. With Citrix

Re: [MSEide-MSEgui-talk] What happend to Debian/Ubuntu MSEide+MSEgui packages?

2012-01-09 Thread Martin Schreiber
On Monday 09 January 2012 09.18:56 IvankoB for-mse wrote: Did you contact this people in order to synchronize FPC-MSEide+MSEgui debian package release cycles? === How to say... Well, from my experience, there's approx 3..5% probability of the response in reasonable time (all menthors

Re: [MSEide-MSEgui-talk] What happend to Debian/Ubuntu MSEide+MSEgui packages?

2012-01-09 Thread Martin Schreiber
On Monday 09 January 2012 10.14:52 IvankoB for-mse wrote: Compile all units with the Debian FPC package, build the MSEide + tools binaries. 3. Build the MSEide+MSEgui *.deb Packages, add a dependency from FPC package. = It's the current way - the problem is to propagate the

Re: [MSEide-MSEgui-talk] What happend to Debian/Ubuntu MSEide+MSEgui packages?

2012-01-09 Thread Martin Schreiber
On Tuesday 10 January 2012 06.59:36 IvankoB for-mse wrote: For the future, we MUST come (regulations, debates,...) to concord on install-time building units - with FPC, common build time does not exceed 40sec..1min. The same for FpGUI possibly for large LAZARUS... Assume one wants to upgrade

Re: [MSEide-MSEgui-talk] TTabWidget: TabPage can't be resized with mouse

2012-01-10 Thread Martin Schreiber
On Tuesday 10 January 2012 14:01:42 IvankoB wrote: Also, after resizing via bounds_cy, the page refills its area after changing frame_*. ttabpage always fills the whole ttabwidget client area. Please resize ttabwidget instead of ttabpage. Martin

Re: [MSEide-MSEgui-talk] File-New-SimpleForm.. is wrongly painted initially

2012-01-12 Thread Martin Schreiber
Am 12.01.2012 11:49, schrieb IvankoB: see the attachment. Hmm, Windows does not allow windows with width 104 pixels. Martin -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now!

Re: [MSEide-MSEgui-talk] TMSSQLQuery.controller.refresh(..) doesn't fire AfterScroll in no data after the refresh

2012-01-12 Thread Martin Schreiber
Am 12.01.2012 16:29, schrieb IvankoB: As designed ? What means in no data? Martin -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2

Re: [MSEide-MSEgui-talk] TMSSQLQuery.controller.refresh(..) doesn't fire AfterScroll in no data after the refresh

2012-01-13 Thread Martin Schreiber
Am 13.01.2012 09:21, schrieb IvankoB: Two gueries - qry1 reads from table1, qry2 reads/writes from/to table1. After writting by qry2, qry1 is refreshed so that to redraw changes made by qry2. How is qry1 refreshed? qry1.controller.refresh(..); Strange. Please set a breakpoint to

  1   2   3   4   5   6   7   8   9   10   >