🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #6707

usercontrol event

#6707
From: Cofke
Date: Tue, 26 Nov 2002 21:17
20 lines
1479 bytes
VB6.0
Hoe kan ik vanuit een code-module een event raisen -om het zo maar te
zeggen- in een usercontrol.(in het zelfde project)
Ik heb al ergens gevonden dat ik het zo kan doen.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaxctrl/ht
ml/msdn_intmouse.asp

In de module.
call testfunctie

in de usercontrol

friend sub testfunctie()
RaiseEvent  testevent
end sub

Toch krijg ik de melding "sub or function not ....."
Hij vind ze dus nog niet.
TIA
Cofke
Technical Details
Message-ID: <PxRE9.4134$004.1128110469@hestia.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!news.maxwell.syr.edu!skynet.be!skynet.be!ossa.telenet-ops.be!hestia.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,86a3258d3436fd04,start
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-11-26 13:21:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!news.maxwell.syr.edu!skynet.be!skynet.be!ossa.telenet-ops.be!hestia.telenet-ops.be.POSTED!not-for-mail
From: "Cofke" <cof69@hotmail.com>
Newsgroups: be.comp.programming
Subject: usercontrol event
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <PxRE9.4134$004.1128110469@hestia.telenet-ops.be>
Date: Tue, 26 Nov 2002 21:17:35 GMT
NNTP-Posting-Host: 213.224.70.161
X-Complaints-To: abuse@telenet.be
X-Trace: hestia.telenet-ops.be 1038345455 213.224.70.161 (Tue, 26 Nov 2002 22:17:35 CET)
NNTP-Posting-Date: Tue, 26 Nov 2002 22:17:35 CET
Organization: Telenet Internet