Hello Wim,
What should myFriend be - a wwidget or an application?
I want that the new window will display a page with person's info. I also
want to be able to give the page a parameter which is the person id.
How should I do that?

thank you,
Hadas

>Hello Hadass,
>
>If you use TargetNewWindow, you will have to provide an URL in your
>WAnchor, like this:
>WAnchor *a1 = new WAnchor(myFriend->url(), "GO", table->elementAt(0, 3));
>a1->setTarget(TargetNewWindow);
>
>Is this what you're looking for?
>
>Best regards,
>Wim.

>2010/3/17 hadass yaari <[email protected]>:
> Hello everybody,
> I want to know - how can I do that pushing a button will open a new window
> with a new page?
> I tried doing it with WAnchor instead of a button and a new open was
opened
> but instead of the page I wanted to be displayed, the openning page of my
> application was opened.
> I did:
> WAnchor *a1 = new WAnchor("",?"GO", table->elementAt(0, 3));
> a1->setTarget(TargetNewWindow);
> ?? ? ? ?a1->clicked().connect(SLOT(this, TravelTheNet::goToFriend));
> how should the goToFriendis method look like? I want to display?new
> FriendPage(id) in a new window.
> Thank you very much
> Hadas
>
>
>
------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to