[Gambas-user] Emulating wizard Back/Next navigation
M0E Lnx
m0e.lnx at ...626...
Tue Dec 16 14:59:16 CET 2008
Attn: Fabien,
Your sample works for me, but I need a way to execute the code in each
form's _Open() or _Show() event... Or any sub for that matter.
I noticed that the code is only ran once (the very first time the form
is loaded). Can you suggest a way of doing this?
On Mon, Dec 15, 2008 at 12:00 PM, M0E Lnx <m0e.lnx at ...626...> wrote:
> I've tried the Show event, but I get the same results.
>
> The forms.Show or Open events are not getting called. They're just
> getting Raised
>
> So, How do I run code in the forms Show or Open event?
>
> On Mon, Dec 15, 2008 at 10:56 AM, Steven Lobbezoo <steven at ...1652...> wrote:
>> I think you need to use the form's show event, not the open event.
>>
>> Steven
>>
>>
>> Le lundi 15 décembre 2008 à 09:36 -0600, M0E Lnx a écrit :
>>
>>> BTW, the functions that populate my content are called in each form's
>>> _Open() event
>>>
>>>
>>> On Mon, Dec 15, 2008 at 9:34 AM, M0E Lnx <m0e.lnx at ...626...> wrote:
>>> > After testing this, I do have a question though.
>>> >
>>> > My forms have objects like treeviews, listboxes, etc which get
>>> > populated by running external functions.
>>> > So, when I implement your example into my project, the navigation
>>> > works perfectly, My forms however do not.
>>> >
>>> > My content shows up only when I'm going though it the first time
>>> > around. if I click the back button, and navigate my way back and
>>> > forth, my forms are displayed, but the objects are mot populated.
>>> >
>>> > How can I fix this?
>>> >
>>> > On Mon, Dec 15, 2008 at 7:59 AM, M0E Lnx <m0e.lnx at ...626...> wrote:
>>> >> Yes!... this is exactly how I need it to work. Thank you
>>> >>
>>> >> On Sat, Dec 13, 2008 at 2:23 AM, Fabien Bodard <gambas.fr at ...626...> wrote:
>>> >>> it better to have a demo ... and it work fine ...
>>> >>>
>>> >>> take it and tell me if that is what you want.
>>> >>>
>>> >>> ------------------------------------------------------------------------------
>>> >>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
>>> >>> The future of the web can't happen without you. Join us at MIX09 to help
>>> >>> pave the way to the Next Web now. Learn more and register at
>>> >>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>>> >>> _______________________________________________
>>> >>> Gambas-user mailing list
>>> >>> Gambas-user at lists.sourceforge.net
>>> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>> >>>
>>> >>>
>>> >>
>>> >
>>>
>>> ------------------------------------------------------------------------------
>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
>>> The future of the web can't happen without you. Join us at MIX09 to help
>>> pave the way to the Next Web now. Learn more and register at
>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
>> The future of the web can't happen without you. Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> 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