Page 1 of 1

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

Posted: Thu Mar 28, 2013 4:16 pm
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

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

Posted: Thu Mar 28, 2013 4:54 pm
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

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

Posted: Thu Mar 28, 2013 5:24 pm
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.

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

Posted: Thu Mar 28, 2013 5:43 pm
by CalScot
You're probably right -- I thought it was too easy if I could answer it!!
Tks.
CalScot