Re: [MSEide-MSEgui-talk] filedialog() double click

2016-04-29 Thread Martin Schreiber
On Friday 29 April 2016 15:16:43 Krzysztof wrote: > Hi Martin, > > filedialog(s,[fdo_directory,fdo_single,fdo_absolute],'Select > dir',[],[],'',nil,nil,nil,[fa_dir]) > > Is there option to switch double click on folders? Single click should > only select it and retun path to the selected. > I fear

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

2016-04-29 Thread Martin Schreiber
On Friday 29 April 2016 23:59:08 Krzysztof wrote: > Hi Martin, > > I have TImageList filled with font awesome at runtime. I would like to > assign icon from that list into TMainForm.Icon. This code: > > procedure tmainfo.afterconstruction; > begin > inherited afterconstruction; > IconMng.imlstD

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

2016-04-29 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 > = [poScreenCenter,

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, wit

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

Re: [MSEide-MSEgui-talk] TIcon.Colorglyph - why doesn't work?

2016-04-30 Thread Martin Schreiber
On Thursday 28 April 2016 10:07:17 Martin Schreiber wrote: > On Thursday 28 April 2016 00:02:37 Krzysztof wrote: > > Hi Martin, > > > > I have created spinner from this site: > > http://preloaders.net/en/search/spinner . I need to change color > > d

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-05-01 Thread Martin Schreiber
On Sunday 01 May 2016 00:14:09 Krzysztof wrote: > 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; > > .

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

2016-05-01 Thread Martin Schreiber
On Saturday 30 April 2016 12:41:10 Krzysztof wrote: > 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 >

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

2016-05-02 Thread Martin Schreiber
On Sunday 01 May 2016 18:47:36 Krzysztof wrote: > Finally reproduced. Had to copy icons manager (data module) from my > app to the demo example. See attachment Please try again with git master 22a5d9ddd2a8ac4b1a5fc2c5222a3d0dc9638328, thanks for reporting. Martin ---

Re: [MSEide-MSEgui-talk] PostMessage / SendMessage / Application.QueueAsyncCall

2016-05-02 Thread Martin Schreiber
On Monday 02 May 2016 14:33:34 Krzysztof wrote: > Hi Martin, > > What is MSEgui message system? Can't find PostMessage for example for > close window itself: > > PostMessage(Self.Handle, LM_CLOSEQUERY, 0, 0); > MSEgui does not use messages often, there are dedicated virtual functions and procedure

Re: [MSEide-MSEgui-talk] PostMessage / SendMessage / Application.QueueAsyncCall

2016-05-02 Thread Martin Schreiber
On Monday 02 May 2016 15:38:04 Martin Schreiber wrote: > On Monday 02 May 2016 14:33:34 Krzysztof wrote: > > Hi Martin, > > > > What is MSEgui message system? Can't find PostMessage for example for > > close window itself: > > > > PostMessage(Self.Handl

Re: [MSEide-MSEgui-talk] PostMessage / SendMessage / Application.QueueAsyncCall

2016-05-02 Thread Martin Schreiber
On Monday 02 May 2016 18:08:09 Krzysztof wrote: > 2016-05-02 15:38 GMT+02:00 Martin Schreiber : > > In order to access GUI elements from a thread I normally use > > " > > try > > application.lock(); > > //access gui elements > > ... >

Re: [MSEide-MSEgui-talk] PostMessage / SendMessage / Application.QueueAsyncCall

2016-05-02 Thread Martin Schreiber
On Monday 02 May 2016 18:05:07 Krzysztof wrote: > 2016-05-02 15:38 GMT+02:00 Martin Schreiber : > > MSEgui does not use messages often, there are dedicated virtual functions > > and procedures instead. What do you want to achieve? > > In LCL app which I'm porting to MSEgu

Re: [MSEide-MSEgui-talk] TButton.imagepos - glue to the caption?

2016-05-02 Thread Martin Schreiber
On Monday 02 May 2016 23:42:03 Krzysztof wrote: > Hi Martin, > > There is a lot of options in imagepos but icon is always anchored to > the button edges. I can play with imagedist, but it isn't it. Is it > possible anchor to the Caption? I mean if pos is ip_leftcenter then > icon is glue to the lef

Re: [MSEide-MSEgui-talk] TButton.imagepos - glue to the caption?

2016-05-02 Thread Martin Schreiber
On Monday 02 May 2016 23:42:03 Krzysztof wrote: > Hi Martin, > > There is a lot of options in imagepos but icon is always anchored to > the button edges. I can play with imagedist, but it isn't it. Is it > possible anchor to the Caption? I mean if pos is ip_leftcenter then > icon is glue to the lef

Re: [MSEide-MSEgui-talk] PostMessage / SendMessage / Application.QueueAsyncCall

2016-05-02 Thread Martin Schreiber
On Monday 02 May 2016 15:38:04 Martin Schreiber wrote: > I'll probably add a > QueueAsyncCall() procedure for convenience. Done, git master b231c2861ac13b4ad91f172bb73f0bc0f1cfbe23. Martin -- Find and fix

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

2016-05-02 Thread Martin Schreiber
On Sunday 01 May 2016 07:53:58 Martin Schreiber wrote: > 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

Re: [MSEide-MSEgui-talk] TButton.imagepos - glue to the caption?

2016-05-03 Thread Martin Schreiber
On Tuesday 03 May 2016 19:50:38 che fou wrote: > i use button.face instead .it has (framei) which let you adjust the > position It can also been achieved by setting ImagePos to ip_left, TextFlags to [tf_ycentered] and adjusting ImageDist, see attachment. I'll add a tf_glueimage flag in order to

Re: [MSEide-MSEgui-talk] TEdit - delayed OnChange

2016-05-03 Thread Martin Schreiber
On Tuesday 03 May 2016 23:09:43 Krzysztof wrote: > Hi Martin, > > This is only suggestion because I'm solving such things with timers > but I noticed that you like add new stuff ;) . I have TStringEdit used > for filters. Filter do some time consuming stuff (SQL query on big > database) so do this

Re: [MSEide-MSEgui-talk] TDrawGrid selection confusion

2016-05-03 Thread Martin Schreiber
On Wednesday 04 May 2016 00:37:16 Krzysztof wrote: > Hi Martin, > > I'm lost with grids selections. How to make it work as simple > TListView with "report" mode and "rowselect"? First of all, by default > I don't see selection. So I checked this options: > > gridAlbum.datacols.options := gridAlbu

Re: [MSEide-MSEgui-talk] TButton.imagepos - glue to the caption?

2016-05-04 Thread Martin Schreiber
On Wednesday 04 May 2016 07:56:30 Martin Schreiber wrote: > On Tuesday 03 May 2016 19:50:38 che fou wrote: > > i use button.face instead .it has (framei) which let you adjust the > > position > > It can also been achieved by setting ImagePos to ip_left, TextFlags to > [tf_

Re: [MSEide-MSEgui-talk] TEdit - delayed OnChange

2016-05-04 Thread Martin Schreiber
On Wednesday 04 May 2016 08:10:07 Martin Schreiber wrote: > On Tuesday 03 May 2016 23:09:43 Krzysztof wrote: > > Hi Martin, > > > > This is only suggestion because I'm solving such things with timers > > but I noticed that you like add new stuff ;) . I have TStringE

Re: [MSEide-MSEgui-talk] TEdit - delayed OnChange

2016-05-04 Thread Martin Schreiber
On Wednesday 04 May 2016 18:50:26 Martin Schreiber wrote: > On Wednesday 04 May 2016 08:10:07 Martin Schreiber wrote: > > On Tuesday 03 May 2016 23:09:43 Krzysztof wrote: > > > Hi Martin, > > > > > > This is only suggestion because I'm solving such things

Re: [MSEide-MSEgui-talk] TDrawGrid selection confusion

2016-05-04 Thread Martin Schreiber
On Wednesday 04 May 2016 22:31:34 Krzysztof wrote: > 2016-05-04 8:50 GMT+02:00 Martin Schreiber : > > Please use DataCols.HasSelection(). > > GetSelectedRange() returns information about the selection by user > > interaction with StartAnchor/EndAnchor which selects a rectang

Re: [MSEide-MSEgui-talk] TDrawGrid - row hint

2016-05-05 Thread Martin Schreiber
On Wednesday 04 May 2016 21:55:10 Krzysztof wrote: > Hi Martin, > > I would like to show extra info abot row in hint when mouse is over > the row (not immedietaly, just like normal delayed hint). I assigned > OnShowHint event but have two problems: > > 1. How to adjust mouse position to grid positi

Re: [MSEide-MSEgui-talk] TDrawGrid selection confusion

2016-05-05 Thread Martin Schreiber
On Thursday 05 May 2016 08:56:11 Martin Schreiber wrote: > On Wednesday 04 May 2016 22:31:34 Krzysztof wrote: > > 2016-05-04 8:50 GMT+02:00 Martin Schreiber : > > > Please use DataCols.HasSelection(). > > > GetSelectedRange() returns information about the selection by

Re: [MSEide-MSEgui-talk] What is TExpandingWidget?

2016-05-05 Thread Martin Schreiber
On Wednesday 04 May 2016 21:09:12 Krzysztof wrote: > ... and how to use it? I guess that it is helpful in layouting > It inherits from TScalingWidget as TSplitter, TSpacer and TLayouter but has no further functionality. TScalingWidget suports automatically expanding and shrinking by OptionsScale

Re: [MSEide-MSEgui-talk] TEdit - delayed OnChange

2016-05-05 Thread Martin Schreiber
On Wednesday 04 May 2016 19:06:20 Martin Schreiber wrote: > On Wednesday 04 May 2016 18:50:26 Martin Schreiber wrote: > > On Wednesday 04 May 2016 08:10:07 Martin Schreiber wrote: > > > On Tuesday 03 May 2016 23:09:43 Krzysztof wrote: > > > > Hi Martin, > >

Re: [MSEide-MSEgui-talk] TDrawGrid selection confusion

2016-05-05 Thread Martin Schreiber
On Thursday 05 May 2016 14:12:43 Krzysztof wrote: > 2016-05-05 11:26 GMT+02:00 Martin Schreiber > > > Done, git master 45db59879ea74feca5ccde003c6d6d90da6277ea. > > Seems to working fine now. Thanks > BTW: TStringGrid - how to make it readonly? I have this options set: &

Re: [MSEide-MSEgui-talk] TEdit oe_lowercase doesn't work?

2016-05-05 Thread Martin Schreiber
On Thursday 05 May 2016 22:18:28 Krzysztof wrote: > Hi Martin > > I checked TEdit.OptionsEdit oe_lowercase but still can write upper > case text. TEdit.Text also return upper case. It isn't utf8 but simple > "ABC" > oe_trimleft, oe_trimright, oe_uppercase and oe_lowercase are implemented in TStrin

Re: [MSEide-MSEgui-talk] TEdit oe_lowercase doesn't work?

2016-05-06 Thread Martin Schreiber
On Friday 06 May 2016 06:43:41 Martin Schreiber wrote: > On Thursday 05 May 2016 22:18:28 Krzysztof wrote: > > Hi Martin > > > > I checked TEdit.OptionsEdit oe_lowercase but still can write upper > > case text. TEdit.Text also return upper case. It isn't utf8 but

Re: [MSEide-MSEgui-talk] TEdit - delayed OnChange

2016-05-06 Thread Martin Schreiber
On Thursday 05 May 2016 13:56:13 Krzysztof wrote: > 2016-05-05 11:58 GMT+02:00 Martin Schreiber : > > I reverted the changes of TDataEdit because the overhead is too big, > > please use TEdit from tab 'Widgets' instead. > > Too bad that TEdit doesn't have

Re: [MSEide-MSEgui-talk] Last opened projects stopped working

2016-05-06 Thread Martin Schreiber
On Friday 06 May 2016 16:17:33 Krzysztof wrote: > Hi Martin, > > Just updated mse git, rebuild mymseide. Restarded IDE and now when > trying open last projects (drop down menu), I can click on project but > it doesn't select it. Is it related to the last changes in edits? > Yes, it should already b

Re: [MSEide-MSEgui-talk] TEdit.Empty_ - why is not back?

2016-05-06 Thread Martin Schreiber
On Friday 06 May 2016 18:42:51 Krzysztof wrote: > Hi Martin, > > Why empty text is not show again when clear text and change focus on > another widget? Because TEdit is no TDataEdit with a value property and the "checkvalue" semantic. git master ac8715fc28abb7e080f6c123852519fb89db7e7d simulates

Re: [MSEide-MSEgui-talk] Project Options - Macros are not exported to clean .prj file

2016-05-11 Thread Martin Schreiber
On Thursday 12 May 2016 01:25:06 Graeme Geldenhuys wrote: > Hi Martin, > > I just realised a bug (?) in MSEide. I've set up a few Project Macros > (Project Options -> Macros) so I can easily switch between FPC compiler > versions - a super useful feature. ;-) > > But the Macros are not stored in a

Re: [MSEide-MSEgui-talk] Anchor to widget

2016-05-11 Thread Martin Schreiber
On Wednesday 11 May 2016 22:08:58 Krzysztof wrote: > Hi Martin, > > I'm using TLayouter mostly but sometimes it is not necessary and > simple anchors do the job. I often have problems with precize widgets > position. For example place widget next to other widget (exactly after > widget, in pixels p

Re: [MSEide-MSEgui-talk] Anchor to widget

2016-05-12 Thread Martin Schreiber
On Thursday 12 May 2016 13:47:21 Krzysztof wrote: > 2016-05-12 7:18 GMT+02:00 Martin Schreiber : > > I also use Ctrl+Arrows and Ctrl+Shift+Arrows and align widgets visually > > by the design grid which is common for the whole form. That works well > > for me. At runtime for

Re: [MSEide-MSEgui-talk] Project Options - Macros are not exported to clean .prj file

2016-05-14 Thread Martin Schreiber
On Thursday 12 May 2016 07:01:39 Martin Schreiber wrote: > On Thursday 12 May 2016 01:25:06 Graeme Geldenhuys wrote: > > Hi Martin, > > > > I just realised a bug (?) in MSEide. I've set up a few Project Macros > > (Project Options -> Macros) so I can easily switc

Re: [MSEide-MSEgui-talk] stringenter - why it has unused space?

2016-05-14 Thread Martin Schreiber
On Friday 13 May 2016 23:46:33 Krzysztof wrote: > Hi Martin, > > Why stringenter dialog has such unused space on top? Is it reserved > for some big label? > Probably. git master 1f0607bcdc03af19fb44b7e20b319c7820a31924 has a more flexible layout. --

Re: [MSEide-MSEgui-talk] stringenter - why it has unused space?

2016-05-14 Thread Martin Schreiber
On Sunday 15 May 2016 00:55:00 Krzysztof wrote: > 2016-05-14 13:39 GMT+02:00 Martin Schreiber : > > Probably. git master 1f0607bcdc03af19fb44b7e20b319c7820a31924 has a more > > flexible layout. > > Great, thanks. Don't remember previous behavior but was cancel button &g

Re: [MSEide-MSEgui-talk] How to change window icon globaly?

2016-05-14 Thread Martin Schreiber
On Saturday 14 May 2016 22:31:25 Krzysztof wrote: > Hi Martin, > > Some mse dialogs (like stringenter) has default MSE icon. How to > change it once and globaly for custom icon? (or hide like in > showmessage()) IIRC LCL has application.icon > The default icon is StockObjects.MSEIcon which can be m

Re: [MSEide-MSEgui-talk] Tpopupmenu - show separator only if needed

2016-05-14 Thread Martin Schreiber
On Saturday 14 May 2016 22:59:58 Krzysztof wrote: > Hi Martin, > > Just small suggestion observed in Qt framework. I have generic form > with popup menu and actions assigned. Descendants don't need all of > them and sets action.visible to false or add new items with actions > etc. Qt by default doe

Re: [MSEide-MSEgui-talk] TDrawGrid selection confusion

2016-05-15 Thread Martin Schreiber
On Sunday 15 May 2016 01:33:07 Krzysztof wrote: > I'm still confused on which "is row selected" property I can count :( > . There is regression between TDrawGrid.row(), > TDrawGrid.datacol.hasselection and > Length(TDrawGrid.datacol.selectedrows). Attached demo. Run it and: > 1. Select "Test 1" row

Re: [MSEide-MSEgui-talk] Tpopupmenu - show separator only if needed

2016-05-16 Thread Martin Schreiber
On Sunday 15 May 2016 08:28:50 Martin Schreiber wrote: > On Saturday 14 May 2016 22:59:58 Krzysztof wrote: > > Hi Martin, > > > > Just small suggestion observed in Qt framework. I have generic form > > with popup menu and actions assigned. Descendants don'

Re: [MSEide-MSEgui-talk] TDrawGrid selection confusion

2016-05-17 Thread Martin Schreiber
On Tuesday 17 May 2016 14:16:36 Krzysztof wrote: > 2016-05-15 12:54 GMT+02:00 Martin Schreiber : > > Please try again with git master > > d18c870ee3b6a10bcd5fc90bf3130461f7d0877d. > > Seem to working fine now. Thanks. Have question about some behavior. > You can reproduce i

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-19 Thread Martin Schreiber
Hi Krzysztof, Sorry for delay, we had no internet connection some days because of a destroyed telecommunication cable. On Tuesday 17 May 2016 21:01:45 Krzysztof wrote: > Is there example how to use it? An example is here: https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/

Re: [MSEide-MSEgui-talk] TActionWidget.popupmenu - how to show on left button click too?

2016-05-19 Thread Martin Schreiber
On Wednesday 18 May 2016 21:57:40 Krzysztof wrote: > Hi Martin, > > How to show popupmenu assigned to for example TButoon on left click > too? Not supported. What is the justification? Martin -- Mobile security can be en

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-19 Thread Martin Schreiber
On Thursday 19 May 2016 15:05:07 Krzysztof wrote: > 2016-05-19 13:59 GMT+02:00 Martin Schreiber : > > An example is here: > > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/ > >popupwindowNeeds MSEgui git master > > a4b3dcc90a4009a6b3a8f1aee4e2

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-19 Thread Martin Schreiber
On Thursday 19 May 2016 13:59:32 Martin Schreiber wrote: > Hi Krzysztof, > > Sorry for delay, we had no internet connection some days because of a > destroyed telecommunication cable. > > On Tuesday 17 May 2016 21:01:45 Krzysztof wrote: > > Is there example how to use it

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-19 Thread Martin Schreiber
On Thursday 19 May 2016 16:36:17 Krzysztof wrote: > 2016-05-19 15:19 GMT+02:00 Martin Schreiber : > > Try 'Build' instead of 'Make'. If it does not help delete all *.ppu and > > *.o files. FPC sometimes crashes because of fragile unitloading. > > Yes I u

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-19 Thread Martin Schreiber
On Thursday 19 May 2016 16:57:00 Krzysztof wrote: > 2016-05-19 16:50 GMT+02:00 Martin Schreiber : > > AFAIK you use -FU? Be sure that there are no *.ppu's in source > > directories. > > There isn't. Just creating new empty project, saving it in new empty > dir

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-19 Thread Martin Schreiber
On Thursday 19 May 2016 17:01:33 Krzysztof wrote: > Ok removed also all *.o and *.ppu from git source and now everything is ok > Now you know why I don't set -FU in the default template projects. ;-) Martin -- Mobile secu

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-20 Thread Martin Schreiber
On Friday 20 May 2016 10:14:41 Graeme Geldenhuys wrote: > On 2016-05-19 17:52, Krzysztof wrote: > > I had to remove *.o and *.ppu from MSEgui git source, otherwise even > > new default project didn't build (which doesn't have -FU) > > Don’t allow compiled units to be placed between the *.pas units

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-20 Thread Martin Schreiber
On Friday 20 May 2016 10:33:18 Graeme Geldenhuys wrote: > On 2016-05-20 09:32, Martin Schreiber wrote: > > My experience is that if one uses -FU and then produces *.ppu's in source > > directories by accident (happens sometimes also for newbies) > > Then don’t do

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-23 Thread Martin Schreiber
On Sunday 22 May 2016 20:30:53 Krzysztof wrote: > I'm using your example for hint window. Why all child widgets act as > disabled? I mean, I have on it TLabel, TSlider and TBooleanEdit. Can't > change anything in slider or checkbox > If there are edit widgets in popup I suggest to use a form. An ex

Re: [MSEide-MSEgui-talk] stringgrid fixrow/datacols autowidth

2016-05-23 Thread Martin Schreiber
On Monday 23 May 2016 14:38:37 Patrick Goupell wrote: > I have a stringgrid that aautomatically sets the width to the cells data > item width. > > If the fixrow caption is longer than the data width it gets cut off. > > Is there a way to have teh stringgrid use the greater of the 2, the > fixrow ca

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-23 Thread Martin Schreiber
On Monday 23 May 2016 22:36:23 Krzysztof wrote: > 2016-05-23 11:16 GMT+02:00 Martin Schreiber : > > If there are edit widgets in popup I suggest to use a form. An example is > > here: > > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/forms/po > >pup

Re: [MSEide-MSEgui-talk] stringgrid fixrow/datacols autowidth

2016-05-24 Thread Martin Schreiber
On Monday 23 May 2016 16:36:47 Martin Schreiber wrote: > On Monday 23 May 2016 14:38:37 Patrick Goupell wrote: > > I have a stringgrid that aautomatically sets the width to the cells data > > item width. > > > > If the fixrow caption is longer than the data width it get

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 07:31:43 Martin Schreiber wrote: > On Monday 23 May 2016 22:36:23 Krzysztof wrote: > > 2016-05-23 11:16 GMT+02:00 Martin Schreiber : > > > If there are edit widgets in popup I suggest to use a form. An example > > > is here: > > > https://

Re: [MSEide-MSEgui-talk] HintWindow

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 14:27:03 Krzysztof wrote: > 2016-05-24 11:06 GMT+02:00 Martin Schreiber : > > On Tuesday 24 May 2016 07:31:43 Martin Schreiber wrote: > >> On Monday 23 May 2016 22:36:23 Krzysztof wrote: > >> > 2016-05-23 11:16 GMT+02:00 Martin Schreiber : >

Re: [MSEide-MSEgui-talk] stringgrid fixrow/datacols autowidth

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 15:07:57 Martin Schreiber wrote: > On Tuesday 24 May 2016 14:38:16 Patrick Goupell wrote: > > So I have to set the option on all fixrow items? > > In all Fixrows[n].Captions[m].Options. > > > My app changes teh > > datacols.count during progra

Re: [MSEide-MSEgui-talk] stringgrid fixrow/datacols autowidth

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 14:38:16 Patrick Goupell wrote: > So I have to set the option on all fixrow items? In all Fixrows[n].Captions[m].Options. > My app changes teh > datacols.count during program execution. > > Can it be at a hight level like the datacols.options1.co1_autocolwidth? > The probl

Re: [MSEide-MSEgui-talk] Object inspector: create create event method

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 16:01:48 Krzysztof wrote: > Hi Martin, > > Just small sugestion from Lazarus IDE. Maybe you already have it in > wishlist. In Lazarus, when double click on event name (e.g. > OnExecute), empty method (with params) is created in source editor and > assigned to that event. > In

Re: [MSEide-MSEgui-talk] OnLayout - placing widget at bottom edge is forcing scrollbar to show

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 16:35:12 Krzysztof wrote: > Hi Martin, > > I have popup form. On it's OnLayout event I want to place tbooleanedit > at bottom but it shows vertical scrollbar and I need to correct it by > -2. I have printed all sizes, form has levelo = 1 and seems that I can > use any rect ex

Re: [MSEide-MSEgui-talk] OnLayout - placing widget at bottom edge is forcing scrollbar to show

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 21:11:02 Krzysztof wrote: > 2016-05-24 17:10 GMT+02:00 Martin Schreiber : > > TScrollBox uses a padding defined by Container.Frame.FrameI_*. Either set > > Anchors of the boolean edit to [an_left,an_bottom] or set > > Container.Frame.FrameI_bottom

Re: [MSEide-MSEgui-talk] OnLayout - placing widget at bottom edge is forcing scrollbar to show

2016-05-24 Thread Martin Schreiber
On Tuesday 24 May 2016 17:10:30 Martin Schreiber wrote: > On Tuesday 24 May 2016 16:35:12 Krzysztof wrote: > > Hi Martin, > > > > I have popup form. On it's OnLayout event I want to place tbooleanedit > > at bottom but it shows vertical scrollbar and I need to corr

Re: [MSEide-MSEgui-talk] OnLayout - placing widget at bottom edge is forcing scrollbar to show

2016-05-24 Thread Martin Schreiber
On Wednesday 25 May 2016 07:48:56 Martin Schreiber wrote: > Placing such a widget behind the container top edge at design- or run-time > can have strange effects. > Not anymore. :-) Git master aaf695dc1258c06bc064e0dc3759e4597d8930f

