[Gambas-user] Placeholder not working

Charlie Ogier charlie at cogier.com
Wed Feb 3 18:32:26 CET 2021


Hi,

Can you try the following code and see if it crashes on you.

Thanks,

Charlie
'************************************
ComboBox1 As ComboBox

Public Sub Form_Open()

   With ComboBox1 = New ComboBox(Me) As "ComboBox1"
     .x = 10
     .y = 35
     .Height = 28
     .Width = 250
     .Placeholder = "Add some text"    ''This causes a crash with 
gb.gui.qt and does not work with gb.gui
   End With

End
'************************************


More information about the User mailing list