Article ID: 129208
Article Last Modified on 2/12/2000
A foxel is equivalent to the average height and width of a character based on the current font of the form in which an object is contained. Foxels are useful when developing cross-platform applications for character-based and graphical platforms.
The smallest element that can be displayed on a screen or printer. Pixels are screen-dependent.
0 - Foxels
3 - Pixels
* Demonstration of pixel versus Foxel scale modes. *
*--------------------------------------------------*
PUBLIC MyForm
MyForm = CREATEOBJECT("MyForm") && To instance an new object
MyForm.Show && To Show
DEFINE CLASS myform AS form
scalemode = 0 && Foxels
ADD OBJECT cmd1 as commandbutton WITH ;
top = 10, ;
left = 10
ENDDEFINE
*End code definition
With this definition, the button should appear in the lower third of the
form. If you change the scalemode to 3, the button will be moved to the
upper left corner of the screen. Again, if scalemode is not set to 0, this
will have the same effect as explicitly setting the scalemode to 3.
Additional query words: foxels pixels xplatform crossplat 3.00
Keywords: kbcode KB129208