Re: [MSEide-MSEgui-talk] Stacked widget?

2016-04-01 Thread Krzysztof
> In MSEgui it is TWidget. MSEgui does not distinguish between widgets which can
> have children (Delphi TCustomControl) and simple graphic elements (Delphi
> TGraphicControl)

This is great. I guess that it also use own windows (like AlienWindows in fpGUI)
BTW: Can i add own widget to IDE and use it at designtime? fpGUI IDE
has dummy widget with published basic properties like geometry,
anchors and widget class name

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Totally rounded button (knob)

2016-04-01 Thread Krzysztof
Hi Martin,

Is there anything like Knob button? If not then I probably need to
inherit from TButton, override doonpaint and draw it by my self right?

BTW: Is it possible to set little rounding on button edges using
TFrame and not using FrameImage / TImageList? Just little smoth
rounding like buttons in Gtk

Regards

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Stacked widget?

2016-04-01 Thread Martin Schreiber
On Friday 01 April 2016 14:18:10 Krzysztof wrote:
> > In MSEgui it is TWidget. MSEgui does not distinguish between widgets
> > which can have children (Delphi TCustomControl) and simple graphic
> > elements (Delphi TGraphicControl)
>
> This is great. I guess that it also use own windows (like AlienWindows in
> fpGUI)

Yes.

> BTW: Can i add own widget to IDE and use it at designtime?

Yes. From README.TXT:
"
How to add custom components to MSEide
**
There is a project 'apps/myide/mymseide.prj' as a demo.
Start MSEide, open project 'apps/myide/mymseide.prj', 'Project'-'Build',
'Target'-'Continue',
the IDE with the new component 'tmybutton' will be compiled and
started in the the debugger.
Binary name is 'mymseide' (linux) or 'mymseide.exe' (win32).

If you wish to do it from scratch:

- Create a register unit for your components 
  (see 'apps/myide/regmycomps.pas' for an example).
- Enter the unitname followed by a comma 
  ('myregunit,' if your regunitfile is 'myregunit.pas') in 
  a file named 'regcomponents.inc'.
- Build the IDE with -dmorecomponents as option.

If you want add custom icons to your components:

- Convert 24*24 pixel BMP or PNG files with tools/bmp2pas to
  an icon unit ('*_bmp.pas').
- Add the name of the icon unit to 'uses' in your register unit.
"
Also sometimes useful 'View'-'Component Store' where one can copy component(s) 
with their property settings for reuse.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Totally rounded button (knob)

2016-04-01 Thread Martin Schreiber
On Friday 01 April 2016 14:25:33 Krzysztof wrote:
> Hi Martin,
>
> Is there anything like Knob button? 

Yes, examples are here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/attic/msedocumenting/mse/trunk/help/tutorials/widgets/roundbutton
see attachment.

>
> BTW: Is it possible to set little rounding on button edges using
> TFrame and not using FrameImage / TImageList?

No. There's a tool from Alexandre in order to create the pixmaps.

Martin
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-04-01 Thread Krzysztof
>> BTW: How to change output dir for all *.o and *.ppu files to local lib
>> dir? Tried Project -> Options -> Make -> Make directory but getting
>> "Make ***ERROR*** 1" in MSEide center (directory "lib" exists)
>>
> Please add "-FU" to 'Project'-'Options'-'Make'-'Make options'
> http://www.freepascal.org/docs-html/current/user/usersu14.html#x37-440005.1.3
> 'Make Directory' is the current directory where FPC will be started.

Thanks, working perfect. I noticed that adding -Cg reduces binary size
from 4MB to 1.7MB (linux 64bit). Maybe it should be added by default
into IDE make options?

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-04-01 Thread Martin Schreiber
On Friday 01 April 2016 17:16:29 Krzysztof wrote:
> >> BTW: How to change output dir for all *.o and *.ppu files to local lib
> >> dir? Tried Project -> Options -> Make -> Make directory but getting
> >> "Make ***ERROR*** 1" in MSEide center (directory "lib" exists)
> >
> > Please add "-FU" to 'Project'-'Options'-'Make'-'Make options'
> > http://www.freepascal.org/docs-html/current/user/usersu14.html#x37-440005
> >.1.3 'Make Directory' is the current directory where FPC will be started.
>
> Thanks, working perfect. I noticed that adding -Cg reduces binary size
> from 4MB to 1.7MB (linux 64bit). Maybe it should be added by default
> into IDE make options?
>
Interesting.
"
-Cg 
Enable generation of PIC code. This should only be necessary when generating 
libraries on linux or other Unices.
"
http://www.freepascal.org/docs-html/current/user/usersu15.html#x38-450005.1.4

'Project'-'Make 4' uses smartlinking and optimisation which should reduce 
binary size too. Using it by default makes debugging difficult. With 64 bit 
FPC 2.6.4 it is not possible to smartlink MSEide with 2GB ram, 32 bit needs 
more than 1GB.

Martin

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-04-01 Thread Krzysztof
> 'Project'-'Make 4' uses smartlinking and optimisation which should reduce
> binary size too. Using it by default makes debugging difficult. With 64 bit
> FPC 2.6.4 it is not possible to smartlink MSEide with 2GB ram, 32 bit needs
> more than 1GB.

Right, that is why I added it to 'Make 4' at the end: '-O2 -XX -Xs -CX
-Cg' . I call Make 4 at final release, have 16GB RAM so it is not a
problem in my case

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-04-01 Thread Graeme Geldenhuys
On 2016-04-01 16:16, Krzysztof wrote:
> Thanks, working perfect. I noticed that adding -Cg reduces binary size
> from 4MB to 1.7MB (linux 64bit).

What does PIC code option do? On my 64-bit FreeBSD system it makes my
executables slightly bigger (about 100KB larger).


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Migration from Lazarus

2016-04-01 Thread Krzysztof
Don't know why, but 'Make 4' even doesn't work without -Cg . I'm
getting "error while linking", executable doesn't exists, only .dbg
file. Weird

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] IDE - missing "Last opened projects"

2016-04-01 Thread Krzysztof
Hi Martin

As in subject. Very handy option especially for newbie as me who often
switch between MSE examples and own test projects to compare or check
something.

BTW: Do you also have sometimes "GDB timeout" error? I experience this
quite often when have two IDE opened. It freezes my whole KDE desktop,
can't click on antything for 15-20 seconds.

Regards

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Totally rounded button (knob)

2016-04-01 Thread Krzysztof
>> BTW: Is it possible to set little rounding on button edges using
>> TFrame and not using FrameImage / TImageList?
>
> No. There's a tool from Alexandre in order to create the pixmaps.

Where is it?

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Flat TRichButton - how to change "on mouse" frame?

2016-04-01 Thread Krzysztof
Hi,

I'm still learning Frame and Faces. There is a lot of sub properties
so sometimes I'm little lost. I have flat TRichButton (pic1), I want
to change "on mouse" / "hover" frame (pic2) from gray 3d / light to
the one uniform custom color. I thought that I should look in
Frame.Color, but it doesn't change anything until I set
Frame.FrameWidth but 3d gray frame is still present when mouse is on
button (pic3 and pic4). So where is setting? In FaceMouse?

BTW: Is there official full documentation for MSEgui classes?
Especialy for enums: options, optionsskin, optionswidget,
optionswidget1, state, localprops, localprops1 and all similar
properties in frame.* and face*. A lot of enums, if I want something
then it is just hit and miss choice :P

Regards
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Flat TRichButton - how to change "on mouse" frame?

2016-04-01 Thread Patrick Goupell



On 04/01/2016 05:52 PM, Krzysztof wrote:

BTW: Is there official full documentation for MSEgui classes?
Especialy for enums: options, optionsskin, optionswidget,
optionswidget1, state, localprops, localprops1 and all similar
properties in frame.* and face*. A lot of enums, if I want something
then it is just hit and miss choice :P

Regards

Try  the Documentatino page on msegui.com

Especially the Free Pascal wiki MSEgui Reference

Patrick

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Flat TRichButton - how to change "on mouse" frame?

2016-04-01 Thread Krzysztof
Thanks Patrick! Good source of new stuff about MSE

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] IDE - missing "Last opened projects"

2016-04-01 Thread Graeme Geldenhuys
On 2016-04-01 20:37, Krzysztof wrote:
> As in subject. Very handy option

It is there... kind of, but not a very user friendly way.

Select "Project -> Open Project" The combobox to the left of the Name
caption - click its Down arrow button and you will see a list of
previous opened projects.

There is bugs and scope for improvement though.

  1. Bug: Create a new project and save it. Open a previous project.
  Now try and open the new project you just created a second
  ago - it doesn't appear in the history list.

  2. Feature Request: Make "recent projects" a menu item.

  3. Feature Request: Make the amount of history configurable. Currently
  it is hard-coded to 10 items only. I often work on a group of
  projects that is more than 10 projects. So I loose the history
  items, and have to navigate directories.

  4. Feature Request: Implement "Project Groups". As I mentioned in (3)
  I often work on a group of project. They all relate to one
  "large project", but consist of many *.prj files. eg: web
  front-end, back-end, middle tier, desktop apps, utilities,
  unit tests etc.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk