Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Martin Schreiber
On Tuesday 18 October 2016 22:11:28 Krzysztof wrote: > Hi Martin, > > Long time :) . My last project was aborted (not due to MSE) so there was no > sense to continue porting from Lazarus. But I started new one and want to > make it on MSE from the beginning. > > Have questions about twidgetgrid: >

Re: [MSEide-MSEgui-talk] TEdit and OnChange event

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 00:28:11 Graeme Geldenhuys wrote: > Hi Martin, > > Why does a TEdit's OnChange event fire when a form is displayed for the > first time? > > At design time the TEdit was empty (no text) and no default property > values were changed. The constructor of the form doesn't c

Re: [MSEide-MSEgui-talk] TEdit looses focus with down arrow

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 00:51:39 Graeme Geldenhuys wrote: > Hi > > While a TEdit has focus, if I then press the Down or Up arrow keys, then > the TEdit looses focus. MSEgui supports "geographic" widget navigation by arrow keys. > How do I prevent that. I only want TAB to > changes widget fo

Re: [MSEide-MSEgui-talk] TEdit looses focus with down arrow

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 00:54:57 Graeme Geldenhuys wrote: > On 2016-10-18 23:51, Graeme Geldenhuys wrote: > > Looking at the option in the Object Inspector, I thought maybe the > > ow_arrowfocus (defaults to True) might be the cause. Removing > > ow_arrowfocus from the optionswidget did not re

[MSEide-MSEgui-talk] sizes of a window

2016-10-19 Thread Solomon Hierrussalimsky
how to forbid change of the sizes of a window? I use mseide in one small application...-- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___

Re: [MSEide-MSEgui-talk] sizes of a window

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 10:04:23 Solomon Hierrussalimsky wrote: > how to forbid change of the sizes of a window? > Set .bounds_cxmin = bounds_cxmax = window width, bounds_cymin = bounds_cymax = window height. Martin

Re: [MSEide-MSEgui-talk] sizes of a window

2016-10-19 Thread Solomon Hierrussalimsky
On Wed, 19 Oct 2016 10:18:55 +0200 Martin Schreiber wrote: > On Wednesday 19 October 2016 10:04:23 Solomon Hierrussalimsky wrote: > > how to forbid change of the sizes of a window? > > > Set .bounds_cxmin = bounds_cxmax = window width, > bounds_cymin = bounds_cymax = window height. > > Martin >

Re: [MSEide-MSEgui-talk] TEdit looses focus with down arrow

2016-10-19 Thread Graeme Geldenhuys
On 2016-10-19 08:36, Martin Schreiber wrote: > MSEgui supports "geographic" widget navigation by arrow keys. > >> How do I prevent that. I only want TAB to >> changes widget focus. >> > It is such an important MSEgui characteristic that it can't be switched off. > MSEide uses it everywhere, neve

Re: [MSEide-MSEgui-talk] TEdit and OnChange event

2016-10-19 Thread Graeme Geldenhuys
On 2016-10-19 08:17, Martin Schreiber wrote: > It is called from loaded(). The purpose is that one can synchronise with the > streamed values. I ended up using the OnTextEdited event, which seems to fit my purpose. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free P

Re: [MSEide-MSEgui-talk] TEdit looses focus with down arrow

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 10:36:54 Graeme Geldenhuys wrote: > Also they can close the dialog by simply > pressing ESC. > Please activate .options fo_closeonesc in order to activate such a behaviour. > The developer doesn't need to fumble arround with the mouse, or use the > TAB key to get to

Re: [MSEide-MSEgui-talk] TEdit and OnChange event

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 09:58:05 Graeme Geldenhuys wrote: > On 2016-10-19 08:17, Martin Schreiber wrote: > > It is called from loaded(). The purpose is that one can synchronise with > > the streamed values. > > I ended up using the OnTextEdited event, which seems to fit my purpose. > Yes, it i

Re: [MSEide-MSEgui-talk] TEdit and OnChange event

2016-10-19 Thread Graeme Geldenhuys
On 2016-10-19 08:17, Martin Schreiber wrote: > It is called from loaded(). The purpose is that one can synchronise with the > streamed values. ps: I added all the recent information you gave me to the fpdoc documentation in MSEUniverse as commit c4062c2. Every little bit helps. ;-) Regards,

Re: [MSEide-MSEgui-talk] TEdit and OnChange event

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 11:21:30 Graeme Geldenhuys wrote: > On 2016-10-19 08:17, Martin Schreiber wrote: > > It is called from loaded(). The purpose is that one can synchronise with > > the streamed values. > > ps: > I added all the recent information you gave me to the fpdoc > documentation

Re: [MSEide-MSEgui-talk] TEdit looses focus with down arrow

2016-10-19 Thread Graeme Geldenhuys
On 2016-10-19 10:13, Martin Schreiber wrote: >> Also they can close the dialog by simply >> pressing ESC. >> > Please activate .options fo_closeonesc in order to activate such a > behaviour. That doesn't seem to have the desired effect. The dialog disappears, but not close. I then can't get focu

[MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Graeme Geldenhuys
Hi I've finally got the "Procedure List" add-on for MSEide to a point were it is working. Not perfectly, but usable at least. ;-) The code can be found in the "procedurelist" branch on my msegui repository on Github. https://github.com/graemeg/msegui/tree/procedurelist Attached a two screens

Re: [MSEide-MSEgui-talk] TEdit looses focus with down arrow

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 12:23:26 Graeme Geldenhuys wrote: > On 2016-10-19 10:13, Martin Schreiber wrote: > >> Also they can close the dialog by simply > >> pressing ESC. > > > > Please activate .options fo_closeonesc in order to activate such a > > behaviour. > > That doesn't seem to have the

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Graeme Geldenhuys
On 2016-10-19 11:38, Graeme Geldenhuys wrote: > 8. I still need to figure out how to register the Procedure List in the >IDE Shortcuts dialog, so the shortcut can be user configurable. 9. Toolbar needs to be implemented to configure the Procedure List dialog. eg: change the filter matchin

Re: [MSEide-MSEgui-talk] TEdit looses focus with down arrow

2016-10-19 Thread Graeme Geldenhuys
On 2016-10-19 11:47, Martin Schreiber wrote: > grdProcedures.rowup(); > include(ainfo.eventstate,es_processed); //stops further processing <<

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 12:38:03 Graeme Geldenhuys wrote: > Hi > > I've finally got the "Procedure List" add-on for MSEide to a point were > it is working. Not perfectly, but usable at least. ;-) > Great! Just what I can say on the fly, I need to dig deeper later: > > 3. The first column in th

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 12:38:03 Graeme Geldenhuys wrote: > > 7. Individual cells should not be selectable (focusable) in the grid. > Activate .datacols.options co_nofocus. Martin -- Check out the vibrant tech commun

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Krzysztof
What I'm missing the most is code completition :/ . Any progress with this case? Can't imagine how you guys can coding from memory or jump on documentation :( -- Check out the vibrant tech community on one of the world's mo

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Fred van Stappen
> What I'm missing the most is code completition :/ Huh, code completion is working. [cid:b032c757-d27f-48a0-9cad-fc390b6aff1c] -- Check out the vibrant tech community on one of the world's most engaging tech sites, Sla

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Krzysztof
2016-10-19 15:27 GMT+02:00 Fred van Stappen : > > What I'm missing the most is code completition :/ > > Huh, code completion is working. > >From when? I'm shocked. Is it new functionality? How to show that menu? CTRL+SPACE, ALT+SPACE doesn't work -

Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Krzysztof
2016-10-19 9:08 GMT+02:00 Martin Schreiber : > > The white background is drawn by frame.colorclient. Please set > T*Grid.Frame.ColorClient to cl_transparent. > Warning: Grids use window scrolling in order to optimise performance. So > for > example in order to show a new row on bottom the existing

Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Krzysztof
2016-10-19 9:08 GMT+02:00 Martin Schreiber : > > Override "calcitemlayout()". > Mmm, seems that this methods is never called: class procedure TRootNode.calcitemlayout(const asize: sizety; const ainnerframe: framety; const list: tcustomitemlist; var info: listitemlayoutinfoty); begin inherit

Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 16:38:14 Krzysztof wrote: > 2016-10-19 9:08 GMT+02:00 Martin Schreiber : > > Override "calcitemlayout()". > > Mmm, seems that this methods is never called: > Because of: " function ttreeitemedit.getitemclass: listitemclassty; begin result:= ttreelistedititem; end; " in

Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 16:22:59 Krzysztof wrote: > > > > Maybe overriding "drawimage()" is better. > > Thanks, now it is working, almost. When tree item is selected then seems > that different "draw" method is called because my text disappear but > caption is drawed. Which one is it? If the

Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Krzysztof
2016-10-19 19:25 GMT+02:00 Martin Schreiber : > > If the widget is focused the caption will be drawn by TInplaceEdit. > > Can I disable TInplaceEdit? I don't need edition mode, just readonly treeview -- Check out the vibran

[MSEide-MSEgui-talk] localization of library messages

2016-10-19 Thread Solomon Hierrussalimsky
when using the 'tintegeredit' component a message appears whether localization of such messages on other languages is available? how to include?-- Check out the vibrant tech community on one of the world's most engagi

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Fred van Stappen
Hello. Please read thetopic about: "List of properties after "." in MSEide." @ Martin, is it possible to use a url-link to show one topic of MSE forum ? Fre;D De : Krzysztof Envoyé : mercredi 19 octobre 2016 15:56 À : General list for MSEide+MSEgui Objet

Re: [MSEide-MSEgui-talk] Procedure List - fast code navigation for MSEide

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 23:22:57 Fred van Stappen wrote: > > @ Martin, is it possible to use a url-link to show one topic of MSE forum ? > Search it in mail-archive: https://www.mail-archive.com/mseide-msegui-talk@lists.sourceforge.net/ or mailman https://sourceforge.net/p/mseide-msegui/mailma

Re: [MSEide-MSEgui-talk] localization of library messages

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 22:43:24 Solomon Hierrussalimsky wrote: > when using the 'tintegeredit' component a message appears > > whether localization of such messages on other languages is available? > how to include? They are in the "lib/common/kernel/mseconsts_*.pas" files. Add the needed

Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 19:27:28 Krzysztof wrote: > 2016-10-19 19:25 GMT+02:00 Martin Schreiber : > > If the widget is focused the caption will be drawn by TInplaceEdit. > > > Can I disable TInplaceEdit? I don't need edition mode, just readonly > treeview How should the cell look exactly? The

[MSEide-MSEgui-talk] Назад: Re: localization of library messages

2016-10-19 Thread solomon243
thanks Пользователь Martin Schreiber писал: >On Wednesday 19 October 2016 22:43:24 Solomon Hierrussalimsky wrote: >> when using the 'tintegeredit' component a message appears >> >> whether localization of such messages on other languages is available? >> how to include? > >They are in the "lib

Re: [MSEide-MSEgui-talk] Transparent twidgetgrid

2016-10-19 Thread Martin Schreiber
On Wednesday 19 October 2016 19:09:50 Martin Schreiber wrote: > On Wednesday 19 October 2016 16:38:14 Krzysztof wrote: > > 2016-10-19 9:08 GMT+02:00 Martin Schreiber : > > > Override "calcitemlayout()". > > > > Mmm, seems that this methods is never called: > > Because of: > " > function ttreeitemed