Re: [Gambas-user] Cliboard-Problem

2009-12-10 Thread Les Hardy
Norarg wrote: Hi, I have a problem with the clipboard, using ubuntu 9.10, gambas 2.13 following code works ONE time: PUBLIC SUB CLIP_B_Click() DIM S AS String DIM I AS Integer DIM TR AS Result TR = M.ReadRecord(OPVDM!tabelle, OPVDM!TBID, OPVDM!TBIDWert) IF TR.Count = 0

Re: [Gambas-user] Workspace and object .Visible property

2009-12-10 Thread D. L. Fox
Someone will correct me if I'm wrong. Technically, the component itself is still visible. You just can't see it because the tab to which it belongs is hidden. If you need to know its visibility in that scenario, I guess you will have to check to see if its tab is the currently selected tab.

[Gambas-user] menu button events Q

2009-12-10 Thread richard terry
I've a menu button and want to be able to detect a right mouse click over the text of the button. None of the events seem intereceptable in the usual way in code, and creating an observor on the button and using stop events dosn't seem to work either (gambas3 + qt4). Is there something special

Re: [Gambas-user] Workspace and object .Visible property

2009-12-10 Thread BenoƮt Minisini
Someone will correct me if I'm wrong. Technically, the component itself is still visible. You just can't see it because the tab to which it belongs is hidden. If you need to know its visibility in that scenario, I guess you will have to check to see if its tab is the currently selected

[Gambas-user] Really dumb question about dialog forms

2009-12-10 Thread richard terry
Hi List, My really stupid question for the week. If I create a new form with the dialog support it gets this code: Public Sub Run() As Boolean Return Not Me.ShowModal() End Public Sub btnOK_Click() Me.Close(True) End Public Sub btnCancel_Click() Me.Close End If I had a textbox on

[Gambas-user] Minimum Size of a Form

2009-12-10 Thread Werner
How can I ensure a resizable form does not get smaller than a certain minimum? That won't work: Public Sub Form_Resize() If Me.Width 200 Then Me.Width = 200 ' Stop Event Endif If Me.Height 180 Then Me.Height = 180 ' Stop Event Endif End ...no matter if I use Stop Event or

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-10 Thread richard terry
On Friday 11 December 2009 17:22:54 you wrote: 2009/12/11 richard terry rte...@pacific.net.au: Hi List, My really stupid question for the week. I'm sorry. You've already done that three times this week. If I had a textbox on the form and wanted to return its contents, what would be

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-10 Thread Kadaitcha Man
2009/12/11 richard terry rte...@pacific.net.au: BTW when replying on the list its useful ***not to snip out the guts of the question*** so that others reading your reply can make sense of it. Why put the onus on me for something that annoys only you? If you don't like the way I reply, don't