ReSizer class

621 views
Skip to first unread message

Mukesh Khandelwal

unread,
Mar 14, 2021, 3:52:56 PM3/14/21
to Comunidad de Visual Foxpro en Español
Hi

Does any one is having ReSizer class which will resize VFP 9 forms according to Screen resolution. It should resize every control including Grid,

Thanks

Zarlu

unread,
Mar 14, 2021, 3:58:24 PM3/14/21
to Comunidad de Visual Foxpro en Español
Buenas tardes muk944!

Quizá esto te ayude:

Suerte
zarlu
Chetumal, Quintana Roo, México

Irwin Rodriguez

unread,
Mar 14, 2021, 4:40:45 PM3/14/21
to publice...@googlegroups.com

--
Visita el Blog de la Comunidad Visual FoxPro en Español: http://comunidadvfp.blogspot.com
---
Has recibido este mensaje porque estás suscrito al grupo "Comunidad de Visual Foxpro en Español" de Grupos de Google.
Para cancelar la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a publicesvfoxp...@googlegroups.com.
Para ver esta conversación en el sitio web, visita https://groups.google.com/d/msgid/publicesvfoxpro/29417b17-fadd-426d-91b3-95fef33e0411n%40googlegroups.com.

chi...@gmail.com

unread,
Mar 15, 2021, 7:45:01 AM3/15/21
to Comunidad de Visual Foxpro en Español
yo uso mwResize Version 5.1

Mukesh Khandelwal

unread,
Mar 16, 2021, 2:15:05 AM3/16/21
to Comunidad de Visual Foxpro en Español
HI Can you share me this mwResize class

Thanks

chi...@gmail.com

unread,
Mar 16, 2021, 7:41:29 AM3/16/21
to Comunidad de Visual Foxpro en Español

Mukesh Khandelwal

unread,
Mar 16, 2021, 8:18:03 AM3/16/21
to Comunidad de Visual Foxpro en Español
Hi 

The above link of sourcecodefox downloads file "setup-x86-x64-win.rar"  which does not contains any VCX file

chi...@gmail.com

unread,
Mar 16, 2021, 8:36:04 AM3/16/21
to Comunidad de Visual Foxpro en Español

Mukesh Khandelwal

unread,
Mar 23, 2021, 4:06:48 PM3/23/21
to Comunidad de Visual Foxpro en Español

Thanks for MWRESIZE class

It works for me for most of the forms. But in one case where my form is having 8 tabs 

I am having container class having controls for tab # 5. I am adding this container at RUNTIME when user clicks on TAB 5.

My problem is how to resize controls of this tab.

Thank you
Mukesh Khandelwal

Edwin Duran

unread,
Mar 23, 2021, 8:34:17 PM3/23/21
to Comunidad de Visual Foxpro en Español

Mukesh Khandelwal

unread,
Mar 24, 2021, 9:19:06 AM3/24/21
to publice...@googlegroups.com
Hi

Thanks for sharing the file

Actually i want to know how to resize a set of controls in a container which i added at run time

Thanks
Mukesh 

Edwin Duran

unread,
Mar 24, 2021, 12:21:44 PM3/24/21
to Comunidad de Visual Foxpro en Español
hi muk, did you run the example?

Can you send us picture 

Mukesh Khandelwal

unread,
Mar 24, 2021, 4:06:49 PM3/24/21
to publice...@googlegroups.com

Please see the below screen shot and suggest

image.png

Edwin Duran

unread,
Mar 24, 2021, 4:57:29 PM3/24/21
to Comunidad de Visual Foxpro en Español
I have not been used you this class But perhaps the author can answer you

I attach you other, verify which one is better for you this code go in the ini of the form, chance the extension TXT for PRG

This.NewObject('Resizer','ATResizer','attools.prg',, .T., 0, , )
* VFP6 or newer:
  *!*   This.NewObject('Resizer','ATResizer','attools.prg',, lParam1, nParam2, cParam3, cParam4)
  *!*
  *!*
  *!*   Where lParam1 = .T. Restore last dimensions / Save new dimensions
  *!*         lParam1 = .F. Use Original Size / Do not save new dimensions (Default)
  *!*         nParam2 = 0   Use MEM file to save / Restore from (Default)
  *!*         nParam2 # 0   Use DBF to save  / Restore from
  *!*         cParam3       Save(Restore file name (Default Atresizer)
  *!*         cParam4       Save to/Restore From MEM meory variable prefix (Default _AT_)
  *!*                       Form dimensions are saved to /Restore from
  *!*                       Prefix+FormName memory variable
  *!*                       f.ex. Form frmCustomer1 dimensions (Left, Top, Width, Height)
  *!*                       are Saved to/Restored from (if prefix is _AT_)
  *!*                       _AT_frmCustomer1 memory variable.
  *!*                       Use prefix that totally separates it from other memory variables.
  *!*
  *!*        cParam3 file is saved to the environment variable WINDIR directory.
  *!*        If WINDIR not exist, it is saved to SYS(5)+CURDIR() directory.

attools.txt

chi...@gmail.com

unread,
Jul 5, 2021, 1:10:15 PM7/5/21
to Comunidad de Visual Foxpro en Español
Reply all
Reply to author
Forward
0 new messages