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 per connection

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 versions.

 BTW,
 
 Also found:
 
 1) the IDE icon has no transparency in Windows7 aero;
 
The MSEide icon has a cl_ltgray to cl_gray fade as background. The reason is 
to isolate the icon color from the different desktop and window frame colors.

 2) MSEgui apps don't take default OS font size (
 small=default/larger/large) in consideration (the setting of
 Desktop/Appearance/FontSize@ is meant here) so fonts may look very
 small until --FONTALIAS is applied
 
MSEgui does not query desktop settings, it must be done in application if 
necessary.

 PS:
 Now is the time to adopt to Windows7 (and amd64) - eventually it'll
 become unavoidable :)
 
Where is the sponsor?

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 
tsqlite3connection for a test?

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 the rest of the world?
 
Store the different blob data to a file and check the header structure. If the 
rest of the world does not store plain graphic data try to find out what the 
rest of the world uses instead an make a converter from plain graphic data to 
rest of the world format. Or maybe ZEOS has a special format for ft_graphic 
field? What happens with a simple ft_blob field?

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 give your tool a run for it's money, so I tried to open the
 /opt/git/git repository (the repository of git itself). I got the Access
 Violation again.
 
Probably 64 bit? I never checked 64 bit MSEgit up to now. I'll do now. :-)

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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:
 
 controller.options = [dso_utf8, dso_autoapply, dso_autocommitret]
 
 going back I found that in the query I have to open the controller
 dropdown, and then the options, and set dso_autoapply, dso_autocommitret
 to true.
 
 Not exactly intuitive, but ok.
 
It is a relict of the time where MSEgui SQLDB was not forked and I could not 
make changes in TSQLQuery and other FPC datasets. So I was forced to use 
tdatasetcontroller to fix FPC bugs by workarounds and to implement 
improvements and extensions.

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.
 If in fields grid has field (for example 1 field only), selected
 (more than 1 field) field from fielddefs grid will replace 1 field
 only.
 
Please try again with git master 844243cee49e361d75936589d7b68f5edc5c93c6.

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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:
 
 controller.options = [dso_utf8, dso_autoapply, dso_autocommitret]
 
Should dso_autoapply and dso_autocommitret be set by default?

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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: richflagsty;
 end;

function setfontcolor(var formats: formatinfoarty; aindex: integer; 
   len: halfinteger; color: colorty): boolean;
 //true if changed
function setcolorbackground(var formats: formatinfoarty; aindex: integer;
  len: halfinteger;
  color: colorty): boolean;
 //true if changed

function updatefontstyle(var formats: formatinfoarty; aindex: integer;
  len: halfinteger;
  astyle: fontstylety; aset: boolean): boolean;
 //true if changed
function setcharstyle(var formats: formatinfoarty; aindex,len: halfinteger;
const style: charstylety): boolean;
  //true if changed
function getcharstyle(const formats: formatinfoarty; aindex: integer): 
charstylety;

procedure setselected(var text: richstringty; start,len: halfinteger);

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 already be fixed in 844243cee49e361d75936589d7b68f5edc5c93c6. Are you 
sure that you used a fresh compiled MSEide?

 only. And it seems selected fields always sorted automatically.
 
Please try again with git master 664fcd7af6742ee09318783ec2c5639fc4a0c8cb
.

Martin
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 a MySQL backend without transaction support. AFAIK InnoDB is the 
only MySQL backend with transactions.

 Will I have to explicitly start transaction, insert, commit transaction?

Call tmsesqltransaction.commit() after insert or activate 
tmsesqltransaction.options tao_fake. tao_fake does not work for Firebird.

Martin



--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 property, your MSEide binary does not
know it. It is possible to compile the new MSEide with the old anyway,
click 'File'-'Close all', press F9, the new MSEide will be compiled and
runs.

 I downloaded the msegui package from the msegui.org website.  It is 
 version 2.5 unstable.
 
Please use the original source:
http://gitorious.org/mseide-msegui
Install git, run
git clone git://gitorious.org/mseide-msegui/mseide-msegui.git

I don't know the msegui package from the msegui.org website.

Martin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 the datamodules.

Martin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 the datamodules.

 
 Appzs, could You provide a simple demo project, for SQLIte 3 + SSL ?
 Me haven't dealt with IFI's DB related facilities up to now.
 
I'll see what I can do.

Martin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 by mouse click?

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 applications - me always returned to the main
 IDE form (as expected, me guess) then F12  set main application form
 not last worked (eduited) to be active.
 
Works for me. An IceWM problem?

Martin

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 GUI program by dropping database
 components onto a form (or frame) and then making queries on that database
 and outputting them to command line?
 
Yes, use 'File'-'New'-'Form'-'Datamodule', in uses of the main program,
list msenogui instead of msegui. An example is here:

http://gitorious.org/mseuniverse/mseuniverse/trees/master/attic/msedocumenting/mse/trunk/help/tutorials/nogui/noguiapp

Martin

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 so.  How do mse database components deal with
 myisam, if it doesn't support transaction?
 
MSEgui sends the transaction commands as usual, Myisam ignores them and
uses implicit transactions instead. It is possible to switch to implicit
transactions on all databases which support it by setting
tmsesqltransaction.options tao_fake.

Martin

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 the grid set
grid.fixcols.oppositecount  0.

Martin

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 so.  How do mse database components deal with
 myisam, if it doesn't support transaction?

MSEgui sends the transaction commands as usual, Myisam ignores them and
uses implicit transactions instead. It is possible to switch to implicit
transactions on all databases which support it by setting
tmsesqltransaction.options tao_fake.

Martin

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 to true again, it just remains as false and
 won't switch to true.
 
 I have to then go into the other component and changed connected to
 false and then try setting active to true again in other component. Then
 when I set active to TRUE, it either stays as false or it gives me mysql
 gone away message.
 
 Any idea?
 
AFAIK mysql closes the connection if there is no traffic some time.
Maybe there is a connection parameter to influence the behaviour? I
don't know MySQL well, possibly Wahono knows more.

Please show the exact error message.

Martin

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 tfrmfindsalesorderidfo.wgrid_oncellevent(const sender: TObject;
var info: celleventinfoty);
 begin
  if iscellclick(info,[ccr_dblclick]) then begin
   addselection(tpopupmenu1);
  end else if iscellkeypress(info,key_space,[],[]) then begin
   addselection(tpopupmenu1);
  end;
 end;
 
iscellclick() sets es_processed in key event info if it returns true by
key press.
Please use

iscellclick(info,[ccr_dblclick,ccr_nokeyreturn]);


Martin

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 privately?
 
 If your IP address changes all the time then I will need to add a wildcard
 like 132.324.%.% but only if it is changing lots.
 
 In this project I open it in MSEIDE and set query (q1) to active, and it
 says mysql gone away, and it stays as false and doesn't go to true if I
 try again.
 
I can connect now and can reproduce the problems. I'll check it.

Martin

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 gone away message.
 
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.

Martin

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 project. Please
remove q1.datasource. git master
8d6a361c57b40aea80a8bdd706b25500eadcde5d has a check for recursion.

Martin


--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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, whereas other times the other one
 needs datasource to be set.
 
You do not understand the purpose of tsqlquery.datasource? It can be set
in the detaildataset to a datasource which is connected to the master
dataset. If the master dataset scrolls, the values of parameters of the
detail dataset with equal names as fields in the master dataset are set
to the field values and referesh() of the detail dataset will be called.
For MSEgui the use of tfieldparamlink or lookup fields with local
indexes is normally better.

Martin

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 form, setup the
 connections, passwords, IP address, but then I can run the queries myself
 using sQL..
 
 writeln(SomeQuery.SQL('SELECT * from Foo'));
 
 
 The program only has a query in it, all the connections are set up on the
 form using RAD!
 
Have a look to tsqlresult in tab DB and the getsqlresult*() functions in
lib/common/db/msesqlresult.pas.

Martin

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[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:

http://mseide-msegui.sourceforge.net/pics/msegit.png

Have a lot of fun!

Martin

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 @utf8_string[1] 
 len=length(utf8_string)?

This returns NIL in case utf8_string = ''.

I normally use

 c_function(pointer(utf8_string),length(utf8_string));

Martin

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 assigned(cipher) then freeandnil(cipher);
 end;
 //-
 
 Can't it be OPENSSL specific due to some memory management ?
 If can not be used then how to free memory so that it will be called  
 anyway ?
 
Freeandnil can be used for pascal class instances only. In order to free
memory assigned by OpenSSL probably OpenSSL functions must be used.

Martin

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/fixes_2_6/
and the tag release_2_6_0:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/release_2_6_0/
2.6.0rc1 packages are here:
ftp://ftp.freepascal.org/fpc/beta/2.6.0-rc1

Martin

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Website updates

2011-12-16 Thread Martin Schreiber
On 12/16/2011 08:43 PM, Patrick wrote:
 I have updated the website Download page.  Feedback is welcome.
 
Thanks! Please add a link to the source and binary packages:
http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/
How to install the packages is in README.TXT and here:
http://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

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 - checked within sqlite3.exe database:
 
 pragma key = 'password';
 select count(*) from refl_operator;
 # 0
 
The same application works without encryption?

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.  
 But the one worths of it
 (AFAIK, iPhone etc smart phones use it for private data).
 Have You received the Cipher versions of EXE  DLL both for LINUX  Win-32  
 ?
 
Win32 only.

 against program work directory (design time)
 
 That's if the program executable is c:\superprog\prg.exe  the database  
 is c:\superprog\db\data.db
 then connection.databasename=db\data.db can't be used ( db/data.db too  
 ) .
 
 The full path of c:\Documents and Settings\Администратор\Мои  
 документы\MSE_PROJECTS\login\db\test.db
 converted to
 /c:/Documents and Settings/Администратор/Мои  
 документы/MSE_PROJECTS/login/db/test.db is
 accepted well.

What is the working directory when you run the program?

Martin


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 You be in a long vacation on Christmans ?
 Why me ask, there seems to be a lot of work in MSE* (older  new projects)  
 and possibly Your support will be in a great demand.
 
I don't know the word vacation, I am here. ;-)

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 the Cipher versions of EXE  DLL both for LINUX 
 Win-32
 ?

 Win32 only.

 

 Sources, win-32 build script (MingW-32)  binaries are here attached.
 Needs libeay32 in global library directory.
 

 What is the working directory when you run the program?


 
 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?

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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
Settings\Администратор\Мои  документы\MSE_PROJECTS\login\?

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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\
thesuperprogram.exe

?

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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
productive use and there were too many user complaints.

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 lighter desktop environment
 using Qt.
 
 The download is nice and small, pre-build packages for many Linux
 distros exist, it can use any window manager, but the developers
 recommend Openbox. I just installed it on Ubuntu 10.04 and have played
 with it for the last hour. It is fast, simple and stays out of the
 way, which I think is great! I think there is some potential in this
 project - especially considering the state of the Linux desktop at the
 moment.
 
 
 http://www.osnews.com/story/25448/Razor-qt_A_Fast_Qt_Desktop_Environment
 
 http://razor-qt.org/
 
Something completely new again...
Do desktop program start icons work for you?

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 what's exactly :)
 Smth like a lightweight KDE replacement ?
 
Yes.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 necessary.

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 send it to Graeme's NNTP on
 news://opensoft.homeip.net:119/mseide-msegui.binary

 
 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.

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 eliminate these somehow ?
 
