Possible to FREEZE a dialog-position and size on screen ?

Possible to FREEZE a dialog-position and size on screen ?

Postby ukoenig » Sat Sep 07, 2013 2:15 pm

Hello,

is it possible, to FREEZE the position of a normal dialog on screen ?
I don't want, that the user can MOVE or RESIZE the dialog.

Best Regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby Antonio Linares » Sat Sep 07, 2013 2:27 pm

Uwe,

A quick solution would be to define the dialog without title and border
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby ukoenig » Sat Sep 07, 2013 2:33 pm

Antonio,

thank You very much.
Maybe I can get a good visible result, removing title and border.

A situation, I'm using common in my tools. :
The bottom includes a dialog without title but still with a border :

Image

Best Regards
Uwe :?:
Last edited by ukoenig on Sun Sep 08, 2013 9:24 am, edited 3 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby Antonio Linares » Sat Sep 07, 2013 2:40 pm

Uwe,

Can't see your posted screenshot.

By the way, we have solved the wrong lines painting on the right side of the xbrowse in FWH 13.08, here :-)
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby ukoenig » Sat Sep 07, 2013 2:43 pm

Antonio,

added the screenshot.
Because with the time ( many images ), it is a problem, to find a name

Best regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby ukoenig » Sat Sep 07, 2013 3:04 pm

This is the result without title and frame.
Still some work needed like adding a SAY as title.

Image

because of any possible combination, I used the same brushes for WINDOW and DIALOG.
The dialogs are still visible ( a little border around ) :

Image

Best regards
Uwe :lol:
Last edited by ukoenig on Sat Sep 07, 2013 3:16 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby Antonio Linares » Sat Sep 07, 2013 3:16 pm

very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby ukoenig » Sun Sep 08, 2013 9:25 am

I created 3 alphablended Images with a external Font-creator ( NO says )
One is used as title and two as sub-titles.
The fontheight is calculated with a factor resource-width to image-with, to keep the ratio.

Image

Image

Image

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Possible to FREEZE a dialog-position and size on screen ?

Postby ukoenig » Mon Sep 09, 2013 8:17 pm

Another solution : drawing TITLES with any style and on any screen-position.
The final extended result of a function, I started some month ago :

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests