🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #104627

Re: VB2005 => win ce button z grafiką

#104627
From: sundayman
Date: Thu, 29 Apr 2010 22:37
23 lines
1568 bytes

Sub Button1Click(sender as Object, e As EventArgs) Handles
Button1.Click

dim button1 as Button = sender

if button1.Tag=1 then
   button1.Image = obrazek2
   button1.Tag = 0
else
   button1.Image = obrazk1
   button1.Tag = 1
End If

End Sub

___________________________________

no właśnie to nie działa.
 nie ma do kontrolki "button" czegoś takiego jak "image".
Moim środowiskiem docelowym jest "smart device" z WIN CE 5.0 6.0.
I kiedy wpisuję to tak jak pokazałeś, niestety wywala mi błąd.
Technical Details
Message-ID: <hrd1n5$cgk$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.onet.pl!not-for-mail
References: <hr9t6q$m86$1@news.onet.pl> <6b26895e-6173-4af1-8279-47935fca56f5@q32g2000yqb.googlegroups.com> <hracon$3se$1@news.onet.pl> <3d278389-58eb-47f3-a5f8-d4ef5ecbdbca@37g2000yqm.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.onet.pl!not-for-mail
From: "sundayman" <sundayman@poczta.onet.pl>
Newsgroups: pl.comp.lang.vbasic
Subject: Re: VB2005 => win ce button z grafiką
Date: Fri, 30 Apr 2010 00:37:26 +0200
Organization: http://onet.pl
Lines: 26
Message-ID: <hrd1n5$cgk$1@news.onet.pl>
References: <hr9t6q$m86$1@news.onet.pl> <6b26895e-6173-4af1-8279-47935fca56f5@q32g2000yqb.googlegroups.com> <hracon$3se$1@news.onet.pl> <3d278389-58eb-47f3-a5f8-d4ef5ecbdbca@37g2000yqm.googlegroups.com>
NNTP-Posting-Host: 117.42.rev.vline.pl
X-Trace: news.onet.pl 1272580645 12820 217.76.117.42 (29 Apr 2010 22:37:25 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Thu, 29 Apr 2010 22:37:25 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit