logo
Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Sjarl  
#1 Posted : Thursday, October 30, 2008 12:03:19 AM(UTC)
Sjarl

Rank: Sienn Developer

Reputation:

Groups: Administration
Joined: 10/8/2008(UTC)
Posts: 23

The reference is simply Page instead of Me

Wanna join the discussion?! Login to your Sienn Forum forum account. New Registrations are disabled.

Sjarl  
#2 Posted : Friday, January 23, 2009 2:55:38 PM(UTC)
Sjarl

Rank: Sienn Developer

Reputation:

Groups: Administration
Joined: 10/8/2008(UTC)
Posts: 23

Within a usercontrol, there is MyForm parameter as usercontrol.
If you want to reference to the page, simply use MyForm.Parent (which is of the page type)
bart  
#3 Posted : Thursday, January 29, 2009 12:14:27 PM(UTC)
bart

Rank: Administration

Reputation:

Groups: Administration
Joined: 10/8/2008(UTC)
Posts: 188
Man

Was thanked: 1 time(s) in 1 post(s)
If you have to use this in the function or Sub
Make sure you add a sender(byref)
then you can use "sender.page"
the number of parents doesn't matter
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.