Yes, I made some improvements which are not 100%. Now somehow must
become 100%...

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 master 9d0efa79822058a06367c578ef1f7a34cde05e8b has same parameters
as iscellkeypress():

function iscellclick(const info: celleventinfoty;
 const restrictions: cellclickrestrictionsty = [];
 const shiftstatemustinclude: shiftstatesty = [];
 const shiftstatemustnotinclude: shiftstatesty = []): boolean;


Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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');
 
 main form oncreate
 
   font.name:=font_name;
   font.charset:=font_charset;
   font.height:=strtoint(fornt_height);
 
 font_charset='GB2312';
fornt_height='15';
font_name='Times New Roman';
 
 
This sets the font of the main form and children only. If the form has
no own font this is actual stockobjects.fonts[stf_default]. Message
windows use stockobjects.fonts[stf_message].

Please use the command line parameter
--FONTALIAS=stf_default,Times New Roman,15

or set in startup code

uses
 msefont,msegraphics;
...
 registerfontalias('stf_default','Times New Roman',fam_nooverwrite,15);


or access the stock fonts directly:

uses
 msestockobjects,mseguiglob;
...
 stockobjects.fonts[stf_default].name:= 'Times New Roman';
 stockobjects.fonts[stf_default].height:= 15;
 stockobjects.fonts[stf_message].name:= 'Times New Roman';
 stockobjects.fonts[stf_message].height:= 15;

The last method needs git master
b62f03f04a8764bd561044d8d37b1e8e561af679 because of a bug.
font.charset is not used in MSEgui.