Re: [MSEide-MSEgui-talk] How to make shortcut at runtime?

2016-05-27 Thread Martin Schreiber
On Friday 27 May 2016 19:58:21 Krzysztof wrote: > Hi Martin, > > I need assign tmenuitem.shortcut at runtime (DELETE key and CTRL+K). > How to make it? shortcutty is WORD and values in msekeyboard are keyty > enums. Surprisingly casting word(key_Delete) did the trick but what > with CTRL+K? AND or

Re: [MSEide-MSEgui-talk] How to make shortcut at runtime?

2016-05-28 Thread Martin Schreiber
On Friday 27 May 2016 20:15:42 Krzysztof wrote: > 2016-05-27 19:58 GMT+02:00 Krzysztof : > > BTW: LCL TAction has Shortcut property. Am I right that MSE > > TCustomAction doesn't have it and I must set it in tmenuitem? This is > > not suggestion, I'm just wondering if I'm doing it right > > I'm ask

Re: [MSEide-MSEgui-talk] How to make shortcut at runtime?

2016-05-28 Thread Martin Schreiber
On Saturday 28 May 2016 14:25:15 Krzysztof wrote: > 2016-05-28 9:21 GMT+02:00 Martin Schreiber : > > Shortcut execution is independent of as_invisible but will be suppressed > > by as_disabled. Maybe as_localdisabled is set in State of the menuitem? > > Can't tell, y

