[Gambas-user] How to open a form in modal mode?

Fabien Bodard gambas.fr at ...626...
Wed Sep 22 20:42:53 CEST 2010


"Huh, one more thing, is there a way to autoresize the button with its
caption?"

in gambas3 set autoresize to true

2010/9/22 jose <jose2190 at ...626...>:
> El mié, 22-09-2010 a las 19:54 +0300, Jussi Lahtinen escribió:
>> Never seen that problem... can you send project source to demonstrate this
>> problem?
>>
>> Jussi
>>
>>
>> 2010/9/22 Phạm Quang Dương <soleilpqd at ...626...>
>>
>> > I know that this question is basic. But when I try this from Form1
>> >
>> > Form2.OpenDialog()
>> >
>> > or
>> >
>> > Form2.OpenModal()
>> >
>> > Some controls on Form2 doesn't work properly, e.g I can input "abc" text
>> > into value box; the text box doesn't raise the key pressed event, the side
>> > pane can be hidden by the arrow button but can not be resized with mouse
>> > dragging, can not select bookmark item on the file chooser ...
>> >
>> > I think I'm wrong some where. So what is the right way?
>> > Gambas 2.21 (installed from source), Fedora 13  (Gnome)
>> >
>> > ------------------------------------------------------------------------------
>> > Start uncovering the many advantages of virtual appliances
>> > and start using them to simplify application deployment and
>> > accelerate your shift to cloud computing.
>> > http://p.sf.net/sfu/novell-sfdev2dev
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> Try,
>
> youform.showmodal()
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list