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

2011-12-26 Thread IvankoB
It's on dayopenform.dbcdeOperDay. See the attachment 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 wor

Re: [MSEide-MSEgui-talk] tdb*edit*: how to Paste from clipboard if oe_notnull check has triggered (shows its constraint message) ?

2011-12-26 Thread IvankoB for-mse
To access the edit facilities, the following login credentials should be used: Роль: select "Администратор" Логин: a Пароль: a 2011/12/27, IvankoB for-mse : > Even with inherteted forms ? > Me have it on REFCOMPANYEDITFORM (TRECEDITFORM's > descendant).dbcdeDateBegin. With this widget empy, me

Re: [MSEide-MSEgui-talk] tdb*edit*: how to Paste from clipboard if oe_notnull check has triggered (shows its constraint message) ?

2011-12-26 Thread IvankoB for-mse
Even with inherteted forms ? Me have it on REFCOMPANYEDITFORM (TRECEDITFORM's descendant).dbcdeDateBegin. With this widget empy, me call btnSave it tries Post & ApplyUpdate thus compalins on oe_notnull then.. 2011/12/26, Martin Schreiber : > On 12/26/2011 06:55 PM, IvankoB for-mse wrote: >> In t

Re: [MSEide-MSEgui-talk] tdb*edit*: how to Paste from clipboard if oe_notnull check has triggered (shows its constraint message) ?

2011-12-26 Thread Martin Schreiber
On 12/26/2011 06:55 PM, IvankoB for-mse wrote: > In this case, only direct keyboard input or pasting over previously > input text (selected) is possible or not inserting into empty text > area. > Works for me. -- Write on

[MSEide-MSEgui-talk] tdb*edit*: how to Paste from clipboard if oe_notnull check has triggered (shows its constraint message) ?

2011-12-26 Thread IvankoB for-mse
In this case, only direct keyboard input or pasting over previously input text (selected) is possible or not inserting into empty text area. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app

Re: [MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread Martin Schreiber
On 12/26/2011 04:36 PM, IvankoB wrote: >> Can not reproduce. >> > > The F11 issue too ? > No problems with F11 on win32. It is possible that it depends on Z-order, focus-order and so on. There were changes because of the KDE window manager workaround, I'll do some more tests. Please report if you

Re: [MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread IvankoB
> Can not reproduce. > The F11 issue too ? -- 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 Int

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

2011-12-26 Thread Martin Schreiber
Am 26.12.2011 16:12, schrieb IvankoB: >>> Also, empty_text is only displayed when the widget is focused. >>> As designed? >>> >> Can not reproduce. >> > > Me have it if: > > valueempty is -1 (the default) and the query contains: > > [..] > union > select > -1 as publisher_code, > '

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

2011-12-26 Thread IvankoB
>> Also, empty_text is only displayed when the widget is focused. >> As designed? >> > Can not reproduce. > Me have it if: valueempty is -1 (the default) and the query contains: [..] union select -1 as publisher_code, ' -- ALL -- ' as publisher_name When me click the enumedit '

Re: [MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread Martin Schreiber
Am 26.12.2011 16:08, schrieb IvankoB: >>> Yes, but it seems neither to stop on the exception not display >>> showmessage. >>> Or it stops as expected then me press F9 to proceed but showmessage >>> doesn't show although should or flashes very quickly as with auto >>> confirming. >>> (possibly corre

Re: [MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread IvankoB
>> Yes, but it seems neither to stop on the exception not display >> showmessage. >> Or it stops as expected then me press F9 to proceed but showmessage >> doesn't show although should or flashes very quickly as with auto >> confirming. >> (possibly correlated with the flashing F11 ObjInsp issue

Re: [MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread Martin Schreiber
On 12/26/2011 03:36 PM, IvankoB wrote: >>> if a non-fatal (cathed - f.e. EDatabaseException when locating data etc) >>> exception is fired before the code with ShowMessage. >>> >> 'Project'-'Options'-'Debugger'-'Stop on Exception' activated? > > Yes, but it seems neither to stop on the exception n

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 03:20 PM, IvankoB wrote: > Are you sure the >> error is on DB post and not on text->date conversion in tdbedataedit? >> > > Me has retyped the database display format (dd.mm.) into FormatEdit > for Post to succeed. > dbcdeDateBegin.formatedit is empty -> default date format wi

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

2011-12-26 Thread Martin Schreiber
On 12/26/2011 03:09 PM, IvankoB wrote: > Also, empty_text is only displayed when the widget is focused. > As designed? > Can not reproduce. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app

Re: [MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread IvankoB
>> if a non-fatal (cathed - f.e. EDatabaseException when locating data etc) >> exception is fired before the code with ShowMessage. >> > 'Project'-'Options'-'Debugger'-'Stop on Exception' activated? Yes, but it seems neither to stop on the exception not display showmessage. Or it stops as expected

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

2011-12-26 Thread IvankoB
> 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? > It's a very old "ghost" issue :) Happens after both mfm- & pas-file were open simultaneously for some reason but neither manually nor via

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

2011-12-26 Thread IvankoB
Are you sure the > error is on DB post and not on text->date conversion in tdbedataedit? > Me has retyped the database display format (dd.mm.) into FormatEdit for Post to succeed. -- Write once. Port to many. Get t

[MSEide-MSEgui-talk] The IDE: F11 sometimes doesn't bring the ObjInst to front

2011-12-26 Thread IvankoB
Though it tries (flashes). (win-32) -- 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 App

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

2011-12-26 Thread IvankoB
Also, empty_text is only displayed when the widget is focused. As designed? -- 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 consu

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

2011-12-26 Thread IvankoB
> I assume this is the query of the lookup buffer? empty_text will be > displayed if the value of the tdbenumeditlb.datalink.filedname-field is > NULL. If a.publisher_code will be mapped to a integer column in lookup > buffer NULL becomes 0 so selecting '-- ALL --' will not store NULL but 0. > > Ma

Re: [MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread Martin Schreiber
On 12/26/2011 02:40 PM, IvankoB wrote: > if a non-fatal (cathed - f.e. EDatabaseException when locating data etc) > exception is fired before the code with ShowMessage. > 'Project'-'Options'-'Debugger'-'Stop on Exception' activated? --

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

2011-12-26 Thread Martin Schreiber
On 12/26/2011 02:37 PM, IvankoB wrote: >> 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. >> > > Doesn't work with the below SQL (really '-- ALL --' in unneeded here si

[MSEide-MSEgui-talk] IDE & ShowMessage: sometimes doesn't display when stepped debugging

2011-12-26 Thread IvankoB
if a non-fatal (cathed - f.e. EDatabaseException when locating data etc) exception is fired before the code with ShowMessage. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development

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

2011-12-26 Thread IvankoB
> 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. > Doesn't work with the below SQL (really '-- ALL --' in unneeded here since should be replaced by "empty_text") : sel

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 i

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-

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

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

Re: [MSEide-MSEgui-talk] 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 a

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

2011-12-26 Thread IvankoB
Otherwise it refuses to post changes with message about date format mismatch. So, FormatEdit/FormaDisplay become required (not auto-tunable) properties. As designed ? -- Write once. Port to many. Get the SDK and tools t

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

2011-12-26 Thread IvankoB
if both pas- & mfm-files were loaded to the IDE and the pas-fiel was closed earlier. -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to se

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

2011-12-26 Thread IvankoB
For instance, in the PODPISKA, add "refs/common/RECEDITFORM.pas" to the project tree then click REFCOMPANYEDITFORM.btnSave.OnExecute ( = treceditfo.recsaveexec ). -- Write once. Port to many. Get the SDK and tools to si

[MSEide-MSEgui-talk] TDBEnumEditLB: empty_text

2011-12-26 Thread IvankoB
How to cause it to display this text if no selection made in the list ? -- 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

Re: [MSEide-MSEgui-talk] TMSESQLQuery: how to check is some value exists in some field[N] ?

2011-12-26 Thread Martin Schreiber
On 12/26/2011 11:21 AM, IvankoB wrote: > like "locate()" but so that not to renavigate the dataset. > Use tmsebufdataset.currentas*[] for searching or tlocalindex.find(...,abookmark,...) Martin -- Write once. Port to man

[MSEide-MSEgui-talk] TMSESQLQuery: how to check is some value exists in some field[N] ?

2011-12-26 Thread IvankoB
like "locate()" but so that not to renavigate the dataset. -- 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.

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 >setlan

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

2011-12-26 Thread liuzg2
于 2011/12/26 14:51, Martin Schreiber 写道: > On 12/26/2011 01:21 AM, liuzg2 wrote: >> my app use the font name:='stf_roman' charset:='GB2312' >>but when catch error or showmessage() >> it looks not like use my app font. >> > How do you set the font? > > Martin uses //heaptrc, {$IFDEF UNIX}{