Size Formula

Jigment
04-17-2003, 03:34 PM
Can anyone help me. I want to make a resize function for my flexigrid so i can use percentages. Example...

msgServers.colwidth(1) = MyFormula(45) '45 percent


but i dont know how.



Thanks.

Bucky
04-17-2003, 06:41 PM
Create a function that takes the current size of the flexgird (width and/or
height), and then multiplies it by 1/100th of the number you pass. This
turns the number into a decimal (45 x 1/100 = .45), and then when you
multiply it by the width you will get a percentage of the width. It's
simple algebra.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum