Re: [MSEide-MSEgui-talk] IDE - block comment / uncomment

2016-04-30 Thread Martin Schreiber
On Saturday 30 April 2016 22:34:49 Krzysztof wrote: > Hi Martin, > > I mentioned about this in other topic. In Lazarus if you select > multiple lines like: > > if something then > begin > foo; > bar; > end; > > ... and press CTRL+SHIFT+V, it change it to: > > // if something then > // begin >

Re: [MSEide-MSEgui-talk] TForm.Icon - How to set from TimageList?

2016-04-30 Thread Krzysztof
It is a puzzler. I have almost all code in mainform commented. I'm also removing local binnary files (exec, ppu, o). Placed TIcon on main form and this code: ticon1.imagelist := IconMng.imlstDyn16; ticon1.imagenum := iICO16_MAIN; ... is working fine. Heaptrc is not detecting any memory leak.

[MSEide-MSEgui-talk] IDE - block comment / uncomment

2016-04-30 Thread Krzysztof
Hi Martin, I mentioned about this in other topic. In Lazarus if you select multiple lines like: if something then begin foo; bar; end; ... and press CTRL+SHIFT+V, it change it to: // if something then // begin // foo; // bar; // end; CTRL+SHIFT+U for uncomment selected block. Very

Re: [MSEide-MSEgui-talk] TForm.Icon - How to set from TimageList?

2016-04-30 Thread Martin Schreiber
On Saturday 30 April 2016 15:13:33 Martin Schreiber wrote: > On Saturday 30 April 2016 14:59:03 Krzysztof wrote: > > Weird, on empty project is working fine. Let me do some investigating > > in my app. I'll make sure that all *.o and *.ppu are removed > > What shows the stack window in case of the

Re: [MSEide-MSEgui-talk] TForm.Icon - How to set from TimageList?

2016-04-30 Thread Martin Schreiber
On Saturday 30 April 2016 14:59:03 Krzysztof wrote: > Weird, on empty project is working fine. Let me do some investigating > in my app. I'll make sure that all *.o and *.ppu are removed > What shows the stack window in case of the exception? Martin

Re: [MSEide-MSEgui-talk] TForm.Icon - How to set from TimageList?

2016-04-30 Thread Krzysztof
Weird, on empty project is working fine. Let me do some investigating in my app. I'll make sure that all *.o and *.ppu are removed -- Find and fix application performance issues faster with Applications Manager

Re: [MSEide-MSEgui-talk] TForm.Icon - How to set from TimageList?

2016-04-30 Thread Martin Schreiber
On Saturday 30 April 2016 13:22:59 Krzysztof wrote: > 2016-04-30 7:55 GMT+02:00 Martin Schreiber : > > Please use: > > " > > icon.options:= [bmo_masked,bmo_graymask]; > > IconMng.imlstDyn16.getimage(iICO16_MAIN, Self.icon); > > " > > Mmm, with bmo_masked,bmo_graymask I have

Re: [MSEide-MSEgui-talk] TForm.Icon - How to set from TimageList?

2016-04-30 Thread Krzysztof
2016-04-30 7:55 GMT+02:00 Martin Schreiber : > Please use: > " > icon.options:= [bmo_masked,bmo_graymask]; > IconMng.imlstDyn16.getimage(iICO16_MAIN, Self.icon); > " Mmm, with bmo_masked,bmo_graymask I have sigsegv error on application run (see attached screen mse_icon2.png).

Re: [MSEide-MSEgui-talk] Child form position - main form center?

2016-04-30 Thread Krzysztof
2016-04-30 8:06 GMT+02:00 Martin Schreiber : > I'll take a look. How do you show the form? Like this: var f: TfrmEditLibraryDirs; begin f := TfrmEditLibraryDirs.Create(nil); try f.show(True); finally f.Free; end; end; If there will be some kind of

Re: [MSEide-MSEgui-talk] Child form position - main form center?

2016-04-30 Thread Martin Schreiber
On Friday 29 April 2016 23:19:24 Krzysztof wrote: > Hi Martin, > > I have modal form with option fo_screencentered but is it possible to > center on main form? Second useful option could be "center on owner > window". Options I'm talking about in LCL are named as TForm.Position > =