Click here to Skip to main content
16,006,766 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How can I add DoubleClick event for a button Pin
Dave Kreskowiak5-Dec-08 4:38
mveDave Kreskowiak5-Dec-08 4:38 
GeneralRe: How can I add DoubleClick event for a button Pin
Luc Pattyn5-Dec-08 5:16
sitebuilderLuc Pattyn5-Dec-08 5:16 
GeneralRe: How can I add DoubleClick event for a button Pin
Jon_Boy5-Dec-08 9:22
Jon_Boy5-Dec-08 9:22 
GeneralRe: How can I add DoubleClick event for a button Pin
Luc Pattyn5-Dec-08 9:34
sitebuilderLuc Pattyn5-Dec-08 9:34 
GeneralRe: How can I add DoubleClick event for a button Pin
Dave Kreskowiak5-Dec-08 11:44
mveDave Kreskowiak5-Dec-08 11:44 
GeneralRe: How can I add DoubleClick event for a button Pin
Abraham15-Dec-08 16:31
Abraham15-Dec-08 16:31 
QuestionCalling a known method in a form object [modified] Pin
MatthysDT5-Dec-08 0:53
MatthysDT5-Dec-08 0:53 
AnswerRe: Calling a known method in a form object Pin
Tom Deketelaere5-Dec-08 1:13
professionalTom Deketelaere5-Dec-08 1:13 
It doesn't work because the variable you declared is of the type Form (wich doesn't contain that methode)

Declare the variable as a variable of the type of pForm and you should be able to access it

So something like:
'lets say pForm is a form of the type Form1

Dim _Form as new Form1 = pForm

_Form.DeleteApproved(pObj)


A little warning here if you try to assign a other type (like Form2) to the variable _Form you'll get an error.

If you have multiple forms that need this (Form1, Form2, Form3, ...) a possible way to do this would be to make all those forms inherit from a specific form (InheritForm), declare the methode there (overridable or mustoverride) and make _Form from the type InheritForm. Then in all the other forms just override the methode.

Hope this is a bit clear if not feel free to ask more
GeneralRe: Calling a known method in a form object Pin
MatthysDT5-Dec-08 1:41
MatthysDT5-Dec-08 1:41 
GeneralRe: Calling a known method in a form object Pin
Tom Deketelaere5-Dec-08 2:02
professionalTom Deketelaere5-Dec-08 2:02 
GeneralRe: Calling a known method in a form object Pin
MatthysDT5-Dec-08 2:17
MatthysDT5-Dec-08 2:17 
GeneralRe: Calling a known method in a form object Pin
Tom Deketelaere5-Dec-08 2:21
professionalTom Deketelaere5-Dec-08 2:21 
GeneralRe: Calling a known method in a form object [modified] Pin
Luc Pattyn5-Dec-08 1:49
sitebuilderLuc Pattyn5-Dec-08 1:49 
GeneralRe: Calling a known method in a form object Pin
Dave Kreskowiak5-Dec-08 4:40
mveDave Kreskowiak5-Dec-08 4:40 
GeneralRe: Calling a known method in a form object Pin
Luc Pattyn5-Dec-08 5:08
sitebuilderLuc Pattyn5-Dec-08 5:08 
GeneralRe: Calling a known method in a form object Pin
Dave Kreskowiak5-Dec-08 7:58
mveDave Kreskowiak5-Dec-08 7:58 
QuestionHow many Triggers Pin
indian1434-Dec-08 23:25
indian1434-Dec-08 23:25 
AnswerRe: How many Triggers Pin
tonybluenile5-Dec-08 0:04
tonybluenile5-Dec-08 0:04 
GeneralRe: How many Triggers Pin
indian1435-Dec-08 0:58
indian1435-Dec-08 0:58 
GeneralRe: How many Triggers Pin
Jon_Boy5-Dec-08 3:31
Jon_Boy5-Dec-08 3:31 
AnswerRe: How many Triggers Pin
Mycroft Holmes5-Dec-08 14:43
professionalMycroft Holmes5-Dec-08 14:43 
GeneralRe: How many Triggers Pin
Jon_Boy12-Dec-08 1:44
Jon_Boy12-Dec-08 1:44 
QuestionVB.NET Saving object properties Pin
User 54091904-Dec-08 16:06
User 54091904-Dec-08 16:06 
AnswerRe: VB.NET Saving object properties Pin
Christian Graus4-Dec-08 16:21
protectorChristian Graus4-Dec-08 16:21 
AnswerRe: VB.NET Saving object properties Pin
CodingYoshi4-Dec-08 17:35
CodingYoshi4-Dec-08 17:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.