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
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
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
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
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,
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
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
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
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
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
10 matches
Mail list logo