Hello Fred,
In MouseEvent Procedure we have to search the object to setfocus to . I do
not know the structure of ainfo does it contain the object selected?
Regards
Med.
________________________________
De : fredvs <[email protected]>
Envoyé : vendredi 9 août 2019 00:35
À : [email protected]
<[email protected]>
Objet : Re: [MSEide-MSEgui-talk] Fonts
Hello Med.
I think that you can do that without changing anything in mse.
With theobject.setfocus() + theform.onmouseevent().
You just have to know the area of frame.caption (but you know now how to get
his height + width).
Pseudo code:
procedure tmainfo.onmouseev(const sender: twidget; var ainfo:
mouseeventinfoty);
begin
if mouseclick_is_in_ frame.caption_area then theobject.setfocus();
end;
Fre;D
--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk