[Gambas-user] window placement

Steve G simonlebon54 at yahoo.com
Fri Feb 18 22:47:55 CET 2022


No bug tracker has been done this is that one where regardless of the top and left properties of the window the window does not move it stays in whatever random place it was put on. As I recall you guys seemed to feel that it was a glitch that needed to be repaired this was discussed about 2 weeks ago

⁣Sent from TypeApp ​

On Feb 18, 2022, 08:55, at 08:55, user-request at lists.gambas-basic.org wrote:
>Send User mailing list submissions to
>	user at lists.gambas-basic.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.gambas-basic.org/listinfo/user
>or, via email, send a message with subject or body 'help' to
>	user-request at lists.gambas-basic.org
>
>You can reach the person managing the list at
>	user-owner at lists.gambas-basic.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of User digest..."
>
>
>Today's Topics:
>
>   1. Re: window placement (Beno?t Minisini)
>   2. Re: ToggleButton issue (Charlie Ogier)
>   3. Re: ToggleButton issue (Bruce Steers)
>   4. Re: ToggleButton issue (Bruce Steers)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 18 Feb 2022 17:35:33 +0100
>From: Beno?t Minisini <g4mba5 at gmail.com>
>To: user at lists.gambas-basic.org
>Subject: Re: [Gambas-user] window placement
>Message-ID: <60452a88-c366-8d46-c2d7-95155e1a614c at gmail.com>
>Content-Type: text/plain; charset=UTF-8; format=flowed
>
>Le 17/02/2022 ? 20:48, Steve G via User a ?crit?:
>> Do we have any idea when the ability to place Windows using the top
>and 
>> left property will be fixed in gtk two or three? Or do I have to
>switch 
>> and if so what do I have to switch to
>> 
>
>Is this related to a specific bugtracker issue? Otherwise can you
>elaborate?
>
>-- 
>Beno?t Minisini
>
>
>------------------------------
>
>Message: 2
>Date: Fri, 18 Feb 2022 16:14:44 +0000
>From: Charlie Ogier <charlie at cogier.com>
>To: user at lists.gambas-basic.org
>Subject: Re: [Gambas-user] ToggleButton issue
>Message-ID: <d5c7de64-9697-8e51-083c-9606065495df at cogier.com>
>Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
>Thanks Fabien but I think you have missed the point. The Action has
>only 
>been created not activated.
>
>Have a look at this example. The problem does not occur with a Button 
>but does with a ToggleButton.
>
>'**********************************
>/But As Button//
>//TB As ToggleButton//
>//VBox1 As VBox//
>//
>//Public Sub Form_Open()//
>//
>//? Dim iLoop As Integer//
>//
>//? With Me//
>//??? .Arrangement = Arrange.Horizontal//
>//??? .Padding = 5//
>//??? .W = 350//
>//??? .H = 200//
>//? End With//
>//
>//? VBox1 = New VBox(Me)//
>//? VBox1.Expand = True//
>//
>//? For iLoop = 0 To 5//
>//??? With But = New Button(VBox1)//
>//????? .H = 28//
>//????? .W = 100//
>//????? .Text = "&Click Button!"//
>//????? .Font.Bold = True//
>//????? .Picture = Picture["icon:/22/right"]//
>//????? .Action = "setup" 'This is the line DOES NOT causes a problem//
>//??? End With//
>//? Next//
>//
>//? VBox1 = New VBox(Me)//
>//? VBox1.Expand = True//
>//
>//? For iLoop = 0 To 5//
>//??? With TB = New ToggleButton(VBox1)//
>//????? .H = 28//
>//????? .W = 100//
>//????? .Text = "&Click ToggleButton!"//
>//????? .Font.Bold = True//
>//????? .Picture = Picture["icon:/22/right"]//
>//????? .Action = "setup" ''This is the line that causes the problem//
>//??? End With//
>//? Next//
>//
>//End/
>'**********************************
>
>On 17/02/2022 14:32, Fabien Bodard wrote:
>> 17 f?vr. 2022 ? 15:31, Fabien Bodard<gambas.fr at gmail.com>  a ?crit :
>>> Hi Olivier
>> Oups ... Sorry Charlie :-D
>>
>> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.gambas-basic.org/pipermail/user/attachments/20220218/d56980ce/attachment-0001.htm>
>
>------------------------------
>
>Message: 3
>Date: Fri, 18 Feb 2022 17:40:44 +0000
>From: Bruce Steers <bsteers4 at gmail.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] ToggleButton issue
>Message-ID:
>	<CABuQYCDr8eks3EsYVSnanh6iaJ3gdf2eu0zzNAxq2OW_dpL_hg at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>On Fri, 18 Feb 2022 at 16:39, Charlie Ogier <charlie at cogier.com> wrote:
>
>> Thanks Fabien but I think you have missed the point. The Action has
>only
>> been created not activated.
>>
>> Have a look at this example. The problem does not occur with a Button
>but
>> does with a ToggleButton.
>>
>
>It also occurs with a checkbox
>
>It does not occur with SwitchButton
>
>It seems to be something only checkbox and togglebutton do.
>a checkbox will also link to a togglebutton if they have the same
>action
>
>BruceS
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.gambas-basic.org/pipermail/user/attachments/20220218/16aa694d/attachment-0001.htm>
>
>------------------------------
>
>Message: 4
>Date: Fri, 18 Feb 2022 17:52:23 +0000
>From: Bruce Steers <bsteers4 at gmail.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] ToggleButton issue
>Message-ID:
>	<CABuQYCAEzRY3h=C4d69DYcgZVzkqOj9w9Xw1pNFjzGeWrhbaRg at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>On Fri, 18 Feb 2022 at 17:40, Bruce Steers <bsteers4 at gmail.com> wrote:
>
>>
>>
>> On Fri, 18 Feb 2022 at 16:39, Charlie Ogier <charlie at cogier.com>
>wrote:
>>
>>> Thanks Fabien but I think you have missed the point. The Action has
>only
>>> been created not activated.
>>>
>>> Have a look at this example. The problem does not occur with a
>Button but
>>> does with a ToggleButton.
>>>
>>
>> It also occurs with a checkbox
>>
>> It does not occur with SwitchButton
>>
>> It seems to be something only checkbox and togglebutton do.
>> a checkbox will also link to a togglebutton if they have the same
>action
>>
>> BruceS
>>
>
>
>I think you should give them all different Action names and use Group
>for
>your needs.
>
>If you look at the Action wiki help it lists the following properties..
>http://gambaswiki.org/wiki/comp/gb.qt4/action
>
>Properties
>*Controls <http://gambaswiki.org/wiki/comp/gb.qt4/action/controls>* 
>*Enabled
><http://gambaswiki.org/wiki/comp/gb.qt4/action/enabled>*  *HasShortcut
><http://gambaswiki.org/wiki/comp/gb.qt4/action/hasshortcut>*  *Picture
><http://gambaswiki.org/wiki/comp/gb.qt4/action/picture>*  *Shortcut
><http://gambaswiki.org/wiki/comp/gb.qt4/action/shortcut>*  *Text
><http://gambaswiki.org/wiki/comp/gb.qt4/action/text>*  *Tooltip
><http://gambaswiki.org/wiki/comp/gb.qt4/action/tooltip>*  *Value
><http://gambaswiki.org/wiki/comp/gb.qt4/action/value>*
>*Visible <http://gambaswiki.org/wiki/comp/gb.qt4/action/visible>*
>
>So setting Action["setup"].Text changes ALL objects with action "setup"
>to
>given text.
>
>The same for Action["setup"].Value
>
>So because they share the action string they are linked. as those
>buttons
>represent the same Action. i don't think using the same action string
>for
>things that perform different actions is the way to go m8.
>
>Respects
>BruceS
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.gambas-basic.org/pipermail/user/attachments/20220218/91405360/attachment.htm>
>
>------------------------------
>
>Subject: Digest Footer
>
>----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>]----
>
>
>------------------------------
>
>End of User Digest, Vol 53, Issue 52
>************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220218/04b53e5e/attachment.htm>


More information about the User mailing list