Re: [Gambas-user] Resize event...

2008-11-13 Thread Stephen Bungay
I two lines of code to the resize event so that the embedded form does get positioned in the middle of the parent (perhaps I just misunderstood the print statement received RESIZE event - I want to be middle in the middle?). Anyway, this all seems to work quite nicely. Works properly

Re: [Gambas-user] Resize event...

2008-11-12 Thread Doriano Blengino
Stephen Bungay ha scritto: Well, after much consultation with Benoit I finally understand what is going on and how to get around the problem. For the benefit of anyone else who has been reading this thread, Doraino and I were talking about instantiating a form inside a container on

Re: [Gambas-user] Resize event...

2008-11-12 Thread Stephen Bungay
Now we come to your source. The mFormInitialized variable serves what purpose? mFormInitialized is a hold over from something I used to do in VB, and ocaisionally find useful in Gambas, so I just never removed it. Call that a force of habit. It has proven useful allowing the Initialize

Re: [Gambas-user] Resize event...

2008-11-12 Thread Stephen Bungay
Look forward to it. Doriano Blengino wrote: Stephen Bungay ha scritto: Now we come to your source. The mFormInitialized variable serves what purpose? mFormInitialized is a hold over from something I used to do in VB, and ocaisionally find useful in Gambas, so I just never removed

Re: [Gambas-user] Resize event...

2008-11-11 Thread Stephen Bungay
Sorry I was not on-line at all yesterday and missed some of the conversation. In the cold hard light of it an event is an event is an event, regardless of who or what caused the event to occur. This is a little annoying, but IMHO it's far better to know for sure that an event will fire,

Re: [Gambas-user] Resize event...

2008-11-11 Thread Benoit Minisini
On mardi 11 novembre 2008, Stephen Bungay wrote: Sorry I was not on-line at all yesterday and missed some of the conversation. In the cold hard light of it an event is an event is an event, regardless of who or what caused the event to occur. This is a little annoying, but IMHO it's

Re: [Gambas-user] Resize event...

2008-11-10 Thread Doriano Blengino
Stephen Bungay ha scritto: Thanks for the clarification, the resize method is new since I last did extensive work with GAMBAS, IMHO it is not required. On thye surface of it setting the Width and Height Properties perform the same function as the Resize method. The timer hack is a

Re: [Gambas-user] Resize event...

2008-11-09 Thread Benoit Minisini
On dimanche 9 novembre 2008, Doriano Blengino wrote: Stephen Bungay ha scritto: A form, lets call it FormX contains a tabStrip which has another form, call it FormY dynamically instantiated inside the TabStrip at run-time. FormY has three controls on it, a calendar, a table, and a

Re: [Gambas-user] Resize event...

2008-11-09 Thread Stephen Bungay
Thanks for the clarification, the resize method is new since I last did extensive work with GAMBAS, IMHO it is not required. On thye surface of it setting the Width and Height Properties perform the same function as the Resize method. The timer hack is a major kludge and is not

[Gambas-user] Resize event...

2008-11-08 Thread Stephen Bungay
A form, lets call it FormX contains a tabStrip which has another form, call it FormY dynamically instantiated inside the TabStrip at run-time. FormY has three controls on it, a calendar, a table, and a VSplit to seperate them. When FormX is resized the TabStrip is resized and I want to