Le 10/09/2012 17:17, Jussi Lahtinen a écrit :
> I can confirm this problem with Gambas 3 rev 5152 @ Xubuntu 12.04 64 bit.
> Problem applies only to GTK+, Qt4 works fine.
>
>
>   [System]
>
> OperatingSystem=Linux
>
> Kernel=3.2.0-30-generic
>
> Architecture=x86_64
>
> Memory=4049136 kB
>
> DistributionVendor=Ubuntu
>
> DistributionRelease="Ubuntu 12.04.1 LTS"
>
> Desktop=Xfce
>
>
> [Gambas 3]
>
> Version=3.3.0
>
> Path=/usr/local/bin/gbx3
>
>
> [Libraries]
>
> Qt4=libQtCore.so.4.8.1
>
> GTK+=libgtk-x11-2.0.so.0.2400.10
>
>
> Jussi
>
>
>
>
> On Mon, Sep 10, 2012 at 2:36 PM, Tiago Baciotti Moreira
> <bacio...@gmail.com>wrote:
>
>> Hello,
>>
>> This is my first post here ;-)
>>
>> My name is Tiago Baciotti Moreira and I am a Brazilian user of Gambas. As
>> an old VB 4.0/5/6 developer, I am very satisfied with Gambas. I researched
>> another options (like RealBasic and Lazarus) but I prefered Gambas
>>
>> I began to write a simple management program in Gambas and it is about 60%
>> finished write now. I made all the CRUD and I am just making the last
>> touches on it.
>>
>> The next step is to make the reports and it seems to be easy.
>>
>> So, I have a simple question: What am I doing wrong about MODAL forms?
>>
>> I have an Main Form and I call a "search" form with frmPesquisa.ShowModal.
>>
>> The problem is that it does not show as modal, because I can reach and
>> click buttons from the main window. My intent is to not allow the user goes
>> back to the main window without select something first.
>>
>> Thank you very much,
>>
>> Tiago
>>
>> [System]
>> OperatingSystem=Linux
>> Kernel=3.2.0-29-generic
>> Architecture=i686
>> Memory=3578560 kB
>> DistributionVendor=LinuxMint
>> DistributionRelease="Linux Mint 13 Maya"
>> Desktop=Unknown
>>
>> [Gambas 3]
>> Version=3.2.1
>> Path=/usr/bin/gbx3
>>
>> [Libraries]
>> Qt4=libQtCore.so.4.8.1
>> GTK+=libgtk-x11-2.0.so.0.2400.10
>>
>> --
>> :: Lista Sistemas: http://goo.gl/xnSog
>>
>> “Contos de Fadas são a pura verdade: não porque nos contam que os dragões
>> existem, mas porque nos contam que eles podem ser vencidos. (G. K.
>> Chesterton)”
>>

gb.gtk ShowModal() method has been fixed in revision #5154. Moreover, 
now the dialog is correctly centered.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to