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
-
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
> -
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
F
http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4-
Comment #16 by Mufeed ALI:
It works in XFCE. Its an upstream issue then. There is some issue with the
Global Menu system used in Unity that is causing the check-marks to not appear.
So, its over. //
Mufeed ALI changed the state
http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4-
Comment #15 by Mufeed ALI:
Checked with Gambas 3.9 Trunk, GTK+3 and no global menu. Running the app as
root disabled the global menu feature for that instance of the app. But still
no checkmark. I'll try again in XFCE once I ge
http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4-
Comment #14 by BenoƮt MINISINI:
I tried with both GTK+2 and GTK+3. I will check with global menu and Unity as
soon as possible. But if you don't see the check marks in the global menu, then
the problem should be in the global me
http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4-
Comment #13 by Mufeed ALI:
Hm... Then I guess it is an issue with Unity's global menu system. Well, the QT
version does not face this issue. I'll try in XFCE. Could you make sure you're
checking this in GTK3 and not GTK2?
Thanks
http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4-
Comment #5 by Mufeed ALI:
Um.. It doesn't always happen. Just rarely. I have a clean Ubuntu install but
with Gambas, kubuntu-desktop and xubuntu-desktop.