Re: [MSEide-MSEgui-talk] About MSE TSlider.
On Sunday 01 October 2017 17:45:33 fredvs wrote: > > The purpose of "accept" is to reject a value. Set it to false if you > > don't > > accept the value. > > Sorry, I still do not catch ;-( > And I don^t understand what you want to achieve. :-) Please explain the goal. 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] About MSE TSlider.
> The purpose of "accept" is to reject a value. Set it to false if you don't accept the value. Sorry, I still do not catch ;-( Concretely, what must I change in code ? What Tslider event? And ainfo.eventkind = ek_buttonrelease, what Tslider event gives ainfo data? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- 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] Parent font.color ?
On Sunday 01 October 2017 12:49:07 fredvs wrote: > Hello Martin. > > How to assign font color to children only ? > > If there are multiple forms, doing this change the parent color of all > other forms: > > one_of_the_forms.font.color := cl_red; > Activate a local font instance either by clicking the ellipse button in "font" row in objectinspector at design time or by calling twidget.createfont() at runtime. 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] Color of symbol in button of tspinedit ?
On Sunday 01 October 2017 13:15:19 fredvs wrote: > Re-hello. > > Suite... > > And is it possible to change the color of the "X" of a tbooleanedit.value = > true ? > There is tbooleanedit.colorglyph. 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] Color of symbol in button of tspinedit ?
On Sunday 01 October 2017 12:29:48 fredvs wrote: > Hello. > > Is it possible to change the color of the balck triangle-symbol of "up" and > "down" buttons of a trealspinedit ? git master 41ff87c7fe8c32e25b13c3da3363a6e232630e94 has trealspinedit.frame.colorglyph. 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] About MSE TSlider.
On Sunday 01 October 2017 12:26:19 fredvs wrote: > > I want to assign a event only when the button is released. > > I did try with this tslider.onsetvalue: > > procedure tsongplayer2fo.changepos(const Sender: TObject; var avalue: > realty; var accept: boolean); > begin > if accept then > uos_InputSeek(theplayer, Inputindex, trunc(avalue * Inputlen)); > end; > > But that way, "accept" is always true, even when the button is not > released. > The purpose of "accept" is to reject a value. Set it to false if you don't accept the value. Right button click is normally used to show a popup menu. It is possible to "preview" all mouse messages by tform.onchildmouseevent, check for " (sender = ) and (ainfo.eventkind = ek_buttonrelease) and (ainfo.button = mb_right); " 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] Color of symbol in button of tspinedit ?
Re-hello. Suite... And is it possible to change the color of the "X" of a tbooleanedit.value = true ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- 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] Parent font.color ?
Hello Martin. How to assign font color to children only ? If there are multiple forms, doing this change the parent color of all other forms: one_of_the_forms.font.color := cl_red; Idem if there is many groupboxes, assigning a font color to one groupbox --> all other groupboxes change the color of the child. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- 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] Color of symbol in button of tspinedit ?
Hello. Is it possible to change the color of the balck triangle-symbol of "up" and "down" buttons of a trealspinedit ? If yes , how ? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- 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] About MSE TSlider.
Hello Martin. Sorry to come back with this but I did not catch how to fire a event when the right button is released from the slider-button. I want to assign a event only when the button is released. I did try with this tslider.onsetvalue: procedure tsongplayer2fo.changepos(const Sender: TObject; var avalue: realty; var accept: boolean); begin if accept then uos_InputSeek(theplayer, Inputindex, trunc(avalue * Inputlen)); end; But that way, "accept" is always true, even when the button is not released. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- 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 Canvas.
> Replace "visible:= true; visible:= Ha, you did see this ;-) I did try mywidget.redraw, mywidget.draw, mywidget.refresh, but not mywidget.invalidate. Thanks for the tip. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- 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