Martin


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 DB post and not on text-date conversion in tdbedataedit?

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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. Please read the Postgres documentation if pqexec() can
handle multiple statements. The pqexec() call is protected by a
savepoint if pqco_usesavepoint is activated so statement rollback
because of a DB error should be OK.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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
  ...
  result =484808
 
  and  same for
 tsqlresult1.cols[i].asstring
 
  when result =''
  。
  may be odbc griver bug.
  if get like this
  tsqlresult1.cols[i].asinteger---
  tsqlresult1.cols[i+1].asinteger
  tsqlresult1.cols[i].asinteger---
  then
 
  Could not get field data for field 'id' (index 1). ODBC error details:
  Record 1: SqlState: 07009; NativeError: 0; Message: [Microsoft][ODBC SQL

  
 so   i must get value order by order
and get only one times .
  but tmsesqlquery  is all ok
 may be tsqlresult's bug?
  
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.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.


 finaly  i go back to tmsesqlquery

tsqlresult has less overhead than tmsesqlquery. If you only need to read 
data from DB and not need to scroll back tsqlresult should be used. 
There are some useful procedures getsqlresult*() which return the data 
as variants or arrays.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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
 if checksavepoint and (fsavepointlevel= 0) then begin
  pendingaction:= cacommit;
  exit;
 end;
 [...]
 //

 even on 2-nd (seccessfull) attempt.

 Maybe, there're problems in my client PG setup causing silent rolling back
 but such situation should be intercepted as an exception by MSEgui/SQLDB,
 correct ?

I think so. No stop if Project'-'Debugger'-'Stop on Exception' is set?
Do you have

procedure tmsesqlquery.dobeforeapplyupdate;
begin
  inherited;
  if writetransaction  nil then begin
   with writetransaction do begin
ftransopenref:= opencount;
   end;
  end;
end;

in msesqldb.pas, is it called?

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 construct / do to
 successfully use a parametized query.

Did you use MSEgui sqldb components with other database (Firebird, MySQL, 
Sqlite3) before? Postgres works the same.
A simple project:

Place a tmsepqconnection (conn), tmsesqltransaction (trans), tmsesqlquery 
(query), tmsedatasource (dataso), tdbnavigator (navigator) and a 
tdbstringgrid (grid) on the form, all from tab DB.
Set conn.transaction to trans, query.database to conn, dataso.dataset to 
query, navigator.datasource to dataso, grid.datalink.datasource to dataso.
Setup the connection properties in conn.
Enter the query statement (ex. select * from table1; without quotes) in 
query.SQL.
Activate grid.options dsgo_autofields.
Check if query.controller.options dso_autoapply and dso_autocommitret are set, 
it is the default in MSEgui git master version.
Set query.active to true.
If the table has a primary key the parametrized insert, update and delete 
statements were built automatically.

Please write what you want to achieve with the query.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 with a mysql database.

 Insert into messages (touserid, fromuserid, created, message,
replytomessageid) values (?, ?, ?, ?, ?);

 I get an error of

 mysqlDB: Paramtype ftUnknown not supported.

 I use the same tmsesqlquery for both databases.  I just change the
 statement depending on which database I use.


tmsesqlquery is designed for scrollable resultsets. For SQL statements which 
don't return data tsqlresult should be used.
Set tsqlstatement.sql to

insert into messages (touserid, fromuserid, created, message, 
replytomessageid)
values (:touserid, :fromuserid, :created, :message, :replytomessageid);

That will initialize tsqlstatement.params, see attachment. Either set 
params[n].DataType at design time or params[n].as* at runtime in order to 
define the data type.
For queries which return data tsqlresult can be used.

Martin
attachment: tsqlstatement.png--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 
called one time after last appendrecord() if there is no CheckBrowseMode() 
later.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.
http://www.freepascal.org/docs-html/ref/refsu18.html#x42-490003.3.4
http://www.freepascal.org/docs-html/rtl/system/filefunctions.html

 Is the msestream object on the palette somewhere?

No.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 MSEgui to display UTF8 string?

fontconfig and xft or X-core fonts. Select a font which provides the glyphs 
for all languages you need. Right to left scripts are not supported by 
MSEgui.

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 designed ?

Call TDataset.DisableControls() before manipulating the dataset and 
TDataset.EnableControls() after.

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 firefox seems to load web pages slower and less snappy
 than MS Windows.  BSD the same thing - even on a non kde bsd desktop I
 find it less snappy than win32. So the only common thing between bsd and
 linux, is X11 window system - so x11 may be slowing things down vs win32.

I don't think so. MSEgui X11 applications are as fast as gdi32 applications if 
they are not slowed down by a modern compositing window manager. From my 
point of view as GUI toolkit developer the X11 API is well designed, gdi32 is 
a set of premature quick shot pieces. There can be a handicap of Linux 
because the graphic hardware producers don't care much about Linux.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 means 1000s times as worse usage of CPU
 cache etc. Work with unicode is a nightmare too - simple charset
 conversion involves a lot of code  memory reallocations just for a
 SINGLE string. Very-very inefficients. Just multiply this single
 slowliness on thousands of strings when desktop is running ! That's :
 the LINUX GUI API has become too high-level (C++ based) against
 lowe-level win-32 API (C-based). Eeasier to program but much more
 resource hungry so that even modern hardware has got saturated once
 LINUX desktops tried more advanced eye candings.

Agreed. For MSEgui I often use dynamic arrays instead of TList or even PChar 
and pointer arithmetic instead of String for performance reasons, one of the 
reasons I fought  against the Delphi like code page aware strings in FPC 
which have even more overhead.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 f46860290aef69b9be10027ecbd62cb16542ee0a closes form before opening 
formtext, maybe it helps.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 Kristian, which developed many of todays X11 features
 like AIGLX, DRI2 etc., knows the issues with the current X11
 implementation, and should be able fix those in Wayland. If Apple
 could do it on top of FreeBSD (now MacOSX or Darwin etc.), then
 Kristain should be able to do it too with Linux and probably other
 *nix platforms too, I would imagine.

In my opinion the problem is not X11 per se but the collaboration of the 
application with the myriad of different window managers on Linux. Wayland 
probably will add another bunch of different solutions to the list.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 Excel component for Delphi (you could embed
 Microsoft Excel into a delphi application). Cool, because you could reuse
 Excel within another tool and it didn't matter if Excel was written in
 C++, it still worked in your delphi application.)

