Re: [MSEide-MSEgui-talk] How to load a syntaxdef file ?

2016-10-29 Thread Martin Schreiber
On Saturday 29 October 2016 22:32:04 Fred van Stappen wrote: > Re-hello Martin. > > Huh, and with freedeffile(), something like this ?: > > var > han : integer = -1; > ... > procedure sdefload(sdeffile : msestring); > begin > if han <> -1 then sourcefo.syntaxpainter.freedeffile(han); > han :=

Re: [MSEide-MSEgui-talk] tpopupmenu - first show is quite long

2016-10-29 Thread Martin Schreiber
On Sunday 30 October 2016 00:01:41 Krzysztof wrote: > Hi Martin, > > Noticed when run app, first show of any popup menu (e.g edit context, > own tpopupmenu, etc) has some delay. After this all popups shows > immediately. Is it normal? I guess that MSE has to init something because > it is starting

[MSEide-MSEgui-talk] tpopupmenu - first show is quite long

2016-10-29 Thread Krzysztof
Hi Martin, Noticed when run app, first show of any popup menu (e.g edit context, own tpopupmenu, etc) has some delay. After this all popups shows immediately. Is it normal? I guess that MSE has to init something because it is starting new X window. It is not such big delay but on my i7 skylake

Re: [MSEide-MSEgui-talk] How to load a syntaxdef file ?

2016-10-29 Thread Fred van Stappen
Re-hello Martin. Huh, and with freedeffile(), something like this ?: var han : integer = -1; ... procedure sdefload(sdeffile : msestring); begin if han <> -1 then sourcefo.syntaxpainter.freedeffile(han); han := sourcefo.syntaxpainter.readdeffile(sdeffile);

Re: [MSEide-MSEgui-talk] How to load a syntaxdef file ?

2016-10-29 Thread Fred van Stappen
>> Every time you do >> han := sourcefo.syntaxpainter.readdeffile(openfile.controller.filename); > Ha, ok => freeandnil(han) is it enough? Ooops, han is a integer, freeandnil() has no sense here. So, the question is: how to remove the block created ? Is the existing block not erased by the new

Re: [MSEide-MSEgui-talk] How to load a syntaxdef file ?

2016-10-29 Thread Fred van Stappen
> Every time you do > han := sourcefo.syntaxpainter.readdeffile(openfile.controller.filename); Ha, ok => freeandnil(han) is it enough? > What is this ([cid:...]) Huh, the new feature of hotmail.com to insert a image at cursor... Ok, it is in attachment now. Fre;D

Re: [MSEide-MSEgui-talk] How to load a syntaxdef file ?

2016-10-29 Thread Martin Schreiber
On Saturday 29 October 2016 14:41:57 Fred van Stappen wrote: > > Please don't forget to release the loaded *.sdef files if they are not > > used anymore. > > Huh, with pleasure, but what do you mean with "release the loaded *sdef" ? > Every time you do " han :=

Re: [MSEide-MSEgui-talk] How to load a syntaxdef file ?

2016-10-29 Thread Fred van Stappen
> Please don't forget to release the loaded *.sdef files if they are not used > anymore. Huh, with pleasure, but what do you mean with "release the loaded *sdef" ? Other (very little) detail. In tfilelistview, in the selected row, the icon is partly masked by the text.

Re: [MSEide-MSEgui-talk] Filter

2016-10-29 Thread Martin Schreiber
On Friday 28 October 2016 18:13:00 mohamed hamza wrote: > Hi Martin, > >I tested the module you suggest me to know which field has been edited > in DsFilter mode. The first time the grid is blank that 's Ok but the last > values are kept at the next DsFilter mode. > > I think we always need a