<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=63&amp;t=13685&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-11-26T21:54:03+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=63&amp;t=13685&amp;mode</id>
<entry>
<author><name><![CDATA[grzeniu 73]]></name></author>
<updated>2015-11-26T21:54:03+01:00</updated>
<published>2015-11-26T21:54:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146452#p146452</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146452#p146452"/>
<title type="html"><![CDATA[Re: DrawLine, DrawPoint]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146452#p146452"><![CDATA[
Oo dzięki.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1519">grzeniu 73</a> — 26 lis 2015, o 21:54</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2015-11-26T21:32:16+01:00</updated>
<published>2015-11-26T21:32:16+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146443#p146443</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146443#p146443"/>
<title type="html"><![CDATA[Re: DrawLine, DrawPoint]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146443#p146443"><![CDATA[
to znaczy ponowne odrysowanie <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /> całości<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 26 lis 2015, o 21:32</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[grzeniu 73]]></name></author>
<updated>2015-11-26T18:11:48+01:00</updated>
<published>2015-11-26T18:11:48+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146403#p146403</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146403#p146403"/>
<title type="html"><![CDATA[DrawLine, DrawPoint]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=13685&amp;p=146403#p146403"><![CDATA[
Witam. <br />Próbuje wyświetlać na panelu piksele i nie bardzo to wychodzi. Napisałem prosty programik i wyświetla sie dobrze ale tylko gdy umieszczę rysowanie w Activity_create  później gdy spróbuje wyswietlic cos w przerwaniu od timera ,czy wywoływane przyciskiem nie reaguje.<br />[syntax=basic4gl]#Region  Project Attributes <br />#ApplicationLabel: B4A Example<br />#VersionCode: 1<br />#VersionName: <br />'SupportedOrientations possible values: unspecified, landscape or portrait.<br />#SupportedOrientations: unspecified<br />#CanInstallToExternalStorage: False<br />#End Region<br /><br />#Region  Activity Attributes <br />#FullScreen: False<br />#IncludeTitle: True<br />#End Region<br /><br />Sub Process_Globals<br />'These global variables will be declared once when the application starts.<br />'These variables can be accessed from all modules.<br /><br />End Sub<br /><br />Sub Globals<br />'These global variables will be redeclared each time the activity is created.<br />'These variables can only be accessed from this module.<br />    Dim timer1 As Timer<br />Private Panel1 As Panel<br />Dim wyswietlacz As Canvas<br />Dim a ,b As Float<br />Private Label1 As Label<br />Private Button1 As Button<br />Dim i As Int<br />Dim ii As Int<br />End Sub<br /><br />Sub Activity_Create(FirstTime As Boolean)<br />'Do not forget to load the layout file created with the visual designer. For example:<br />Activity.LoadLayout(&quot;1&quot;)<br />    wyswietlacz.Initialize(Panel1)<br />a=20<br />b=20<br />For i=0 To 500 Step 3<br />a=i<br />b=i<br /> wyswietlacz.DrawPoint(a , b,Colors.Black)<br /> <br />Next<br /> wyswietlacz.DrawLine(0,50,300,50,Colors.Blue,1dip)<br />End Sub[/syntax]<br /><br />Jak wyświetlać np gdy współrzędne punktu wyśle przez BT ? Cos mi to nie wychodzi.<br /><br /><strong><span style="color: #808000">------------------------ [ Dodano po: dzisiaj, o 18:11 ]</span></strong><br /><br />Juz drugi raz po napisaniu posta gdy nie moglem dłuższy czas znaleźć rozwiązania sprawa sie rozwiązała.<br />Po wyświetleniu trzeba dodać<br />[syntax=basic4gl]Activity.Invalidate[/syntax]<br />Co to znaczy to jeszcze nie wiem:)<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1519">grzeniu 73</a> — 26 lis 2015, o 18:11</p><hr />
]]></content>
</entry>
</feed>