[MSEide-MSEgui-talk] tdialogstringedit - bring back empty text when clear edit

2017-03-24 Thread Krzysztof
Hi Martin,

It is very cosmetic thing so don't bother if it need some change in source
code :) . Just wondering if I can do this with current version. I have
added clear button in tdialogstringedit. OnExecute event
call tdialogstringedit.text := '' but "empty" text is missing. It is show
when I change focus on another widget but it is just fine :) . See attached
video.

Regards


filterclear.mp4
Description: video/mp4
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSE IDE - weird disappearing behavior when submodule

2017-03-24 Thread Krzysztof
Got it again but don't remember what I did. I think that had also opened
original sumbodule (as new form) and main form where submodule is placed
was docked as tabsheet in docker where source editor is. But I'm not sure.
After reopen MSE IDE everything is working fine. I'll keep eye on it and
let you know when get more info. First occurrences were very rare and I
wasn't sure if it was what I think it was, but when in object inspector
tried assign timagelist in tdialogstringedit.frame.button.imagelist then
issue appeared totally on each popup as previous
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] tframecomp - how to modify focused frame?

2017-03-24 Thread Martin Schreiber
On Friday 24 March 2017 18:49:36 Krzysztof wrote:
> 2017-03-24 18:32 GMT+01:00 Martin Schreiber :
> > On Friday 24 March 2017 18:06:58 Krzysztof wrote:
> > > 2017-03-24 9:38 GMT+01:00 Martin Schreiber :
> > > > Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has
> > > > cl_defaultrect and frame.colorframedefault.
> > > > The defaultrect width is hardcoded to 1. If you need full control use
> > > > frame images and frame.frameimage_offset1. offset1 will be added to
> > > > the imageindex
> > > > if the button has the defaultstate in order to select the according
> >
> > image
> >
> > > > group.
> > >
> > > Override cl_defaultrect works but frame.colorframedefault not (see
> > > screenshot). I removed all *.o and *.ppu files
> >
> > colorframeactive overrides colorframedefault if the button is active.
> > Activate
> > tbutton.state as_default of one of the buttons and focus the editwidget
> > in order to see the effect of frame.colorframedefault.
>
> Right, but if it override then what is this black frame next to green?
> Can't change it from tframecomp
>
The frame drawn by inactive optionsskin fso_nodefaultrect. Set its color by 
setting the rgbvalue of cl_defaultrect in tskincontroller.colors.

> > > > P.S.: The screenshot shows that you have a buggy X-server which does
> >
> > not
> >
> > > > paint
> > > > the line endpoints:
> > > > https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
> > > > --NOZEROLINES commandline switch activates a workaround in MSEgui.
> > >
> > > Thanks, didn't notice that. Where I have to add this switch?
> >
> > At the command line of MSEide or any other MSEgui program. For debugging
> > programs use MSEide 'Target'-'Environment'-'Parameters'.
>
> Mmm personally I don't see any difference. Attached two screenshots, one is
> normal, second is started with "./popupskin --NOZEROLINES"

The X-server-bug is visible in objectinspector bootom-right corners of color 
values.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] tframecomp - how to modify focused frame?

2017-03-24 Thread Krzysztof
2017-03-24 18:32 GMT+01:00 Martin Schreiber :

> On Friday 24 March 2017 18:06:58 Krzysztof wrote:
> > 2017-03-24 9:38 GMT+01:00 Martin Schreiber :
> > > Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect
> > > and frame.colorframedefault.
> > > The defaultrect width is hardcoded to 1. If you need full control use
> > > frame images and frame.frameimage_offset1. offset1 will be added to the
> > > imageindex
> > > if the button has the defaultstate in order to select the according
> image
> > > group.
> >
> > Override cl_defaultrect works but frame.colorframedefault not (see
> > screenshot). I removed all *.o and *.ppu files
> >
> colorframeactive overrides colorframedefault if the button is active.
> Activate
> tbutton.state as_default of one of the buttons and focus the editwidget in
> order to see the effect of frame.colorframedefault.
>

Right, but if it override then what is this black frame next to green?
Can't change it from tframecomp


>
> > > P.S.: The screenshot shows that you have a buggy X-server which does
> not
> > > paint
> > > the line endpoints:
> > > https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
> > > --NOZEROLINES commandline switch activates a workaround in MSEgui.
> >
> > Thanks, didn't notice that. Where I have to add this switch?
>
> At the command line of MSEide or any other MSEgui program. For debugging
> programs use MSEide 'Target'-'Environment'-'Parameters'.


Mmm personally I don't see any difference. Attached two screenshots, one is
normal, second is started with "./popupskin --NOZEROLINES"
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] tframecomp - how to modify focused frame?