In MSEgui one could use twindowwidget in order to embed a window of another 
process.

 Could corba components be invented so that for example I could create a
 CORBA component in MSEGUI, and then reuse that component in Lazarus and
 FPGUI?

Using a component which is not optimized for the embedding framework is always 
a second-rate solution. It would need another abstraction layer over MSEgui, 
Lazarus and fpGUI. :-)

  What is Corba good for?

Mainly for client-server or peer-to-peer communication.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 means a library not compiled with the system libraries of the target 
system.

 I cannot see it should do any harm, as long as all I want to do is to
 connect specifically to only one database (in a subdir to my binary), so
 the database itself will never face any version conflict etc.
 I consider it as a kind of sandboxing, and I cannot see it is much
 different from what eg. Firefox does.

What about the libraries which './libsqlite3.so' uses?

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[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
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 hard. Me proposed the way used in the
 win-32 installer - to check if an FPC compiler is present on system
 and if yes then to build MSEgui as a part of installation.
 Surprisingly, the idea was rejected (someone replied me after no
 dialogue). But the older way (always fresh precompiled units in the
 DEB-package) is nightmare !

Are the compiled MSEgui units necessary? A MSEide binary and the MSEgui source 
should be enough?

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 that me have to contact a DEBIAN menthor (a
 person allowed to put/pull smth to the public repos) what is hardly
 possible in observable time. LAZARUS is less problematic since bound
 to FPC in their packaging because FPC  LAZARUS are maintained by same
 people.

Did you contact this people in order to synchronize FPC-MSEide+MSEgui debian 
package release cycles?

 they can be
 compiled at user project compile time in the home directory as the official
 MSEide+MSEgui packages from SourceForge.
 ===
 It was my 1st though about. Unfortunately, It's far away from the
 usual DEBIAN (and all binary distros) practice which means all
 executables of DEB-packages should be in /[s]bin and /usr/*.

MSEide + MSEtools binaries are independent from FPC version. Does Debian force 
binary Pascal units too?

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 are very
 busy people since each of them controls of many different packages and
 do this work thoroughly to achieve the appraised DEBIAN
 quality-of-state).

So it seems Debian/Ubuntu  are not interested on MSEide+MSEgui packages. Does 
the same apply for FPC packages?

 Anyway , the need in exact unit version match 
 makes the thing much-much harder otherwise the whole MSE* packages
 bunch will be self-maintainable.

I don't see the problem.
1. Install the Debian FPC package on your Debian system.
2. 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.

 binaries are independent from FPC version
 =
 The problems is that the MSEgui units must match the FPC ones exactly
 otherwise MSEgui apps can't be built.

As written before the MSEgui units can be compiled by the user project in user 
home directory.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 updates of MSE*
 bunch to the distro in time. Once contact to the menthor is
 established a new FPC version is issued which means new rebuilding
 which means new contacting...

So FPC, Lazarus and MSEide+MSEgui must be pushed to Debian/Unbuntu by the same 
person at the same time. FPC Debian/Ubuntu maintainer should know that the 
FPC only audience is limited. Most FPC users need an IDE and a GUI toolkit.

Martin

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 Debian with 400 Packages which need installtime 
compiling - installtime  4 hours. Not doable IMHO.
If it is not possible to push a new MSEide+MSEgui package to Debian before a 
FPC release is outdated we must forget Debian.
The only alternative as written before is to pack MSEide and tools binaries 
which are independent of the FPC precompiled units and to compile the MSEgui 
units by the user projects in the user home directory.

Martin

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 qry1.controller.refresh(..); and 
step into the procedure in order to check what happens.

Martin

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


  1   2   3   4   5   6   7   8   9   10   >