[Gambas-user] Clean new console by code

Ru Vuott vuott at ...325...
Sat Jun 25 02:04:35 CEST 2016


I suggest:


Public Sub Form_Open()

  Print "testo qualsiasi"

End


Public Sub Button1_Click()

' We hide the Form to assign the focus to the console:
  Me.Hide

End


Public Sub Form_Hide()

  Wait 0.1

  Desktop.SendKeys("{[Control_L]l}")
  
  Me.Raise

End




--------------------------------------------
Ven 24/6/16, Lewis Balentine <lewis at ...3412...> ha scritto:

 Oggetto: Re: [Gambas-user] Clean new console by code
 A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
 Data: Venerdì 24 giugno 2016, 22:37
 
 Desktop.SendKeys("clear/n")
 
 On 06/24/2016 02:30 PM, Gianluigi wrote:
 > How can I clean console by code in rev. 7804?
 > Print Chr$(12); - Write Chr(12) -
 Desktop.SendKeys("{[Control_L]l}") do not
 > work.
 >
 > Regards
 > Gianluigi
 >
 ------------------------------------------------------------------------------
 > Attend Shape: An AT&T Tech Expo July 15-16. Meet us
 at AT&T Park in San
 > Francisco, CA to explore cutting-edge tech and listen
 to tech luminaries
 > present their vision of the future. This family event
 has something for
 > everyone, including kids. Get more information and
 register today.
 > http://sdm.link/attshape
 > _______________________________________________
 > Gambas-user mailing list
 > Gambas-user at lists.sourceforge.net
 > https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 
 ------------------------------------------------------------------------------
 Attend Shape: An AT&T Tech Expo July 15-16. Meet us at
 AT&T Park in San
 Francisco, CA to explore cutting-edge tech and listen to
 tech luminaries
 present their vision of the future. This family event has
 something for
 everyone, including kids. Get more information and register
 today.
 http://sdm.link/attshape
 _______________________________________________
 Gambas-user mailing list
 Gambas-user at lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list