Re: [MSEide-MSEgui-talk] How to make shortcut at runtime?

2016-05-28 Thread Martin Schreiber
On Saturday 28 May 2016 19:59:28 Krzysztof wrote: > 2016-05-28 17:15 GMT+02:00 Martin Schreiber : > > Take a look on the objectinspector in t*menu.menu.submenu[n].state, all > > as_local* flags should be false if the according property should be > > synchronised with the acti

Re: [MSEide-MSEgui-talk] Error compiling MSE

2016-05-29 Thread Martin Schreiber
On Sunday 29 May 2016 10:07:50 Julio Jiménez wrote: > OS: Linux > Free Pascal Compiler version 3.0.1 [2016/05/26] for x86_64 > > fpc svn info: > Revisión del último cambio: 33823 > Fecha de último cambio: 2016-05-26 19:13:57 +0200 (jue 26 de may de 2016) > > MSEide git: > 11b327d7a54a99cb9827852c6a

Re: [MSEide-MSEgui-talk] Skinning issues

2016-05-30 Thread Martin Schreiber
On Sunday 29 May 2016 22:19:10 Krzysztof wrote: > Hi Martin, > > I finally moved my LCL app to MSEgui and now I can focus on style > because so far it was only quick overview. So I would like to post > here my upcoming issues. > > 1. My first goal is remove all 3d effects (3d frames, leveli levelo)

