Cambiar la Altura de un GRID sin cambiar el tamaño del Font

HMG en Español

Moderator: Rathinagiri

Post Reply
Gustavo Romo
Posts: 29
Joined: Mon Feb 04, 2013 8:39 pm
Location: MEXICO
Contact:

Cambiar la Altura de un GRID sin cambiar el tamaño del Font

Post by Gustavo Romo »

Compañeros ayuda

Que puedo utilizar para cambiar la altura de un Grid sin tener que cambiar el tamaño del Font

es para hacer un calendario, gracias
User avatar
CalScot
Posts: 303
Joined: Thu Mar 21, 2013 12:22 am
Location: California

Re: Cambiar la Altura de un GRID sin cambiar el tamaño del F

Post by CalScot »

companions help
I can use to change the height of a Grid without changing the font size
is to make a schedule, thanks

Hola, Gustavo.
To change the height of a Grid, go to the "Forms" tab and double-click on the .Fmg file that contains your grid. When the form is displayed, click on the grid to select it, then go to the "Properties" tab and scroll down to "Height". Double-click on the "Value" for height, make your change, click "OK" and save the the form. (You may need to do this a few times to get the exact height you want.) Good luck!
CalScot

Hola, Gustavo.
Para cambiar la altura de una red, vaya a la "Forms" ficha y haga doble clic en el archivo .Fmg que contiene la cuadrícula. Cuando se muestre el formulario, haga clic en la cuadrícula para seleccionarlo, a continuación, vaya a la ficha "Properties" y vaya a "Height". Haga doble clic en el "Value" de altura, hacer el cambio, haga clic en "OK" y guarde el formulario. (Es posible que tenga que hacer esto varias veces para obtener la altura exacta que desea.) ¡Buena suerte!
CalScot
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Cambiar la Altura de un GRID sin cambiar el tamaño del Font

Post by Pablo César »

Gustavo Romo wrote:Compañeros ayuda

Que puedo utilizar para cambiar la altura de un Grid sin tener que cambiar el tamaño del Font

es para hacer un calendario, gracias
Habrás querido decir, cambiar la altura de cada linea del grid y no la altura periférica del grid, no es cierto ?

Creiria que debe intentar hacer un código en C para tal propósito. En el ejemplo View_Build_Log.prg hay dos funciones que te pueden servir de referencia: GRIDSETAUTOCOLUMNSIZE y GRIDSETAUTOCOLUMNHEADSIZE. Y debes hacerlo através del SendMessage y utilizar la constante LVM_SETROWHEIGHT. Creo que es eso. Si consigues o no, por favor retorne para saber como se hace.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
CalScot
Posts: 303
Joined: Thu Mar 21, 2013 12:22 am
Location: California

Re: Cambiar la Altura de un GRID sin cambiar el tamaño del F

Post by CalScot »

You're probably right -- I thought it was too easy if I could answer it!!
Tks.
CalScot
Post Reply