Am Freitag, den 26.06.2015, 13:24 -0600 schrieb herberth guzman:
Salut Benoit
as always for help.
I have a Hsplit on a form
I create 2 buttons
run the form, the buttons look the same size
the problem is
when clean Hsplit (HSplit1.Children.Clean)
and I return to create the buttons
Salut Benoit
as always for help.
I have a Hsplit on a form
I create 2 buttons
run the form, the buttons look the same size
the problem is
when clean Hsplit (HSplit1.Children.Clean)
and I return to create the buttons inside HSplit
resize buttons.
CODE
Public Sub Form_Open ()
Button1_Click
Salut Amicalement
Salut Herberth,
Public Sub Button1_Click()
Dim i As Integer
HSplit1.Children.Clear
For i = 1 To 2
hToggle = New Button(HSplit1)
hToggle.Text = T i
hToggle.Picture = Picture[icon:/32/add]
Next
hToggle.AutoResize = True
End
This works for me.
But how you