[Gambas-user] Problem switching forms on embedded application
M0E Lnx
m0e.lnx at ...626...
Tue Jun 3 22:44:50 CEST 2008
I should probabbly mention that this procedure does work under gb.qt
Thus, the problem may very well be related to gb.gtk
On Tue, Jun 3, 2008 at 3:42 PM, M0E Lnx <m0e.lnx at ...626...> wrote:
> Using gb.gtk
>
> Using a svn revision (can't remember the numeber) but it if after the
> 2.6 release. Beniot recommended I use this release because of other
> problems with the embedder component and gb.gtk.
>
>
> Anyhow, the problem occurs when I press the button to make it display
> the second form...
> My Host form (the form that the others are embedding to) remains blank.
>
>
>
> On Tue, Jun 3, 2008 at 12:08 PM, Benoit Minisini
> <gambas at ...1...> wrote:
>> On mardi 03 juin 2008, M0E Lnx wrote:
>>> I have already tried this, and got nowhere.
>>>
>>> It's really easy to re-produce..
>>>
>>> Create new project
>>> Add a container object to FMain (vpanel1)
>>> Add a Button object to Fmaine (Button1)
>>> Create Form1 and Form2
>>>
>>> Fmain_load()
>>> Form1.Reparent(Fmain.vpanel1)
>>> Form1.show
>>> END
>>>
>>> Button1_click()
>>> Form1.hide ' Hide the form that is embedded into the vpanel
>>> Form2.reparent(Fmain.vpanel1) 'prepare the new form to embed into fmain
>>> Form2.show
>>> END
>>>
>>> That's where I end up with nothing.. the original form hides, but the
>>> new one does not show up..
>>>
>>>
>>> Please help
>>>
>>
>> I thought you were talking about embedding forms with the Embedder control!
>>
>> Do you use gb.qt or gb.gtk?
>>
>> --
>> Benoit Minisini
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> 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