Hi,
I was wondering if it is possible to change the height of the titlebar of a dialog, and to change the font of the title.
I thought first to draw my own titelbar on a dialog where notitlebar is set, but at that moment I realised that the dialog can't be moved at that moment.
Any suggestions are welcome.
Titlebar height and font
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Titlebar height and font
Perhaps you can use the example movewin from Roger for your dialog without titlebar.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Titlebar height and font
Yes, that is what is was looking for.
Re: Titlebar height and font
can you please point me where i find example movewin ?Wolfgang Ciriack wrote:Perhaps you can use the example movewin from Roger for your dialog without titlebar.
greetings by OHR
Jimmy
Jimmy
Re: Titlebar height and font
I believe they are talking about the Move Window example in Sample Group 6 of Xdemo.Auge_Ohr wrote:can you please point me where i find example movewin ?Wolfgang Ciriack wrote:Perhaps you can use the example movewin from Roger for your dialog without titlebar.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com
Real Business Applications Ltd
http://www.rbauk.com
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Titlebar height and font
Thats right, or express\Samples\Movewin.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Titlebar height and font
Hello,
simply use dc_moveparentwindow() on the main static.
regards
Rudolf
@ 0,0 DCSTATIC SIZE nWidth,nHeight PIXEL COLOR setgetschema("SUB"),setgetschema("SUB") EVAL {|o|o:lbDown := {|a,b,c|DC_MoveParentWindow(a,b,c)}} OBJECT oStatic
simply use dc_moveparentwindow() on the main static.
regards
Rudolf
@ 0,0 DCSTATIC SIZE nWidth,nHeight PIXEL COLOR setgetschema("SUB"),setgetschema("SUB") EVAL {|o|o:lbDown := {|a,b,c|DC_MoveParentWindow(a,b,c)}} OBJECT oStatic