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

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 11:36:34 news.gmane.org wrote: Which where used by tab changing only. I think too you should use another container widget. As Sieghard writes, a tsimplewidget has a tcaptionframe for example. Sure, but me still can't design the exact app interface (there'll

Re: [MSEide-MSEgui-talk] TMSESQLQuery: OnCalFields isn't called for some reason

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 11:38:08 news.gmane.org wrote: Which are the condition of NOT calling ? I don't know, please check the sources. Martin -- Live Security Virtual Conference Exclusive live event will cover

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

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 12:06:13 news.gmane.org wrote: On Tuesday 25 September 2012 11:36:34 news.gmane.org wrote: Which where used by tab changing only. I think too you should use //--- procedure tappmainfo.mt1ionewexec(const sender: TObject); begin

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

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 12:58:54 news.gmane.org wrote: You want to know the class of the current submodule? git master dcd07d48fca82ce794c2fd0595f70e95090657a7 has a ttabwidget.subform property for convenience. 1) it's always NIL for me in the below check: if tpOperations.subform

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

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 14:21:38 news.gmane.org wrote: A bit cumbersome code, though: //-- procedure tappmainfo.mt1ionewexec(const sender: TObject); begin with dmmainmo,lqrySessionData do begin {returning if the needed submodule is active and works in needed

Re: [MSEide-MSEgui-talk] Q from Freepascal.Ru: how to hide main form temporarily

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 15:38:14 liuzg2 wrote: On designtime disable form.options fo_main, set form.visible to false. do it well but can not see application icon in taskbar theform.window.windowpos:= wp_minimized; Martin

Re: [MSEide-MSEgui-talk] Feature request: Clipboard copy support for ShowMessage etc

2012-09-26 Thread Martin Schreiber
On Wednesday 26 September 2012 18:01:30 news.gmane.org wrote: like Win-32 provides for its API based message boxes ( Ctrl+C/Ins selects all text in the message box). Already implemented for Ctrl+C. Martin -- How fast

Re: [MSEide-MSEgui-talk] MSEide (GDB ?) hangs sometimes in 10..15 seconds after work starts once a key pressed in the IDE (win-32)

