Consulta sobre resolución de pantalla.

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5324
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 200 times
Been thanked: 210 times
Contact:

Re: Consulta sobre resolución de pantalla.

Post by Rathinagiri »

Superb!

Thanks a lot for sharing friend.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
sudip
Posts: 1446
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 5 times
Been thanked: 2 times

Post by sudip »

One very small addition

Code: Select all

 ...  private cForm:='Principal'
   MsgInfo("Se ajusta posicion, ancho y font","Informacion")
   DEFINE WINDOW  Principal AT 126,66 WIDTH 648 HEIGHT 404 ;
   TITLE 'AutoAdjust (c)2007-2010 MigSoft ' MAIN;
   on init Autoaj(cForm) ;
   ON SIZE Autoaj(cForm) ;
   on MAXIMIZE Autoaj(cForm)...
With best regards,
Sudip

User avatar
mustafa
Posts: 1013
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 210 times
Contact:

Post by mustafa »

Hola Steed
He probado tu adaptación a HMG , pero cuando le doy al Boton de
"Maximizar" los objetos como FRAME, TAB. TEXTBOX , Botones, etc
quedan del mismo tamaño que tenian , quedando en el lado izquierdo superior
sin alterar el tamaño, si te fijas el ejemplo de MigSoft que mande, cuando Maximizas
WINDOW todos los objetos de automodifican a las nuevas medidas de la Ventana.
ampliando el tamaño
un Saludo
*------------------ Google --------------*
Hi Steed
He tried your adaptation to HMG, but when I give the Button
WINDOW "Maximize" objects as FRAME, TAB, TEXTBOX, Buttons, etc.
are the same size they had, being in the upper left side without altering
size, if you look at the example of MigSoft you send, when maximizing
WINDOW all objects of the new measures automodifican Window.
greater number
Greeting
Mustafa

User avatar
mustafa
Posts: 1013
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Been thanked: 210 times
Contact:

Post by mustafa »

Con el arrego de Sudip
añadiendo ----> ON MAXIMIZE Autoaj(cForm)
funciona perfecto
Saludos
*-------- Google ----------------*
With the Fitting of Sudip
adding ----> ON MAXIMIZE Autoaj(cForm)
Regards

Mustafa

User avatar
srvet_claudio
Posts: 2113
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 48 times
Been thanked: 224 times
Contact:

Post by srvet_claudio »

Very good :D
Thanks.

Regards,
Claudio.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
jreduojeda
Posts: 45
Joined: Thu Feb 19, 2009 12:41 am
DBs Used: DBF, MySql
Location: Buenos Aires - Argentina
Contact:

Post by jreduojeda »

Muchas gracias.
Lo probaré.
Saludos,
Ojeda, Esteban Eduardo.
ooHg - Minigui - QAC
FiveWin - PellesC - Clipper
ADS Server - MySql - DBF/CDX
FastReport

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César »

Steed wrote:Hi, All


I Adapted, almost, the Hmg_ext autoajust sample to Hmg, enjoy.


Regards,


Ed
Muy bueno ! Very good and thank you for sharing !!!
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 3 times
Been thanked: 9 times

Post by Leopoldo Blancas »

Excelente amigos...
Saludos
Polo
*------------------------------------------
Great friends ...
regards
Polo

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César »

My contribution in function ISAPPXPTHEMED() which is always is returning true:

Code: Select all

Function ISAPPXPTHEMED()
Local lRet:=OS_ISWINXP_OR_LATER()

If lRet
   lRet:=IsAppThemed()        
Else                           
   lRet:=.F.                  
Endif
Return lRet
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
esgici
Posts: 4538
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 times
Been thanked: 118 times
Contact:

Post by esgici »

Ola Amigo

Thanks to contribution and exploring two hidden / undocumented features ;)

Does may be with this (shorter) way :

Code: Select all

Function ISAPPXPTHEMED()
RETURN ( OS_ISWINXP_OR_LATER() .AND. IsAppThemed() )   


By the way, did you tried for a form included radio group control ?

TIA :D
Viva INTERNATIONAL HMG :D

Post Reply