Re: [MSEide-MSEgui-talk] Skinning issues

2016-05-30 Thread Martin Schreiber
On Sunday 29 May 2016 22:19:10 Krzysztof wrote: > Hi Martin, > > I finally moved my LCL app to MSEgui and now I can focus on style > because so far it was only quick overview. So I would like to post > here my upcoming issues. > I forgot something. Congratulations! :-) Martin

Re: [MSEide-MSEgui-talk] Skinning issues

2016-05-30 Thread Martin Schreiber
On Monday 30 May 2016 14:28:08 Krzysztof wrote: > 2016-05-30 10:15 GMT+02:00 Martin Schreiber : > > Git master 089cf862c776efe3593f5dd1191cb2b061ddbe1a has TFrame and > > TFramecomp.ColorFrameDisabled, ColorFrameMouse and ColorFrameClicked. > > Thanks, that was it but ther

Re: [MSEide-MSEgui-talk] Skinning issues

2016-05-30 Thread Martin Schreiber
On Monday 30 May 2016 23:06:08 Krzysztof wrote: > Which skincontroller property is responsible for TEdit frame? I think > that I checked all and can't find it. dataedit.frame is working for > tstringedit.frame but not for tedit > Git master 3b46c37b96cc4517cb7a59b8cc8ed6358bf02577 has dedicated set