2012-09-27 Thread Martin Schreiber
On Thursday 27 September 2012 08:52:13 news.gmane.org wrote: Today me had it approx 50 times. Has someone else encountered that ? Absolutely impossible to work today :( 100% sure for an eventual hang on saving changed source files. Delete all watches, breakpoints and watchpoints. Martin

Re: [MSEide-MSEgui-talk] MSEide (GDB ?) hangs sometimes in 10..15 seconds after work starts once a key pressed in the IDE (win-32)

2012-09-28 Thread Martin Schreiber
On Friday 28 September 2012 07:46:49 news.gmane.org wrote: No coming back :( The pipeline to GDB doesn't recover by itself. Maybe different gdb versions? Mine says GNU gdb (GDB) 7.4.1. Tried with mingw32 GDB 7.4.1. Hanged on 1-st save attempt. Also hangs with GDB killed before saving

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-02 Thread Martin Schreiber
On Monday 01 October 2012 15:32:21 Patrick Goupell wrote: What is/does the valuedefault do? It is used in twidgetgrid for new rows. Will this be the value if the user deletes the existing value in the field edit value? No. Martin

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-02 Thread Martin Schreiber
On Monday 01 October 2012 15:24:16 Patrick Goupell wrote: Is there an option that will check if a date/time value is present? Meaning, do not let the user blank/null the entry and then leave the edit field. *edtitwidget.optionsedit oe_notnull. Martin

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-02 Thread Martin Schreiber
On Tuesday 02 October 2012 15:27:29 Patrick Goupell wrote: On 10/02/2012 02:47 AM, Martin Schreiber wrote: On Monday 01 October 2012 15:24:16 Patrick Goupell wrote: Is there an option that will check if a date/time value is present? Meaning, do not let the user blank/null the entry

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-02 Thread Martin Schreiber
On Tuesday 02 October 2012 20:22:24 Sieghard wrote: Hallo Martin, Du schriebst am Tue, 2 Oct 2012 18:33:18 +0200: Also, could you possibly put the components name in the error message to indicate where the Value is required is coming from? The empty edit widget should be focused

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-02 Thread Martin Schreiber
On Wednesday 03 October 2012 00:30:36 Patrick Goupell wrote: No problmes during program execution. But when I clicked on my programs File-Exit and tried to issue the close command I got a pop up messages saying Value is required. That is the purpose of oe_notnull, to force the entry of

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-02 Thread Martin Schreiber
On Tuesday 02 October 2012 21:18:15 Patrick Goupell wrote: The empty edit widget should be focused automatically. I don't really understand what you are saying her. My program does not error for a null entry in the fields until I attempt to close the program. I set the value of the edits

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-02 Thread Martin Schreiber
On Tuesday 02 October 2012 21:18:15 Patrick Goupell wrote: The empty edit widget should be focused automatically. I don't really understand what you are saying her. You write that in the errormessage the name of the editwidget should be showed. I write that it is not necessary because the

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-03 Thread Martin Schreiber
On Wednesday 03 October 2012 14:21:23 Patrick Goupell wrote: The project is on sourceforge at yellowpim.sourceforge.net. You can git clone it from there. On the events / event tab pages or tasks / task tab pages set any one of the time fields optionsedit.oe_notnull to true. Run the

Re: [MSEide-MSEgui-talk] tdatetimeedt

2012-10-03 Thread Martin Schreiber
On Wednesday 03 October 2012 16:55:35 Patrick Goupell wrote: I get system record not found, program termindated. on program start, there is no error message by closing the main window. Are you running this on linux or windows? I use linux but will test it on a windows computer if

Re: [MSEide-MSEgui-talk] Test - please ignore

2012-10-04 Thread Martin Schreiber
On Thursday 04 October 2012 11:03:42 Christian Nobel wrote: Den 03-10-2012 20:54, Christian Nobel skrev: Just a test, as I suddenly was not able to post Or rather reply. Please register on mailinglist: https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk I need to approve all your

Re: [MSEide-MSEgui-talk] SQLite without primary key.

2012-10-04 Thread Martin Schreiber
On Wednesday 03 October 2012 22:56:32 Christian Nobel wrote: You probably need to return the rowid as a pseudo field named rowid and set the ProviderFlags of that field to [pfInKey]. What should be the where part of an Sqlite3 update statment with rowid? If I try to make a pseudo field in

Re: [MSEide-MSEgui-talk] TMSESQLQuery: erasing data on Post/CheckbrowseMode in some circumstances

2012-10-04 Thread Martin Schreiber
On Thursday 04 October 2012 09:37:29 news.gmane.org wrote: Is it as designed ? If yes then in which cases ? The data are set in AfterOpen . I don't know, I don't understand. Martin -- Don't let slow site performance

Re: [MSEide-MSEgui-talk] mysql on 64 bit ilnux

2012-10-06 Thread Martin Schreiber
Patrick Goupell wrote: Is anyone using mysql on a 64 bit ilnux system? I have an old app developed on a 32 bit linux system. When I try to run it on a 64 bit system I get an error (see attached image). There is a symlink of 'libmysqlclient.so.16' in /usr/lib pointing to

Re: [MSEide-MSEgui-talk] mysql on 64 bit ilnux

2012-10-06 Thread Martin Schreiber
On Saturday 06 October 2012 18:26:31 Patrick Goupell wrote: On 10/06/2012 12:17 PM, Graeme Geldenhuys wrote: 32-bit libraries under a 64-bit linux are normally located under /usr/lib32/ - though many distros seem to have there own idea of this. Either way, a 64-bit library is not going

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

2012-10-08 Thread Martin Schreiber
On Tuesday 18 September 2012 12:28:12 Martin Schreiber wrote: On Tuesday 18 September 2012 12:10:52 news.gmane.org wrote: That's me can rely on it (OnLoaded then OnCreate ..) in my programs, correct ? Not in submodules. Submodules onloaded is called after on create. That's if we

Re: [MSEide-MSEgui-talk] Components palette: AV while horizontal scrolling

2012-10-08 Thread Martin Schreiber
On Monday 08 October 2012 09:06:10 news.gmane.org wrote: Me have it with the DBe page: 1) resize the palette so that it offers horizontal scrolling 2) click scrolling buttons until bounds are reached (and further if no AV yet) then back, so on many times until AV happens. Please try again

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

2012-10-08 Thread Martin Schreiber
On Monday 08 October 2012 13:33:11 IvankoB wrote: It is how Delphi streaming works. I found a solution where oncreate is called before onloaded independent of inline and globalloading state. git master Now we always have OnLoaded then OnCreate, correct ? Great if so :) The opposite.

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

2012-10-08 Thread Martin Schreiber
On Monday 08 October 2012 15:12:15 IvankoB wrote: Which oncreate? The oncreate of the owner of the dataset? The dataset should still be in csLoading state in oncreate of the form/datamodule. Design_set_to_active_Dataset.edit is only available (allowed since the dataset gets open) within

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

2012-10-08 Thread Martin Schreiber
On Monday 08 October 2012 15:12:15 IvankoB wrote: Which oncreate? The oncreate of the owner of the dataset? The dataset should still be in csLoading state in oncreate of the form/datamodule. Design_set_to_active_Dataset.edit is only available (allowed since the dataset gets open) within

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

2012-10-08 Thread Martin Schreiber
On Tuesday 09 October 2012 00:27:37 Sieghard wrote: Hallo Martin, Du schriebst am Mon, 08 Oct 2012 19:40:58 +0100: The sequence is: form.oncreate, form.onloaded, dataset.loaded(), form.oncreated. ^^^ ^on...? ^^^? Seriously, _two_

Re: [MSEide-MSEgui-talk] to add unit gnugettext in mseide+msegui

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 08:08:17 Алексей Логинов wrote: In mseide+msegui no procedures and functions from gnugettext: http://code.google.com/p/xroot/source/browse/branches/0.0.6/xroot/gnugettex t.pas(it's with patches from lazarus and we wrote function GetMoFilePath). Using:

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

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 16:29:10 IvankoB wrote: The sequence is: form.oncreate, Doesn't fire at all if the form is created via Application.CreateForm(). As designed ? Works for me. Martin -- Don't let slow

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

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 21:18:12 Ivanko B wrote: Even if botn OnCreate OnCreated are assigned ? Yes. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance

Re: [MSEide-MSEgui-talk] TMSESQLQuery: RevertToInherited doesn't revert changes to FieldDefs

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 17:05:29 IvankoB wrote: As designed. Works for me. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what

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

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 22:28:24 Ivanko B wrote: Even for inheriting no-descendants form ? Strange. Testcase please. :-) Martin -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New

Re: [MSEide-MSEgui-talk] TMSESQLQuery: RevertToInherited doesn't revert changes to FieldDefs

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 22:30:34 Ivanko B wrote: Even if these defs are created manully (w/o consilting by DB) ? Yes. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app

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

2012-10-10 Thread Martin Schreiber
On Wednesday 10 October 2012 06:34:36 IvankoB wrote: Even for inheriting no-descendants form ? Strange. Testcase please. :-) Martin See the attachment where: procedure tparent2fo.parent2formcreate(const sender: TObject); begin showmessage('parent2form''s OnCreate is called'); //

Re: [MSEide-MSEgui-talk] what's wrong about oncreate?

2012-10-11 Thread Martin Schreiber
On Thursday 11 October 2012 05:56:22 刘治国 wrote: [...] Please try again with git master c8f760f55b17f0104d4a6da3a0d2baacee4ce05e and report if it is OK now. Martin -- Don't let slow site performance ruin your business.

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

2012-10-11 Thread Martin Schreiber
On Wednesday 10 October 2012 22:44:26 Ivanko B wrote: The not reverting FiledDefs issue can also be reproduced on that testcase. Steps? -- Don't let slow site performance ruin your business. Deploy New Relic APM

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

2012-10-11 Thread Martin Schreiber
On Monday 08 October 2012 20:40:58 Martin Schreiber wrote: Am 08.10.2012 18:39, schrieb Ivanko B: No, me had an inactive dataset in Form.OnLoaded. And me suggest to use OnLoded. The form is last in a form inheritance chain (no more descendants) but also inserted as a submodule into a tab

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

2012-10-11 Thread Martin Schreiber
On Monday 17 September 2012 14:49:34 Martin Schreiber 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. More

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

2012-10-11 Thread Martin Schreiber
On Thursday 11 October 2012 10:59:23 Ivanko B wrote: Has been already reported : Even if these defs are created manully (w/o consilting by DB) ? Yes. In the today's testcase, remove all fielddefs of parent1fo.tmsesqlquery1 - it won't reflect if its descendant parent2fo.tmsesqlquery1

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

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 12:06:50 Ivanko B wrote: Nobody but You knows that clearly ! And what does the contruction stage mean ? I don't understand. -- Don't let slow site performance ruin your business. Deploy New

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

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 12:55:02 Ivanko B wrote: When is aftrecontruction ? afterconstruction() is a Delphi tobject procedure. http://docwiki.embarcadero.com/Libraries/XE2/en/System.TObject.AfterConstruction What's components state ? ???

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

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 14:27:51 Ivanko B wrote: We need to know: - when called what's done to regular and inherited widgets datasets of forms datamodules - streamed, ready to read/write public protected published properties,... Please read the Delphi documentation for streaming of

Re: [MSEide-MSEgui-talk] Q from Freepascal.Ru: how to hide main form temporarily

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 15:51:11 liuzg2 wrote: On Tuesday 25 September 2012 15:38:14 liuzg2 wrote: On designtime disable form.options fo_main, set form.visible to false. do it well but can not see application icon in taskbar theform.window.windowpos:= wp_minimized; Martin

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

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 18:37:23 Ivanko B wrote: The info doesn't cover all relations: oncreate() vs in afterconstruction() ? loaded() vs afterconstruction() ? oncreated() vs onloaded() ? I can not write more. What is the concrete problem? Martin

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

2012-10-12 Thread Martin Schreiber
On Saturday 13 October 2012 07:43:27 Ivanko B wrote: To know which event to use for particular purpose be sure that's forever:) Swapping them is quite painful the DELPHI documentation is unreliable for MSEgui (strictly speaking - it can't be used without preliminary recheck by You). As to

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

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 08:17:48 Ivanko B wrote: And for the current state: inherited oncreate() - regular oncreate(), inherited onloaded() - regular onloaded(), regular ondestroy() - inherited ondestroy so on - that's full name match in regular-vs-parent sequencing, correct ? There is

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

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 08:12:32 Ivanko B wrote: 1) Regular form/datamodule - sequence of oncreate(), afterconstruction(), oncreated(), onloaded(), oneventloopstarted() since which event widgets become ready since which event datasets become ready since which event datasets become

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

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 09:35:35 Ivanko B wrote: It seems me,ve got it onloaded is designed to be universal since doesnt depend on loading state,correct? It depends on loading state but it is designed so, that it is called after all internal loading and initialisation has been made (I

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

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 10:48:29 Ivanko B wrote: In which form/datamodule event can SQL propery of dataset be reassigned so that it affects query results (ready in OnLoaded) ? (although usually me use dataset.BeforeOpen for this purpose) Probably oncreate because it is before loaded()

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

2012-10-15 Thread Martin Schreiber
On Saturday 13 October 2012 10:58:33 Martin Schreiber wrote: On Saturday 13 October 2012 10:48:29 Ivanko B wrote: In which form/datamodule event can SQL propery of dataset be reassigned so that it affects query results (ready in OnLoaded) ? (although usually me use dataset.BeforeOpen

Re: [MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-15 Thread Martin Schreiber
On Monday 15 October 2012 10:06:12 IvankoB wrote: Instead it inserts char(D0) + char(CP1251_CHAR_CODE) for each character of clipboard text. See the attached files for comparision. Please more info. -- Don't let slow

Re: [MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-15 Thread Martin Schreiber
On Monday 15 October 2012 13:30:55 IvankoB wrote: Instead it inserts char(D0) + char(CP1251_CHAR_CODE) for each character of clipboard text. See the attached files for comparision. Please more info. Once me use non-latin text pasted from win-32 clipboard, the source file doesn't

Re: [MSEide-MSEgui-talk] MSEide doesn't convert CP1251 clipboard data to UTF8 when pasting

2012-10-15 Thread Martin Schreiber
On Monday 15 October 2012 16:50:54 IvankoB wrote: Instead it inserts char(D0) + char(CP1251_CHAR_CODE) for each character of clipboard text. See the attached files for comparision. Please more info. Strange: It should return utf-16. mseclip.bin attached to the

Re: [MSEide-MSEgui-talk] DBwidget doesn't consider its boud datset ready

2012-10-20 Thread Martin Schreiber
On Friday 19 October 2012 16:54:50 Ivanko B wrote: A form cteates an instancee of a module in own constructor. The module has a local query. The form has a DBENUMEDITLB with datalink bould to a field of the local query. The local query is set design time active, in its AfterOpen it appends a

Re: [MSEide-MSEgui-talk] DBwidget doesn't consider its boud datset ready

2012-10-20 Thread Martin Schreiber
On Saturday 20 October 2012 09:30:13 Ivanko B wrote: No, me use {module_type}.create(nil); procedure dmmt1moacquire; begin if refcount = 0 then begin modinstance:= tdmmt1mo.create(nil); application.createform(tdmmt1mo,modinstance); Martin

Re: [MSEide-MSEgui-talk] DBwidget doesn't consider its boud datset ready

2012-10-20 Thread Martin Schreiber
On Saturday 20 October 2012 10:33:55 Ivanko B wrote: The 1-st message in that brach has a testcase. procedure dmmt1moacquire; begin if refcount = 0 then begin application.createdatamodule(tdmmt1mo,modinstance); application.removecomponent(modinstance); -- end; inc(refcount); end;

Re: [MSEide-MSEgui-talk] DBwidget doesn't consider its boud datset ready

2012-10-20 Thread Martin Schreiber
On Saturday 20 October 2012 12:25:46 Ivanko B wrote: 1) what does it do ? modinstance will not be destroyed automatially by application. 2) is smth accompanied to change in dmmt1morelease ? No. Martin -- Everyone

Re: [MSEide-MSEgui-talk] DBwidget doesn't consider its boud datset ready

2012-10-20 Thread Martin Schreiber
On Saturday 20 October 2012 18:33:42 Ivanko B wrote: modinstance will not be destroyed automatially by application. === Though the syntax looks paradoxal :) Hav a look to the source: procedure tguiapplication.destroyforms; begin while componentcount 0 do begin

Re: [MSEide-MSEgui-talk] program exit code

2012-10-22 Thread Martin Schreiber
On Monday 22 October 2012 17:01:14 Patrick Goupell wrote: How do I set an exit code in my mseide-msegui program? In free pascal I would use an 'exit (0);' or 'exit (4);' statement. What do I do in mseide? exitcode:= theexitcode; application.terminated:= true; Martin

Re: [MSEide-MSEgui-talk] FreePascal.Ru: analog of (Delphi's) OnDropFiles

2012-10-23 Thread Martin Schreiber
On Tuesday 23 October 2012 09:40:04 IvankoB wrote: Q: how ? What does it? Martin -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today:

Re: [MSEide-MSEgui-talk] drag and drop data, how?

2012-10-24 Thread Martin Schreiber
On Tuesday 23 October 2012 19:42:16 Alexandre Minoshi wrote: Hello, Martin! How i can use drag and drop? For example drag data from one stringgrid and drop to second stringgrid? An example is here:

Re: [MSEide-MSEgui-talk] FreePascal.Ru: analog of (Delphi's) OnDropFiles

2012-10-24 Thread Martin Schreiber
On Tuesday 23 October 2012 19:47:57 Alexandre Minoshi wrote: 23.10.2012 15:03, Martin Schreiber пишет: On Tuesday 23 October 2012 09:40:04 IvankoB wrote: Q: how ? What does it? Martin It was my question :) In lazarus form have event onDropFiles (Tform.OnDropFiles). This event

Re: [MSEide-MSEgui-talk] MSEi18n doesn't compile

2012-10-24 Thread Martin Schreiber
On Wednesday 24 October 2012 06:20:05 IvankoB wrote: Compiling tools\i18n\project_mfm.pas Compiling .\lib\common\designutils\msesettings.pas Compiling .\lib\common\designutils\msesettings_mfm.pas Compiling .\lib\common\dialogs\mseshortcutdialog.pas Compiling

Re: [MSEide-MSEgui-talk] Running unattended

2012-10-24 Thread Martin Schreiber
On Tuesday 23 October 2012 17:57:45 Sieghard wrote: Hello Martin, I would like (or rather, am obliged) to create an application that can run for a long time without getting any user input, just displaying some data received by some hardware interface (serial ports, network or such). It's got

Re: [MSEide-MSEgui-talk] Running unattended

2012-10-24 Thread Martin Schreiber
On Tuesday 23 October 2012 20:59:27 Sieghard wrote: Hallo Patrick, Du schriebst am Tue, 23 Oct 2012 13:45:33 -0400: where this might come from and how to get rid of those lock-ups? What if you set up a timer process to wake up every n minutes? The on event can do nothing or something

Re: [MSEide-MSEgui-talk] drag and drop data, how?

2012-10-24 Thread Martin Schreiber
On Wednesday 24 October 2012 15:46:41 Alexandre Minoshi wrote: An example is here: https://gitorious.org/mseuniverse/mseuniverse/trees/master/attic/msedocum enting/mse/trunk/help/tutorials/widgets/grids/dragdropgrid Martin Ok. And if I need to move row in stringgrid? Activate

Re: [MSEide-MSEgui-talk] Running unattended

2012-10-24 Thread Martin Schreiber
On Thursday 25 October 2012 01:10:41 Sieghard wrote: Hallo Ivanko, Du schriebst am Thu, 25 Oct 2012 01:57:45 +0500: Possibly Sieghard wants to have its client-side app of service (daemon) type. It's a special type of win-32 apps - with attention to Yes, that might be a possible solution

Re: [MSEide-MSEgui-talk] Running unattended

2012-10-25 Thread Martin Schreiber
On Thursday 25 October 2012 20:48:29 Sieghard wrote: [...] What do you think of a setup using a secondary thread only running a periodical timer that every so often synchronizes (is there a synchronize call comparable to Delphi's in your msegui?) Yes. with the main thread in an attempt

Re: [MSEide-MSEgui-talk] twidgetgrid + tdataimage

2012-10-26 Thread Martin Schreiber
On Friday 26 October 2012 17:49:37 Alexandre Minoshi wrote: Hello! Today two questions: 1. How to use twidgetgrid + tdataimage? For example I want to show list of pictures and descriptions for them. I try next code twidgetgrid1.rowcount := 3; for i := 0 to 3 do begin tdataimage1[i]

Re: [MSEide-MSEgui-talk] twidgetgrid + tdataimage

2012-10-27 Thread Martin Schreiber
On Friday 26 October 2012 19:13:56 Alexandre Minoshi wrote: tdataimage1.gridvalue[i] := readfiledatastring(path to file); Program crashed if file not found : === An unhandled exception occurred at $0813CACF : EFCreateError : Unable to open file

Re: [MSEide-MSEgui-talk] twidgetgrid + tdataimage

2012-10-27 Thread Martin Schreiber
On Friday 26 October 2012 19:13:56 Alexandre Minoshi wrote: tdataimage1.gridvalue[i] := readfiledatastring(path to file); Program crashed if file not found : === BTW, if you don't want to crash the program by an exception move the critical code from onloaded to

Re: [MSEide-MSEgui-talk] onchildmouseevent not work over ttabwidget

2012-10-27 Thread Martin Schreiber
On Saturday 27 October 2012 16:52:49 Alexandre Minoshi wrote: Hi, again! procedure tmainfo.on_childmouseevent(const sender: twidget; var ainfo: mouseeventinfoty); begin tlabel1.caption := sender.name; end; It work with widgets placed on form or other widgets (tlabel, tspacer, etc) but

Re: [MSEide-MSEgui-talk] About wo_popup, wo_splash.

2012-10-30 Thread Martin Schreiber
On Tuesday 30 October 2012 10:12:49 Alexandre Minoshi wrote: Hello! About wo_popup, wo_splash window options Is there way to switch them in runtime? I try execute mainfo.optionswindow := [wo_groupleader,wo_taskbar, wo_splash]; But there is no effect. That are hints for the window

Re: [MSEide-MSEgui-talk] About wo_popup, wo_splash.

2012-10-30 Thread Martin Schreiber
On Tuesday 30 October 2012 10:33:26 Martin Schreiber wrote: On Tuesday 30 October 2012 10:12:49 Alexandre Minoshi wrote: Hello! About wo_popup, wo_splash window options Is there way to switch them in runtime? I try execute mainfo.optionswindow := [wo_groupleader,wo_taskbar

Re: [MSEide-MSEgui-talk] About wo_popup, wo_splash.

2012-10-30 Thread Martin Schreiber
On Tuesday 30 October 2012 10:37:07 Alexandre Minoshi wrote: P.S. I wrote Tmplayer class , it helps work with mplayer. Interesting for you? Yes, do you want to place it on MSEuniverse? Martin -- Everyone hates slow

Re: [MSEide-MSEgui-talk] About wo_popup, wo_splash.

2012-10-30 Thread Martin Schreiber
On Tuesday 30 October 2012 11:19:34 Alexandre Minoshi wrote: 30.10.2012 16:59, Martin Schreiber пишет: On Tuesday 30 October 2012 10:37:07 Alexandre Minoshi wrote: P.S. I wrote Tmplayer class , it helps work with mplayer. Interesting for you? Yes, do you want to place it on MSEuniverse

Re: [MSEide-MSEgui-talk] About wo_popup, wo_splash.

2012-10-30 Thread Martin Schreiber
On Tuesday 30 October 2012 11:37:03 Alexandre Minoshi wrote: You have commit rights on MSEuniverse, please commit it yourself, possibly in a new directory components. Thanks, Martin I will try do it? PS. XDND support is under construction. :-) What it XDND? The usual drag and drop

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-03 Thread Martin Schreiber
Am 03.11.2012 15:30, schrieb Ivanko B: Datamodule DMBASE has tmsesqlquery QUERYBASE in local mode tmsedatasource DSBASE, the query is design-time active filled with data in its AfterOpen. Simple form FORMBASE has stringrid SGBASE bound to DSBASE its dayacols assigned to QUERYBASE.

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-03 Thread Martin Schreiber
Am 03.11.2012 15:46, schrieb Ivanko B: A mad idea: a special datamodule pocket(s) on form so that to place into it all (or part of) non-visual components - it'll eliminated the need in hard-to-maintain hacks just to have usable appearance. It is good praxis to place invisible components and

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-04 Thread Martin Schreiber
Am 04.11.2012 07:39, schrieb Ivanko B: You can place the invisible components in scrolling area at design time. === But it will also affect run-time size of the forms, trying to fix it by code (setting needed bounds by the code) will affect design set anchoring so on. Works for me.

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-04 Thread Martin Schreiber
Am 04.11.2012 08:19, schrieb Ivanko B: An interesting feature. = Q: in 1) ascendants = BASEMO + BASEFO where BASEMO is a submodule in BASEFO 2) descendants = REALMO (extending functionality of BASEMO) + REALFO ( extending functionality of BASEFO) How to establish submoduling in

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-04 Thread Martin Schreiber
Am 04.11.2012 08:24, schrieb Ivanko B: But it will also affect run-time size of the forms, trying to fix it by code (setting needed bounds by the code) will affect design set anchoring so on. Works for me. == Me mean that if we will place datamodule aware components in

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-04 Thread Martin Schreiber
Am 04.11.2012 08:39, schrieb Ivanko B: True. It is better to use a separate data module anyway IMO. But then we have problems with parallel (form interbound with datamodule) inheritance :) There should be no problems. Martin

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-04 Thread Martin Schreiber
On Sunday 04 November 2012 07:16:58 Ivanko B wrote: See the attached project. Run, click Go - it should display a grid with a single row. But it won't until realfo.tdbstringgrid1.datasource is reassigned from dminputmo.tmsedatasource1(in the ascendant form) to dmrtfo.tmsedatasource1dminputmo

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-04 Thread Martin Schreiber
Am 04.11.2012 11:32, schrieb Ivanko B: procedure trealfo.realformcreate(const sender: TObject); begin application.createdatamodule(tdminputmo,dminputmo); // application.createdatamodule(tdmrtfo,dmrtfo); end; Why do you expect the data of dmrtfo.tmsedatasource1?

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-04 Thread Martin Schreiber
Am 04.11.2012 11:46, schrieb Ivanko B: The problem seems to be in that dminpumo dmrealmo in run-time when it's really needed. Another issue is that using global datamodule instance variables (dminpumo dmrealmo) is unreliable because other forms may use these datamodules but may need own

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-06 Thread Martin Schreiber
Am 04.11.2012 17:20, schrieb Ivanko B: BTW, the project worked excellent until the form (max 780x580) was overwhelmed by non-visual components (actions, fielparamlinks, fielfieldlinks, persistent fieds,..- the base query has approx 60 fields so me have a lot of non-visuals around) so that

Re: [MSEide-MSEgui-talk] Q: about parallel inheritance

2012-11-06 Thread Martin Schreiber
Am 06.11.2012 15:46, schrieb Graeme Geldenhuys: On 2012-11-04 16:20, Ivanko B wrote: BTW, the project worked excellent until the form (max 780x580) was overwhelmed by non-visual components (actions, fielparamlinks, fielfieldlinks, persistent fieds,..- the base query has approx 60 The joys

Re: [MSEide-MSEgui-talk] progress bar

2012-11-06 Thread Martin Schreiber
On Tuesday 06 November 2012 17:34:38 Patrick Goupell wrote: Is there a progressbar example available and where do I find it? Here: http://gitorious.org/mseuniverse/mseuniverse/trees/master/attic/msedocumenting/mse/trunk/help/tutorials/thread/progressbar Martin

Re: [MSEide-MSEgui-talk] progress bar

2012-11-06 Thread Martin Schreiber
On Tuesday 06 November 2012 21:03:52 Patrick Goupell wrote: On 11/06/2012 01:23 PM, Martin Schreiber wrote: On Tuesday 06 November 2012 17:34:38 Patrick Goupell wrote: Is there a progressbar example available and where do I find it? Here: http://gitorious.org/mseuniverse/mseuniverse

Re: [MSEide-MSEgui-talk] About wo_popup, wo_splash.

2012-11-07 Thread Martin Schreiber
On Tuesday 30 October 2012 11:57:31 Alexandre Minoshi wrote: 30.10.2012 17:49, Martin Schreiber пишет: On Tuesday 30 October 2012 11:37:03 Alexandre Minoshi wrote: You have commit rights on MSEuniverse, please commit it yourself, possibly in a new directory components. Thanks, Martin

Re: [MSEide-MSEgui-talk] FreePascal.Ru: analog of (Delphi's) OnDropFiles

2012-11-07 Thread Martin Schreiber
On Tuesday 23 October 2012 09:40:04 IvankoB wrote: Q: how ? git master e6a53764f709ba0e51282322c411f8e65d186de3 has tsysmimedragobject, experimental. An example is here: http://gitorious.org/mseuniverse/mseuniverse/trees/master/attic/msedocumenting/mse/trunk/help/tutorials/widgets/sysdnd

Re: [MSEide-MSEgui-talk] progress bar

2012-11-07 Thread Martin Schreiber
Am 07.11.2012 14:51, schrieb Patrick Goupell: On 11/07/2012 01:49 AM, Martin Schreiber wrote: It should. Can you show the code? Martin Project attached. This is compiled and run under windows xp. The painting of changed components is done in main event loop. Your code blocks main

Re: [MSEide-MSEgui-talk] Important (crash related) issues about win-32 FPC DLLs.

2012-11-08 Thread Martin Schreiber
On Thursday 08 November 2012 10:12:35 Ivanko B wrote: See the attachment. Does the FPC team know about the issue? Martin -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download

Re: [MSEide-MSEgui-talk] tterminal issue

2012-11-08 Thread Martin Schreiber
On Thursday 08 November 2012 11:59:25 Alexandre Minoshi wrote: Hello! Not important, but ... Today i try to execute with tterminal this command : LANG=en_US.utf8 su - -c pacman -Rs $(pacman -Qtdq) In real terminal it work ok, but in tterminal some data was lost. BUT! if replace double

Re: [MSEide-MSEgui-talk] tterminal issue

2012-11-08 Thread Martin Schreiber
On Thursday 08 November 2012 15:39:26 Alexandre Minoshi wrote: What is the program connected to tterminal? bash? Or is it the acommandline parameter of value of tterminal.execprog()? Martin I run with tterminal.execprog() So the actual code used to run the program is:

Re: [MSEide-MSEgui-talk] tterminal issue

2012-11-08 Thread Martin Schreiber
On Thursday 08 November 2012 19:52:13 Alexandre Minoshi wrote: And want you mean speaking program connected to tterminal? bash? I meant if the commandline is entered in a running shell session for example and not a call to tterminal.execprog(). Martin No, I just prepare command and

Re: [MSEide-MSEgui-talk] MSEspice + NGSpice : plans on features

2012-11-14 Thread Martin Schreiber
On Wednesday 14 November 2012 15:20:09 Ivanko B wrote: Just a curiosity [my non-military flank of education is related to schematics,..] :) It is a GUI frontend for ngspice. http://ngspice.sourceforge.net/ Martin --

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