Article ID: 191592
Article Last Modified on 8/26/1999
PUBLIC oform
oform = crea('form1')
oform.show()
DEFINE CLASS form1 AS form
Caption = "Form1"
Name = "FORM1"
ADD OBJECT list1 AS listbox WITH ;
RowSourceType = 1, ;
RowSource = "Miami,New England,Buffalo,New York,Indianapolis", ;
IntegralHeight = .T., ;
Height = 132, ;
Left = 84, ;
Top = 60, ;
Width = 132, ;
Name = "List1"
ADD OBJECT command1 AS commandbutton WITH ;
Height = 28, ;
Left = 84, ;
Top = 195, ;
Width = 160, ;
Name = "Command1", ;
Caption = "Increase font"
PROCEDURE command1.click
THISFORM.list1.FontSize = THISFORM.list1.FontSize + 1
ENDPROC
ENDDEFINE
Height = 132
-to-
Height = 12
Run the code again. Note that the list box appears collapsed from the
beginning. In Visual FoxPro 3.0, the list box appears, and it contains
the larger font, although part of the data is truncated.Additional query words: kbVFp500abug kbVFp600bug kbCtrl kbContainer
Keywords: kbbug kbnofix kbcode KB191592