[MSEide-MSEgui-talk] Corner-mask demo

2016-05-31 Thread Martin Schreiber
Hi, There is a new demo for widgets with imagelist-frame and corner-mask. https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/buttons/cornermask Needs MSEide+MSEgui current git master. Martin -- What

Re: [MSEide-MSEgui-talk] Corner-mask demo

2016-05-31 Thread Martin Schreiber
On Tuesday 31 May 2016 19:19:23 Krzysztof wrote: > Wow, looks great! In git pull I saw msecornermaskeditor but it seems > that it isn't used. What is it? > Used in MSEide for property editor of TImageList.CornerMask. Martin -

Re: [MSEide-MSEgui-talk] Large PNG in TImage crashing Assembler on Raspberry Pi

2016-05-31 Thread Martin Schreiber
Hi Timo On Tuesday 31 May 2016 20:55:44 Timo Schröder wrote: > Hi everyone! >   > First of all thanks for realizing MSEgui, I just recently needed to > transfer a Lazarus Project to a Rasperry Pi, and since Lazarus GUI is not > at all usable on the Pi, have discovered the wonderful gem of MSEGUI a

Re: [MSEide-MSEgui-talk] Large PNG in TImage crashing Assembler on Raspberry Pi

2016-06-01 Thread Martin Schreiber
On Wednesday 01 June 2016 08:30:15 Martin Schreiber wrote: > > Another option could be to do cross compiling/debugging Linux > X86 -> Linux ARM. MSEide has a template "crossarmdefault.prj" for the task. > A FPC cross environment is here: > https://sourceforge.net/

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-02 Thread Martin Schreiber
On Thursday 02 June 2016 21:48:32 Krzysztof wrote: > > Have question about main menu. See attached screenshot. I would like > to move main menu bar into main toolbar (it is TSimpleWidget) so it > will nicely integrate with it's gradient and UI will look more compact > and fit. "Move into" is just e

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-02 Thread Martin Schreiber
On Friday 03 June 2016 07:10:06 Martin Schreiber wrote: > > TMainMenuWidget.Color can be set to cl_transparent, see attachment. > Or with an additional semi-transparent colour transient, see attachment. Martin --

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-02 Thread Martin Schreiber
On Friday 03 June 2016 07:27:44 Martin Schreiber wrote: > On Friday 03 June 2016 07:10:06 Martin Schreiber wrote: > > TMainMenuWidget.Color can be set to cl_transparent, see attachment. > > Or with an additional semi-transparent colour transient, see attachment. > Or with

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-03 Thread Martin Schreiber
On Friday 03 June 2016 07:43:46 Martin Schreiber wrote: > On Friday 03 June 2016 07:27:44 Martin Schreiber wrote: > > On Friday 03 June 2016 07:10:06 Martin Schreiber wrote: > > > TMainMenuWidget.Color can be set to cl_transparent, see attachment. > > > > Or with

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-03 Thread Martin Schreiber
On Friday 03 June 2016 17:20:45 Krzysztof wrote: > Is it possible to arrange tmainmenuwidget items from right to left? > Set Anchors to [an_top,an_right] and activate OptionsWidget1 ow1_autowidth. Martin -- What NetFlow A

