[MSEide-MSEgui-talk] Disable/Enable tfilenameedit?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[MSEide-MSEgui-talk] Disable/Enable tfilenameedit?

fredvs
Hello Martin.

About the behaviour of caption-frame of tfilenameedit when disable-enable
it.

For example in MSEide, in projectoptions form, if you enable/disable
"Message Output File" via the checkbox "Copy messages to file",
the frame caption of "Message Output File" stays always grayed ?

<http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/framecaption.png>

Is it wanted ?

As workaround, I use this:

procedure tprojectoptionsfo.copymessagechanged(const sender: TObject);
begin
 messageoutputfile.enabled:= copymessages.value;
 
 if copymessages.value then
  messageoutputfile.frame.captiontextflags := [tf_bottom]
 else
  messageoutputfile.frame.captiontextflags := [tf_bottom,tf_grayed];

end;

Other thing.

Still in projectoptions form, stripmessageesc.onchange is assigned to
copymessagechanged.
IMHO it should not assigned with this (maybe because of a old copy-paste?).

Ffre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] Disable/Enable tfilenameedit?

mse
Administrator
On Wednesday 03 October 2018 14:03:28 fredvs wrote:
> Hello Martin.
>
> About the behaviour of caption-frame of tfilenameedit when disable-enable
> it.
>
> For example in MSEide, in projectoptions form, if you enable/disable
> "Message Output File" via the checkbox "Copy messages to file",
> the frame caption of "Message Output File" stays always grayed ?
>
A regression. Please try again with git master
f50451cc73c55e887925d1a4e449f284a7b92701.

> Other thing.
>
> Still in projectoptions form, stripmessageesc.onchange is assigned to
> copymessagechanged.
> IMHO it should not assigned with this (maybe because of a old copy-paste?).
>
Probably. Should be fixed in git master
f50451cc73c55e887925d1a4e449f284a7b92701.

Martin


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] Disable/Enable tfilenameedit?

fredvs
> A regression. Please try again with git master
> f50451cc73c55e887925d1a4e449f284a7b92701.

Huh, yes it works for MSEide.

But for ideU, even after a "Touch form" and complete re-built , still
grayed... ;-(

(Please, forget about this, here it works perfect with this workaround:)

 if copymessages.value then
  messageoutputfile.frame.captiontextflags := [tf_bottom]
 else
  messageoutputfile.frame.captiontextflags := [tf_bottom,tf_grayed];

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] Disable/Enable tfilenameedit?

mse
Administrator
On Wednesday 03 October 2018 17:17:16 fredvs wrote:
> > A regression. Please try again with git master
> > f50451cc73c55e887925d1a4e449f284a7b92701.
>
> Huh, yes it works for MSEide.
>
> But for ideU, even after a "Touch form" and complete re-built , still
> grayed... ;-(
>
Have you removed tf_grayed in frame.captiontextflags?

Martin


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] Disable/Enable tfilenameedit?

fredvs
> Have you removed tf_grayed in frame.captiontextflags?

Ok, fixed, thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk