[Gambas-user] Socket

Hans-Martin Bundeshund bundeshund at ...467...
Mon Jul 12 21:42:21 CEST 2004


Hi!

Sorry, couldn't help with socket-class, but what did you mean with 'don't 
recognize the class on the drop down menu'? If you want to have a menu 
poped-up by right-clicking just use some code like this:

PUBLIC SUB TextBox1_Menu()

  PopUpMenu.visible=TRUE
  PopUpMenu.Popup
  PopUpMenu.visible=FALSE  

END


Be sure to create PopUpMenu plus under-menus with the menu-editor (rightclick 
on the object in the form-editor).

HTH,

HM




Am Montag, 12. Juli 2004 21:23 schrieb Gioachino Bartolotta:
> Hi all!
>
> I am new to Gambas, I have compiled from source and installed version
> 0.94a, tried to work with it, tried to work with Socket class, but even
> when I try to copy the example from manual about Socket, it doesn't work.
>
> For example if I try to write
>
> Dim MySock AS Socket
> Dim MySock = NEW Socket()
>
> I get an error ... but why ....?? I have also specified during configure
> --enable-net
>
> What is wrong?
>
> By the way, Gambas don't recognize the class on the drop down menu.
>
> Hope to be clear ...
>
> Please help me ... :(




More information about the User mailing list