General information
Category:
Visual FoxPro Beta
Title:
BUG: Anchors do not work when windowstate = 2
When a form with anchored controls is shown Maximized, the controls are not resiszed correctly. Repro code below:
Local loForm As Form
loForm = CreateObject("Testform2")
loForm.WindowState = 2
loForm.Show()
Wait window 'Observe that the edit box is not resized'
DEFINE CLASS testform2 AS form
DoCreate = .T.
Caption = "Form"
Name = "testform2"
ADD OBJECT edit1 AS editbox WITH ;
Anchor = 15, ;
Height = 216, ;
Left = 36, ;
Top = 12, ;
Width = 300, ;
Name = "Edit1"
ENDDEFINE
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only