2017-03-24 Thread Krzysztof
2017-03-24 9:38 GMT+01:00 Martin Schreiber :
>
> Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect and
> frame.colorframedefault.
> The defaultrect width is hardcoded to 1. If you need full control use frame
> images and frame.frameimage_offset1. offset1 will be added to the
> imageindex
> if the button has the defaultstate in order to select the according image
> group.
>

Override cl_defaultrect works but frame.colorframedefault not (see
screenshot). I removed all *.o and *.ppu files


>
> P.S.: The screenshot shows that you have a buggy X-server which does not
> paint
> the line endpoints:
> https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
> --NOZEROLINES commandline switch activates a workaround in MSEgui.
>

Thanks, didn't notice that. Where I have to add this switch?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide and Lazarus project.

2017-03-24 Thread Martin Schreiber
On Friday 24 March 2017 13:44:31 Fred van Stappen wrote:
> > How did you create the *.prj?
>
> Manually, from a existing prj.
>
> > loaded source filenames do not contain macros
>
> Ha, ok (I was hoping it will work ...)
>
Automatically loaded files in a new project have the 'L' flag set 
in 'Project'-'Options'-'Templates'-New Project', see 
apps/ide/templates/default.prj for an example.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide and Lazarus project.

2017-03-24 Thread Fred van Stappen

> How did you create the *.prj?


Manually, from a existing prj.


> loaded source filenames do not contain macros


Ha, ok (I was hoping it will work ...)


Fre;D




De : Martin Schreiber 
Envoyé : vendredi 24 mars 2017 13:41
À : mseide-msegui-talk@lists.sourceforge.net
Objet : Re: [MSEide-MSEgui-talk] MSEide and Lazarus project.

On Friday 24 March 2017 13:29:44 Fred van Stappen wrote:
> Hello Martin.
>
>
> See attachment.
>
How did you create the *.prj? Loaded source filenames do not contain macros.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mseide-msegui-talk Info Page - 
SourceForge
lists.sourceforge.net
To see the collection of prior postings to the list, visit the 
mseide-msegui-talk Archives. Using mseide-msegui-talk: To post a message to all 
the ...



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide and Lazarus project.

2017-03-24 Thread Fred van Stappen

Hello Martin.


See attachment.


Fre;D


De : Martin Schreiber 
Envoyé : vendredi 24 mars 2017 13:10
À : mseide-msegui-talk@lists.sourceforge.net
Objet : Re: [MSEide-MSEgui-talk] MSEide and Lazarus project.

On Friday 24 March 2017 12:57:11 Fred van Stappen wrote:
> Hello Martin.
>
> A little detail:
>
>
> Using this in .prj does not work:
>
>
> sourcefiles=1
>  ${PROJECTDIR}/${PROJECTNAME}.lpr
> relpaths=1
> ${PROJECTNAME}.lpr
>
>
> ---> Unable to open file, does not exist.
>
Does the file actually exist? If yes, please send a testproject which shows
the problem.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


test_mseide.tar.gz
Description: test_mseide.tar.gz
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide and Lazarus project.

2017-03-24 Thread Martin Schreiber
On Friday 24 March 2017 12:57:11 Fred van Stappen wrote:
> Hello Martin.
>
> A little detail:
>
>
> Using this in .prj does not work:
>
>
> sourcefiles=1
>  ${PROJECTDIR}/${PROJECTNAME}.lpr
> relpaths=1
> ${PROJECTNAME}.lpr
>
>
> ---> Unable to open file, does not exist.
>
Does the file actually exist? If yes, please send a testproject which shows 
the problem.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEide and Lazarus project.

2017-03-24 Thread Fred van Stappen
Hello Martin.

A little detail:


Using this in .prj does not work:


sourcefiles=1
 ${PROJECTDIR}/${PROJECTNAME}.lpr
relpaths=1
${PROJECTNAME}.lpr


---> Unable to open file, does not exist.


Fre;D
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] tframecomp - how to modify focused frame?

2017-03-24 Thread Martin Schreiber
On Friday 24 March 2017 00:12:23 Krzysztof wrote:
> Hi Martin,
>
> Look at attached screenshot. How to modify this black frame when button is
> focused (tab key)? Color and width. Playing with tframecomp, changed all
> color* properties but it is still black. I can only disable it at all by
> set optionsskin.fso_defaultrect to False. Is it configurable somewhere in
> tskincontroller? By tskincontroller.colors?
>
Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect and 
frame.colorframedefault.
The defaultrect width is hardcoded to 1. If you need full control use frame 
images and frame.frameimage_offset1. offset1 will be added to the imageindex 
if the button has the defaultstate in order to select the according image 
group.

P.S.: The screenshot shows that you have a buggy X-server which does not paint 
the line endpoints:
https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
--NOZEROLINES commandline switch activates a workaround in MSEgui.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk