Re: [MSEide-MSEgui-talk] instance.free vs freeandnil(instance)

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 09:27:14 news.gmane.org wrote: Any differences but setting nil at final ? It sets the variable to nil *before* calling free. -- Live Security Virtual Conference Exclusive live event will

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 14:45:36 wahono sri wrote: Hi Martin, I'm still in experiment, and I'm very optimistic. :) Is gdi_copyarea is the final copying pixmap to screen (final drawing to a window)? Used to copy pixels between pixmap-pixmap, pixmap-screen, screen-pixmap and

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 15:18:43 news.gmane.org wrote: Really LIBEAY32 (0.9.8) exports : Use a more recent OpenSSL version? No stable STunnel version for that. But tried anyway before reporting You - the 4.54th beta client doesn't work with keys+cert used in the 4.53rd remote

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 15:35:21 news.gmane.org wrote: I can't help because MSEgui does not need and link that function. Correct? We only need to suppress the error (by mistake) message on startup - so that the app starts silently GDB can debug the app. Please answer my question. I

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 17:47:47 news.gmane.org wrote: A link error caused by MSEgui looks like: edynload : Can not load OpenSSL library, Library libssl.so.1.0.0: Function SSL_library_initxxx not found. It is possible to import only requested symbols/ordinals w/o checking whole

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 19:53:03 wahono sri wrote: Very hard to learn your GUI concept :) But some of them was success implemented. Is drawinfo.creategc.gcpo^.handle is equal with drawinfo.gc.handle? Yes. function tcanvas.creategc(const apaintdevice: paintdevicety; const

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-09-04 Thread Martin Schreiber
On Tuesday 04 September 2012 22:35:53 Sieghard wrote: OK... on more simple example: You pull only a subset of history (eg: like a directory). You now don't have the full history because the files Who cares about that ... history? The starting point was to get the the _contents_ of a

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-04 Thread Martin Schreiber
On Wednesday 05 September 2012 06:51:50 news.gmane.org wrote: It is possible to import only requested symbols/ordinals w/o checking whole SSLEAY-2-LIBEAY32 imp-exp match ? Does what cause this full check ? I don't understand. The error message in your application is *not* caused by

Re: [MSEide-MSEgui-talk] experimental porting MSEgui with SDL 2 and libcairo

2012-09-05 Thread Martin Schreiber
On Wednesday 05 September 2012 10:05:55 Graeme Geldenhuys wrote: On 05/09/12 06:06, Martin Schreiber wrote: Although it does not work on Gitorious server it seems... Weird, but at least Gitorious does allow you to download a tar.gz of the HEAD of a branch. This is exactly the same result you

Re: [MSEide-MSEgui-talk] ImagelistEditor: buttons don't fit the editor window

2012-09-05 Thread Martin Schreiber
On Monday 03 September 2012 13:02:59 news.gmane.org wrote: if the IDE starts with --FONTALIAS=13+ for Verdana. Please try again with git master 291d515776e4b8bd6ecf602964b9a6a4d5ff9c00. Martin -- Live Security Virtual

Re: [MSEide-MSEgui-talk] About double buffer strategy and SDL

2012-09-06 Thread Martin Schreiber
On Thursday 06 September 2012 11:28:00 wahono sri wrote: Hi Martin I updated to https://gitorious.org/mseuniverse/mseuniverse SDL convertion to MSEgui : drawinfo.paintdevice = pixmapty = SDL_Surface drawinfo.gc.handle = SDL_Renderer (software renderer for bitmap and hardware renderer for

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-07 Thread Martin Schreiber
On Friday 07 September 2012 13:09:18 news.gmane.org wrote: The below symbols MSEgui refers don't exist anymore in mainstream STunnel (1.0x) OpenSSL installations : BIO_get_mem_ptr BIO_set_mem_buf BIO_set_mem_eof_return They are optional in MSEgui: funcsopt: array[0..3] of funcinfoty = (

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-07 Thread Martin Schreiber
Am 07.09.2012 15:00, schrieb news.gmane.org: MSEgui calls getprocaddress() with them. What is wrong with that approach? We only need to fix error messages as startup of MSEgui SSL-client apps, after conforming these messages the apps work well. (do You see these messages at Your with the

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-07 Thread Martin Schreiber
Am 07.09.2012 19:00, schrieb Ivanko B: You copy into the project directory: libeay32.dll, libss32.dll, ssleay32.dll. Which one to use? Removing libss32.dll from the directory doesn't fix. system32 directory? So mainline distributions contain ssleay32.dll and libeay32.dll?

Re: [MSEide-MSEgui-talk] TMSESQLQuery: how to organize master-detail relationship for queries set as dso_local?

2012-09-07 Thread Martin Schreiber
Am 07.09.2012 18:50, schrieb Ivanko B: Is it possible in principle ? Use lookup fields, do *not* activate TField.LookupCache. The detail dataset must have a local index for the key field. Direct data access will be used, the detail dataset does not scroll. Martin

Re: [MSEide-MSEgui-talk] subform

2012-09-07 Thread Martin Schreiber
On Saturday 08 September 2012 03:15:37 Patrick Goupell wrote: Is there an example of using a subform? AFAIK no. What are the minimal steps needed to use a subform? Create the main form and the subform. The subform can be any kind of form, tsubform has fewer event properties than a regular

Re: [MSEide-MSEgui-talk] About double buffer strategy and SDL

2012-09-08 Thread Martin Schreiber
On 07.09.2012 23:32, wahono sri wrote: I'm sure I do wrong in SDL event implementation for mseevent. mouse click event sent to mseevent but it does not fire procedure in widget event. Martin, will you check it? Seems not to work on Windows 2000: testsdl.exe - Einsprungpunkt nicht gefunden Der

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-08 Thread Martin Schreiber
On 07.09.2012 20:00, Ivanko B wrote: You copy into the project directory: libeay32.dll, libss32.dll, ssleay32.dll. Which one to use? Removing libss32.dll from the directory doesn't fix. So mainline distributions contain ssleay32.dll and libeay32.dll? 100%?

Re: [MSEide-MSEgui-talk] SigSegv on unloaing MSEgui's SSL (win-32).

2012-09-08 Thread Martin Schreiber
On Saturday 08 September 2012 10:30:26 Ivanko B wrote: Why do you think ssleay32.dll is more official than libssl32.dll? = Maybe.. PostgreSQL, STunell .. only rely on ssleay32.dll. PS: Me've copied libssl32.dll 1.0.0c from Win32OpenSSL_Light-1_0_1c.exe to the app directory (where

Re: [MSEide-MSEgui-talk] Ihnerited forms issues:

2012-09-08 Thread Martin Schreiber
On Saturday 08 September 2012 11:42:40 Ivanko B wrote: 1) if inhering form uses an active dso_local dataset defined in its inherited form - it result in error (operation can't be performed on active dataset) on reloading the project (the child form doesn't load to IDE on F12) until the dataset

Re: [MSEide-MSEgui-talk] TMSESQLQuery: how to organize master-detail relationship for queries set as dso_local?

2012-09-08 Thread Martin Schreiber
On Saturday 08 September 2012 16:59:32 Ivanko B wrote: If you index one key field and lookup that field you get a single record only, no? But earlier you wrote you need a list of detail records? == Well, indexes - to speed the things :) No need for multiple detail records ? Only

Re: [MSEide-MSEgui-talk] About double buffer strategy and SDL

2012-09-09 Thread Martin Schreiber
On Saturday 08 September 2012 19:06:48 wahono sri wrote: In tprocmonitor functions : - Is listentoprocess similiar with SDL_AddEventWatch? - Is unlistentoprocess similiar with SDL_DelEventWatch? I don't think so. Martin

Re: [MSEide-MSEgui-talk] About double buffer strategy and SDL

2012-09-09 Thread Martin Schreiber
On Saturday 08 September 2012 18:52:08 wahono sri wrote: Try to find out where GetRawInputData() is used and how it can be replaced with older Windows functions. Sometimes it is also possible to use an upgrade dll to support new Windows functions. I usually try to link problematic

Re: [MSEide-MSEgui-talk] Ihnerited forms issues:

2012-09-09 Thread Martin Schreiber
On Saturday 08 September 2012 17:27:36 Ivanko B wrote: Simple testcase please. == Really the problem is that: - it's impossible to assign persistent fields to an active dataset - in design time we have an error message on trying to it - with inherited form, this trial occurs on

Re: [MSEide-MSEgui-talk] Ihnerited forms issues:

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 09:26:11 Ivanko B wrote: Which kind of persistent fields do You use ? Me dropped them from the DBf tab page. Also, the dataset was used a target for TDBENUMEDITs on the child form. I possibly got it. Please try again with git master

Re: [MSEide-MSEgui-talk] Ihnerited forms issues:

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 09:52:33 Ivanko B wrote: Should be done automatically, use onloaded of the forms. == It doesn't for inherited form placed onto tabpage. Please send a testcase. -- Live Security

Re: [MSEide-MSEgui-talk] The IDE has been very stable, BTW

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 14:23:01 Ivanko B wrote: Me did a lot of inheriting, submoduling, copying/pasting work between forms - and no AVs up to now :) Thanx, Martin! It costs me many gray hairs. :-) Martin --

Re: [MSEide-MSEgui-talk] delphi project

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 14:30:37 Patrick Goupell wrote: I have an old delphi project I want to revisit. Is there a way to import a delphi project into msegui? No. Will free pascal compile a delphi project? Probably. To replace the VCL you need Lazarus. Martin

Re: [MSEide-MSEgui-talk] memoedit

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 15:25:55 Patrick Goupell wrote: The delphi memoedit had a mymemoedit.lines.add ('some string') function that would add / append lines to the memoedit. Does the msegui memoedit have such a function? No, please don't misuse tmemoedit as grid. In tmemoedit the whole

Re: [MSEide-MSEgui-talk] tdbcalendardatetimeedit: text on dropdown (the calendar plane) isn't drawn in parent font by default

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 16:29:27 Ivanko B wrote: The dropdown widget has no parent. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed

Re: [MSEide-MSEgui-talk] onkeydown event

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 16:50:47 Patrick Goupell wrote: In a form onkeydown event, what is the correct pascal syntax to check for a page up (key_pageup / $0116) or page down (key_pagedown / $0117) in the ainfo variable? I cannot seem to get it correct. case ainfo.key of key_pageup:

Re: [MSEide-MSEgui-talk] Ihnerited forms issues:

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 10:17:22 Ivanko B wrote: http://www.likan.uz/uploads/mse_testcases/submodule1.zip (the WWW-site of my felow) A BP is set in the project. Without the code at this BP, the ShowMessage isn't called. Please use tmseform.oncreate. Martin

Re: [MSEide-MSEgui-talk] Proposal: font for hints

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 18:05:50 Ivanko B wrote: Either to use font of form parent to hint or dedicated font (per widget). Otherwise hints pass by font management thus may be low sized, hardly readable etc. Please use registerfontalias(stf_default,...). Git master

Re: [MSEide-MSEgui-talk] tdbcalendardatetimeedit: text on dropdown (the calendar plane) isn't drawn in parent font by default

2012-09-09 Thread Martin Schreiber
On Sunday 09 September 2012 18:07:22 Ivanko B wrote: Then the same as for the hint font proposal. Or a main form property like popup_hint font ? Please use registerfontalias(). -- Live Security Virtual Conference

Re: [MSEide-MSEgui-talk] JWM, 4 cores mseide

2012-09-09 Thread Martin Schreiber
On Monday 10 September 2012 01:23:24 Sieghard wrote: After a few days' playing around (re-) building / extending an application it looks like the hanging has diminished some, though I did experience some sluggishness a couple times, and even a GDB timeout error occured again. (After this, the

Re: [MSEide-MSEgui-talk] tdbcalendardatetimeedit: text on dropdown (the calendar plane) isn't drawn in parent font by default

2012-09-10 Thread Martin Schreiber
On Monday 10 September 2012 09:32:35 news.gmane.org wrote: Use stf_default, stf_hint is for hints. Me need to set exactly hint font. The command seems to be ignored. Works for me, see attachment. Martin attachment:

Re: [MSEide-MSEgui-talk] JWM, 4 cores mseide

2012-09-10 Thread Martin Schreiber
On Monday 10 September 2012 21:49:30 Sieghard wrote: As for your MSEide+GDB issues. I think there is something very strange going on in your system - maybe faulty hardware like motherboard or RAM I don't think so, as everything else runs correctly, as far as I can tell at least. And I'm not

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-10 Thread Martin Schreiber
On Monday 10 September 2012 23:14:02 Ivanko B wrote: Me mean smth like a tree view left side selecting each item in that displays another form within a fixed placeholder right side. Preparing then switching between tab pages on selecting the items isn't desirable here since assumes preparing

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-11 Thread Martin Schreiber
On Tuesday 11 September 2012 07:46:08 news.gmane.org wrote: With the testcase at http://www.likan.uz/uploads/mse_testcases/htmlframe.zip, how to switch between zeroinputform mt1inputform on mainfo.tpSwitch using actions actZero actNewMT1 rspectively ? (bound to the mainmenu [1][0,1]):

Re: [MSEide-MSEgui-talk] Colorty to RGBA color

2012-09-11 Thread Martin Schreiber
On Tuesday 11 September 2012 16:48:13 wahono sri wrote: What's format of colorty? Is BGRA? It is defined in msegraphutils.pas. It is a longword where the msb defines the colortype: cl_functional = colorty($8000); cl_mapped = colorty($9000); cl_namedrgb = colorty($a000);

Re: [MSEide-MSEgui-talk] Colorty to RGBA color

2012-09-11 Thread Martin Schreiber
On Tuesday 11 September 2012 18:09:53 wahono sri wrote: If the msb is 0 then it is a RGB value binary compatible with rgbtripplety. I updated converted sdl2_gfx to mseuniverse, anti aliasing in sdl2_gfx is great! I ask this because all sdl2_gfx function use color parameter in every

Re: [MSEide-MSEgui-talk] Colorty to RGBA color

2012-09-11 Thread Martin Schreiber
On Tuesday 11 September 2012 20:01:15 wahono sri wrote: That's how it looks for me (see attachment). Now, what are the questions? Layout of drawing is broken, and what's your suggetion about drawing technique using sdl2_gfx? And please check event management, I'm sure there are some wrong in

Re: [MSEide-MSEgui-talk] Colorty to RGBA color

2012-09-11 Thread Martin Schreiber
On Tuesday 11 September 2012 21:16:22 wahono sri wrote: BTW, will you support this porting to official MSEgui? I don't know. I must be cautious with code I must maintain. OK, I know what is Julio says a few days ago is right. He assume you don't support this porting and this experiment

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-11 Thread Martin Schreiber
On Wednesday 12 September 2012 06:28:57 news.gmane.org wrote: Having tried to load the testcase project on my work machine, another project (last worked) is loaded instead if the testcase is placed within a project in C:\Documents and Settings\User\My Documents\mse-testcases\... Having placed

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-12 Thread Martin Schreiber
On Wednesday 12 September 2012 08:24:10 news.gmane.org wrote: Could You reproduce ? No time at the moment. May me wait fixes today ? I don't know. Martin -- Live Security Virtual Conference Exclusive live event will

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-12 Thread Martin Schreiber
On Tuesday 11 September 2012 21:30:41 Ivanko B wrote: Me tried to prepare a testcase (all with local datasets) [here attached] but it gets a DB exception on starts and exits. There are missing append. procedure tparent2fo.qry2afteropen(DataSet: TDataSet); begin with dataset do begin append;

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-13 Thread Martin Schreiber
On Thursday 13 September 2012 14:55:56 news.gmane.org wrote: Please try again with git master 63bede0756b2c1bf7e8838df6c0399b5411feeb8. Fields are still swapped in runtime. We should either have displayed :2xx:3xx: different field order in the persistent fields editor or displayed

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-13 Thread Martin Schreiber
On Thursday 13 September 2012 15:06:26 news.gmane.org wrote: Fields are still swapped in runtime. We should either have displayed :2xx:3xx: different field order in the persistent fields editor or displayed :3xx:2xx: with the existing order. Did you check the the existing order with the

Re: [MSEide-MSEgui-talk] mailing list

2012-09-13 Thread Martin Schreiber
On Thursday 13 September 2012 15:30:33 Patrick Goupell wrote: To whomever set up the mailing list, how many people have subscribed to it? Just curious. 16 without bots and duplicates. Martin -- Live Security Virtual

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-13 Thread Martin Schreiber
On Thursday 13 September 2012 17:12:48 news.gmane.org wrote: Looks OK for me: tdbenumeditlb3: tmsesqlquery1 : Field not found : tmsesqlquery1Field4 which is true. But it's PARENT1FORM which is the parent of PARENT2FORM that knows nothing about its (future) internals (which were

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-13 Thread Martin Schreiber
On Thursday 13 September 2012 18:40:36 Ivanko B wrote: PARENT1FORM.tmsesqlquery1.active:= true - PARENT2FORM.tmsesqlquery1.active:= true too. = And during this (parent.query.active = child.query.active) activation we should check that there's no such field so there's no need to

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-13 Thread Martin Schreiber
On Thursday 13 September 2012 17:33:20 news.gmane.org wrote: 3) Delete then Paste causes an Exception Me mean Delete component(s) on PARENT1FORM. Paste is available not every time after deleting - it depends on if the form was focused etc... It depends if you copied or cut components

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-13 Thread Martin Schreiber
On Thursday 13 September 2012 17:28:31 news.gmane.org wrote: Copy (with CTRL key) all components on PARENT1FORM and instantly Paste them on this (PARENT1FORM) form. Please try again with git master 5aba759c3005ca7fda92c77bd4722a9544c8c03c. 1) Cut Paste everything of PARENT1FORM looses

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-13 Thread Martin Schreiber
On Friday 14 September 2012 06:15:42 news.gmane.org wrote: And during this (parent.query.active = child.query.active) activation we should check that there's no such field so there's no need to inform the user about that since one just deleted this field intentionally :) What next? To

Re: [MSEide-MSEgui-talk] Is it possible to have more informative messages in the IDE ?

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 11:47:27 news.gmane.org wrote: fix. Important for complex projects with multiple inter-form references. Example? If a dbenumeditlb on another form references a lookupbuffer on another data module,.. Screenshot?

Re: [MSEide-MSEgui-talk] Is it possible to have more informative messages in the IDE ?

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 12:02:50 news.gmane.org wrote: If a dbenumeditlb on another form references a lookupbuffer on another data module,.. Screenshot? The current project haven't yet grown to this stage :) A screenshot of the not informative error message please so I can see what

Re: [MSEide-MSEgui-talk] Troubles with chained inheritance

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 11:31:52 news.gmane.org wrote: With the latest test case: - create a new form inherited form MAINFO - note that the tabwiget is unusable (doesn't accept tab pages) the button lost its caption - to fix we should call revert to inherited for all affected componets

Re: [MSEide-MSEgui-talk] Is it possible to have more informative messages in the IDE ?

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 12:13:27 news.gmane.org wrote: Why do you think If there's an exception then rollback the last change can be done without a big development effort? If to intercept the mistake as early as possible so that it won't propagate branch.. Though an exception (me

Re: [MSEide-MSEgui-talk] TFieldFieldLink: how to use ?

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 15:19:35 news.gmane.org wrote: Me tried to use it for writting initial values from a just SELECTed query to another (local dataset with appended single record) query but the target query seems don't receive the values (it should display them in bound DB boolean

Re: [MSEide-MSEgui-talk] TFieldFieldLink: how to use ?

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 16:34:09 news.gmane.org wrote: Here is a piece of my today's code : with qryMaster do begin actFindIndex.enabled:= not (fields[0]{company_code}.isnull or fields[1]{catalog_code}.isnull or fields[2]{client_type_code}.isnull); end; Better use field

Re: [MSEide-MSEgui-talk] Is it possible to have more informative messages in the IDE ?

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 13:15:19 news.gmane.org wrote: A screenshot of the not informative error message please so I can see what you mean. Here attached. Happens on deleting persistent fields (of qryMaster) by the fields editor. That seems to be another problem. Steps?

Re: [MSEide-MSEgui-talk] Is it possible to have more informative messages in the IDE ?

2012-09-14 Thread Martin Schreiber
On Friday 14 September 2012 16:52:07 news.gmane.org wrote: Here attached. Happens on deleting persistent fields (of qryMaster) by the fields editor. That seems to be another problem. Steps? Hmm... doesn't expose with the current test case. Please a clue what to add to the test case

Re: [MSEide-MSEgui-talk] TMselongIntfield: assql/asoldsql, asid/asid

2012-09-16 Thread Martin Schreiber
On Friday 14 September 2012 21:27:29 Ivanko B wrote: Which else props to use for detecting changes between POST ? Please check the TField documentation. There are TField.Value, TField.CurValue, TField.NewValue and TField.OldValue. NewValue is not used in MSEgui AFAIK because Value and as* is

Re: [MSEide-MSEgui-talk] TMselongIntfield: assql/asoldsql, asid/asid

2012-09-16 Thread Martin Schreiber
On Sunday 16 September 2012 08:44:35 Ivanko B wrote: There are TField.Value, TField.CurValue, TField.NewValue and TField.OldValue. = None of them help - in best case they return values at time of 1-st change survive until ApplyUpdate. We have: Value=NewValue CurValue=OldValue

Re: [MSEide-MSEgui-talk] TMselongIntfield: assql/asoldsql, asid/asid

2012-09-16 Thread Martin Schreiber
On Sunday 16 September 2012 09:13:07 Ivanko B wrote: And we have Value=CurValue. == Bewteen multiple edits (seletions in comboboxes) - no ! Then use onsetvalue. -- Everyone hates slow websites. So do we. Make

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads datafield from destdataset not datasource.dataset as expected

2012-09-16 Thread Martin Schreiber
On Sunday 16 September 2012 18:30:11 Ivanko B wrote: me had to keep full match of field names between source target data sets. You probably have wrong expections. -- Everyone hates slow websites. So do we. Make your

Re: [MSEide-MSEgui-talk] Troubles with chained inheritance

2012-09-17 Thread Martin Schreiber
On Friday 14 September 2012 11:31:52 news.gmane.org wrote: With the latest test case: - create a new form inherited form MAINFO - note that the tabwiget is unusable (doesn't accept tab pages) the button lost its caption - to fix we should call revert to inherited for all affected componets

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-17 Thread Martin Schreiber
On Monday 10 September 2012 23:14:02 Ivanko B wrote: Me mean smth like a tree view left side selecting each item in that displays another form within a fixed placeholder right side. Preparing then switching between tab pages on selecting the items isn't desirable here since assumes preparing

Re: [MSEide-MSEgui-talk] TMSESQLQuery: lookup datasets

2012-09-17 Thread Martin Schreiber
On Monday 10 September 2012 07:58:48 news.gmane.org wrote: How is master-detail (one-2-many) implemented - via SQL requerying the detail dataset on scrolling the master one or via local memory search for the joining key ? (needed for decision - whether to use local dataset or SELECT

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-17 Thread Martin Schreiber
On Thursday 13 September 2012 19:18:05 Ivanko B wrote: Please try again with git master ad971b43be09ab681f6536a4715cd09525282eaa. === PARENTFORM1 without clicking within empty area of the form (only components are clicked): Copy=OK, Paste=OK, Copy=OK, Paste=unavailable,

Re: [MSEide-MSEgui-talk] Persistent fields editor: why not to disable editing field names (the left side)

2012-09-17 Thread Martin Schreiber
On Wednesday 12 September 2012 06:41:44 news.gmane.org wrote: Anyway these names should match ones in FieldDefs (there will be complains on non-matches on exiting the editor), The purpose is to adapt to filed name changes in fielddefs. Martin

Re: [MSEide-MSEgui-talk] TMSESQLquery: RevertToIherited doesn't reset FieldDefs

2012-09-17 Thread Martin Schreiber
On Friday 14 September 2012 09:47:36 news.gmane.org wrote: for local queries wit manually defined FieldDefs. Works for me. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's

Re: [MSEide-MSEgui-talk] TFiledParamLink: can they link in same dataset

2012-09-17 Thread Martin Schreiber
On Friday 14 September 2012 17:36:18 news.gmane.org wrote: - sqlqry1 provides (via lookupbuffer) localquery.field1 - sqlqry2 provides (via lookupbuffer) localquery.field2, and sqlqry2 depends on a param bound to localquery.field1 Will this work as to proper values in localquery.field1

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads datafield from destdataset not datasource.dataset as expected

2012-09-17 Thread Martin Schreiber
On Sunday 16 September 2012 18:30:11 Ivanko B wrote: me had to keep full match of field names between source target data sets. Please try again with git master 4912704193e094d0cbae6f7a13af50c0b5554ec8. BTW, it is possible to enter any field name by keyboard. Martin

Re: [MSEide-MSEgui-talk] git trouble

2012-09-17 Thread Martin Schreiber
On Tuesday 18 September 2012 03:34:19 Patrick Goupell wrote: I was looking at my current projects git repository using the current msegit program. I did / or caused msegit to do something and I lost 2 weeks of work. That should not be possible, the history should be still in the git archive.

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-17 Thread Martin Schreiber
On Tuesday 18 September 2012 06:50:19 news.gmane.org wrote: Hi, The wrong names of tcustommseform and tmsedatamodule onloaded and oncreate have been fixed in git master 8da93ce835e3e97cf2d4edec71fe7e31dbe872f0, what was onloaded before is now oncreate, oncreate becomes onloaded. Does

Re: [MSEide-MSEgui-talk] Some error in form inheritance (revealed by MSEDIRCLEAR)

2012-09-17 Thread Martin Schreiber
On Tuesday 18 September 2012 06:48:27 news.gmane.org wrote: APPMAINFORM is just inherited from MAINBASEFORM. The files are here attached. dmmainmo is missing. -- Live Security Virtual Conference Exclusive live event

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 11:43:32 news.gmane.org wrote: Normally yes, if begingloballoading() has been called onloaded fires in notifygloballoading(). That's me can rely on it (OnLoaded then OnCreate ..) in my programs, correct ? Not in submodules. Submodules onloaded is called after

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads datafield from destdataset not datasource.dataset as expected

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 09:42:11 news.gmane.org wrote: With attached testcase: - select smth in all combo boxes - press show qry data button Acc to the design time fields order of tmsesqlquery1, we should have in run time: ..field3: 2xx (from tmsesqlquery2) ..field4: 3xx (from

Re: [MSEide-MSEgui-talk] SF on destroying datamodule

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 15:28:39 news.gmane.org wrote: - just run exit the attached project. PS: Earlier this approach (replacing module instance var with a function returning the module type + refcounting combining with client's constructor/destructor) worked. Removing

Re: [MSEide-MSEgui-talk] mse-installer

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 22:32:25 Patrick Goupell wrote: While trying to open the setup.prj project file, I get the following error (screenshop). Patrick It is a project of wahono which should be updated for current MSEgui. Martin

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads datafield from destdataset not datasource.dataset as expected

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 22:34:36 Ivanko B wrote: But PRINTQUERY sometimes shows strange or (even impossible) values - for instance '10.08.2012' data value stored in a largeint field though it shouldn't be allowed to write because of type check (though the dataset was in dsEdit/Insert

Re: [MSEide-MSEgui-talk] Persistent fields editor: can't add ftCalculated fields of ftBCD, ftFloat, ftCurrency etc ranged/checked types

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 09:25:09 news.gmane.org wrote: With latest test case, try to add a field of such type to PARENT2FORM.TMSESQLQUERY1. ft*int, ftNumeric are OK. Please try again with git master b64a75844a0acd658721bbed2ac18acd750c. Martin

Re: [MSEide-MSEgui-talk] oe_notnull for local datset crashes application

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 12:58:11 news.gmane.org wrote: Just run the attached testcase. MAINFO.tdbintegeredit1 causes the Value required exception which turns into crash. Why is this my problem? ;-) The stack: #0 0805D445 except.inc:195 fpc_raiseexception(OBJ=0xb7fbe4a0,

Re: [MSEide-MSEgui-talk] oe_notnull for local datset crashes application

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 14:37:45 news.gmane.org wrote: MAINFO.tdbintegeredit1 causes the Value required exception which turns into crash. Why is this my problem? ;-) Well..it happens on starting application before a user can access smth on forms so crashing whole application on

Re: [MSEide-MSEgui-talk] Persistent fields editor: can't add ftCalculated fields of ftBCD, ftFloat, ftCurrency etc ranged/checked types

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 12:29:40 news.gmane.org wrote: Accepted for new field but fails for changing data type of existing fields, with the attached IDE exceptions. The type of inherited internal persistent fields can not be changed. Please use field components or delete them first.

Re: [MSEide-MSEgui-talk] Persistent fields editor: can't add ftCalculated fields of ftBCD, ftFloat, ftCurrency etc ranged/checked types

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 15:05:44 news.gmane.org wrote: The type of inherited internal persistent fields can not be changed. Please use field components or delete them first. But the changes are tried on PARENT2FORM that's in the place of their (calc fields) creation/definition (no

Re: [MSEide-MSEgui-talk] Persistent fields editor: can't add ftCalculated fields of ftBCD, ftFloat, ftCurrency etc ranged/checked types

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 15:23:39 news.gmane.org wrote: Correct. Maybe it is possible to implement another complicated hack to allow it... Or at least to block the wrong operations with a descriptive to-do message. Not possible because there can be closed descendents.

Re: [MSEide-MSEgui-talk] Q: how to delete items in 2-nd level of main menu ?

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 15:41:45 news.gmane.org wrote: by their tag. Me mean proper syntax like: with mnuMain.menu.items[1].submenu do begin for i:= items.count - 1 dowto 0 do begin if items[i].action.tag 1 then begin items[i].free; end; end; end; Martin

Re: [MSEide-MSEgui-talk] Persistent fields editor: can't add ftCalculated fields of ftBCD, ftFloat, ftCurrency etc ranged/checked types

2012-09-19 Thread Martin Schreiber
On Wednesday 19 September 2012 15:19:11 Martin Schreiber wrote: Really the problem looks like the older (longint) type of calcfields tries to use specific(float, BCD,..) stuff of new types. Correct. Maybe it is possible to implement another complicated hack to allow it... git master

Re: [MSEide-MSEgui-talk] How to find a widget (tdbbooleanedit etc) on form by its name in runtime ?

2012-09-20 Thread Martin Schreiber
On Thursday 20 September 2012 10:44:13 news.gmane.org wrote: FindWidget(name) seems to do the work :) [..] FindWidget(self.name) returns NIL :) Queried again :) Please read the FPC documentation or the source about TComponent. Martin

Re: [MSEide-MSEgui-talk] Proposal: component providing an pool of actions

2012-09-20 Thread Martin Schreiber
On Thursday 20 September 2012 13:14:04 news.gmane.org wrote: The mission is to pack multiple actions into a single placeholder (helps to help designed form more clear in case there're a lot of much action components on the form). Please use data modules. I don't like Delphi's TActionList. ;-)

Re: [MSEide-MSEgui-talk] Proposal: component providing an pool of actions

2012-09-20 Thread Martin Schreiber
On Thursday 20 September 2012 13:27:49 news.gmane.org wrote: The mission is to pack multiple actions into a single placeholder (helps to help designed form more clear in case there're a lot of much action components on the form). Please use data modules. I don't like Delphi's

Re: [MSEide-MSEgui-talk] Code to traverse (to access at TMenuItem) all items of TMainMenu widget in run-time?

2012-09-21 Thread Martin Schreiber
On Friday 21 September 2012 09:44:06 news.gmane.org wrote: So that to enable/disable them depending on TAG property. (me ask it because can't get how to do it for menu with different length of branches). Use a recursive procedure (not tested): procedure dosomething(const aitems: tmenuitems);

Re: [MSEide-MSEgui-talk] TmainMenu: items shit after inheritance

2012-09-23 Thread Martin Schreiber
On Saturday 22 September 2012 12:13:49 Ivanko B wrote: - create a new menu on PARENT1FO assign it to the form - is may also assigns this menu on PARENT2FO but this assignment is unsteady - the only choice in the combo is is parent1.tmainmenu1 that's the inherited menu not the one we can

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-24 Thread Martin Schreiber
On Monday 24 September 2012 10:56:25 news.gmane.org wrote: Me need to change between different submodules over a single tabpage of the main form on selection in the main menu. How can ttabpage.OnGetSubform be used in this approach ? Return the wanted submodule class. Me don't change

Re: [MSEide-MSEgui-talk] TMESQLQuery PostgreSQL: can't return array field if this filed is empty

2012-09-24 Thread Martin Schreiber
On Monday 24 September 2012 14:37:11 news.gmane.org wrote: See the attached stack trace: #0 0040C666 :0 fpc_raiseexception() #1 005472E1 :0 VARIANTS_VARARRAYCREATEERROR() #2 00553782 msevariants.pas:51 MSEVARARRAYCREATE(BOUNDS=0x0, DIMS=0, AVARTYPE=8, result={VTYPE = 0, RES1 = 0, RES2 =

Re: [MSEide-MSEgui-talk] TMESQLQuery PostgreSQL: can't return array field if this filed is empty

2012-09-24 Thread Martin Schreiber
On Monday 24 September 2012 19:56:01 Ivanko B wrote: Not null empty (existing) array: for instance '{}' in an array field set in Navicat PostgreSQL or Premium. And as me remember, assigning '{}' to an array field from within PSQL should also set empty array. It seems not to define a NULL value

Re: [MSEide-MSEgui-talk] TMESQLQuery PostgreSQL: can't return array field if this filed is empty

2012-09-24 Thread Martin Schreiber
On Monday 24 September 2012 20:16:48 Ivanko B wrote: I don't think that can be used with FPC variants. = The Variant type can't contain empty array, correct ? Strange, though :) The FPC implementation can't. Please submit a FPC bug report if you think it should. Martin

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-24 Thread Martin Schreiber
On Monday 24 September 2012 23:08:39 Ivanko B wrote: any container widget will do, no? == Sure, and tabpage has dedicated distinguishable info (caption) area an also has some submodule aware hooks. Which where used by tab changing only. I think too you should use another

<    3   4   5   6   7   8   9   10   11   12   >