Re: [MSEide-MSEgui-talk] form caption gnome 3

2016-06-04 Thread Martin Schreiber
On Saturday 04 June 2016 18.07:39 amateur wrote: > Hello. > where hidden form caption? :) > Works for me on Gnome3, see attachment. What shows xprop on a MSEgui window? Martin -- What NetFlow Analyzer can do for you? Mon

Re: [MSEide-MSEgui-talk] form caption gnome 3

2016-06-04 Thread Martin Schreiber
On Saturday 04 June 2016 20:55:09 amateur wrote: > _NET_WM_STATE(ATOM) = > WM_STATE(WM_STATE): > window state: Normal > icon window: 0x0 > _NET_WM_DESKTOP(CARDINAL) = 0 > _NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 36, 1 > _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, >

Re: [MSEide-MSEgui-talk] Is there TStatusBar?

2016-06-05 Thread Martin Schreiber
On Sunday 05 June 2016 21:08:06 Krzysztof wrote: > Hi Martin, > > As in subject. Can't find anything on components palette. I know that > it can be easily created by Tsimplewiget and set of tlabel and tspacer > widgets but just wondering if already exists. > There is no dedicated statusbar widget.

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-12 Thread Martin Schreiber
On Saturday 11 June 2016 23:58:30 Krzysztof wrote: > Hi Martin, > > Had little break and now back to skinning. I'm preparing small skin > editor in app for users (only colors override). Have question about > tcoloredit: > Is there event which is called when user change color on the fly? I > mean pl

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-15 Thread Martin Schreiber
On Tuesday 14 June 2016 22:03:21 Krzysztof wrote: > This is first time where I would like use TWidgetGrid. Added > TStringEdit (which will be readonly color name) and TColorEdit. Now I > need to init color names and actual colors in rows. What is the best > example? Found this one: > /mseuniverse/a

Re: [MSEide-MSEgui-talk] Error crosscompiling to win32

2016-06-18 Thread Martin Schreiber
On Friday 17 June 2016 17:54:26 Julio Jiménez wrote: > Hi Martin. > > I get the error: > > msesysintf1.pas(533,46) Error: Incompatible types: got " function(const UnicodeString;const UnicodeString):LongInt;Register>" > expected "TUnicodeStringManager. UnicodeString;const UnicodeString;TCompareOptio

Re: [MSEide-MSEgui-talk] Question about translated strings and utf8

2016-06-18 Thread Martin Schreiber
On Saturday 18 June 2016 10:15:06 Julio Jiménez wrote: > Hi Martin > > Since -Fcutf8 translated string (like the ones in mseconsts_es) are not > working properly. Special chars are replaced by character '?'. Of course if > you don't use -Fcutf8 all is ok. This is because the unit contains pascal >

Re: [MSEide-MSEgui-talk] Question about translated strings and utf8

2016-06-18 Thread Martin Schreiber
On Saturday 18 June 2016 12:19:18 Julio Jiménez wrote: > I see... thanks. > > I also have noticed that now, convert to pascal string does the job > converting to hexadecimal instead of decimal. > > example: 'Sí' -> old way 'S'#0237 new way 'S'#$00ED > > In unit mseconsts_es you have included

Re: [MSEide-MSEgui-talk] Question about translated strings and utf8

2016-06-18 Thread Martin Schreiber
On Saturday 18 June 2016 12:37:24 Julio Jiménez wrote: > 2016-06-18 11:59 GMT+02:00 Martin Schreiber : > > The character constants must be in # format, please try again with > > git master f2913bc8de8c26c1730324b2073808a1d8792939. > > > > Martin > > Hi Mart

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-20 Thread Martin Schreiber
On Monday 20 June 2016 23:02:19 Krzysztof wrote: > 2016-06-20 22:53 GMT+02:00 Krzysztof : > > I'm overriding cl_background by > > tskincontroller.colors.item[n].color=cl_background. When changing it > > at design time then it is ok but at runtime it doesn't work. Tried > > application.invalidate bu

Re: [MSEide-MSEgui-talk] Happy tickets benchmark

2016-06-26 Thread Martin Schreiber
On Tuesday 16 February 2016 16:10:27 Julio Jiménez wrote: > The link: > > https://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg41615.html > > 2016-02-16 16:06 GMT+01:00 Fred van Stappen : > > Very impressive the result of MSElang. > > With LLVM 3.8.1 it is even better. " program test;

Re: [MSEide-MSEgui-talk] Happy tickets benchmark

2016-06-27 Thread Martin Schreiber
On Sunday 26 June 2016 18:33:17 che fou wrote: > MSElang seems better than Clang . how ? , they both uses llvm 3.8.1 > Yes, MSElang produces per happenstance more optimal initial BC-code for the testcase it seems. Changing the pascalcode to " program test; procedure p(); var n1, n2, n3, n4, n

Re: [MSEide-MSEgui-talk] Skinning issues

2016-06-29 Thread Martin Schreiber
On Tuesday 28 June 2016 22:06:57 Krzysztof wrote: > Hi Martin, > > Few questions: > 1. How to set grids selected color from tskincontroller? By default > grid.datacol.coloselect is cl_default and for new grids I need to > remember change datacol.colorselect to cl_user1 which is overrided in > skinc

<    1   2   3   4   5   6   7   8   9   10   >