English
Forum

Bildbutton trouble

 

GDL
Hi,

have the trouble, that The Bildbuttons not always the new Wechselbild loading.
3 time GEHTS, then remaining the Button gray, then GEHTS Perhaps 10 time To the Button again gray remaining etc.
if worth%=0						ruddy

    name$= astart$+"\gleisplaner\Images\presentment15a.BMP"
    bild_&[through%] = @Create("HPIC", -1, name$)
    Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])

elseif worth%=1						green

    name$= astart$+"\gleisplaner\Images\presentment15b.BMP"
    bild_&[through%] = @Create("HPIC", -1, name$)
    Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])

elseif worth%=2					gelbgrün

    name$= astart$+"\gleisplaner\Images\presentment15c.BMP"
    bild_&[through%] = @Create("HPIC", -1, name$)
    Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])

elseif worth%=3						rangier

    name$= astart$+"\gleisplaner\Images\presentment15d.BMP"
    bild_&[through%] = @Create("HPIC", -1, name$)
    Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])

endif


this Codeteil runs in a Hauptschleife without Waitinput and the Thread.pcu runs with two Threads.
One Dulco iF into Hauptschleife or on anybody place between
name$= astart$+\gleisplaner\Images\presentment15c.BMP
bild_&[through%] = @Create(HPIC, -1, name$)
Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])

installed lindert the affair only ex.gives it otherwise yet irgendeine Possibility ?

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/29/06  
 




Jörg
Sellmeyer
Why erstellst Thou the Bildhandle over ands over again new?
You need still really only to the Loop your three Handles fetch and the Loop
Sendmessage(Signal_&[through%],$00F7,0,Bild_&[worth%])
insert.
name$= Astart$+"\gleisplaner\Images\presentment15a.BMP"
Bild_&[0] = @Create("HPIC", -1, name$)
Name$= Astart$+"\gleisplaner\Images\presentment15b.BMP"
Bild_&[1] = @Create("HPIC", -1, name$)
Name$= Astart$+"\gleisplaner\Images\presentment15c.BMP"
Bild_&[2] = @Create("HPIC", -1, name$)
SetTimer 1

While 1

    Case hardship(%wmtimer):WaitInputso becomes The Processor load drastisch minimizes - goes naturally not so simply, if You yet More Timer using.
    Case %key=27:Break
    worth%=GetWert()or How always You whom worth ermittelst
    Sendmessage(Signal_&[through%],$00F7,0,Bild_&[worth%])

Wend

KillTimer

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/29/06  
 




GDL
Hello Jörg,

I have The Images always desswegen new prepares, I from the opinion ausging in memory could only at the same time one Image to Übergabe stand.will be it same test times.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/29/06  
 




Jörg
Sellmeyer
first if you end with DeleteObjekt hBild& the Objekt löschst, is it too disappeared.
therefore indeed the aray to that Save the Handels.
In Your drop then simply:

and well is!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/29/06  
 




GDL
must unfortunately ne others Solution find, there of my altogether 60 Images only seven to create.... übernommen and be each Image only once allocated go can.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/29/06  
 




GDL
command back, lying on the computer.under 1 Ghz computer GEHTS not, above already.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/29/06  
 




Jörg
Sellmeyer
are The Images so big?
You need naturally each Image only once with Create(hPic,...) one lever allocate. the can You then on as much as you want Controls lay!.

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/29/06  
 




GDL
1 GHz related on The Taktfrequenz.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/30/06  
 



[quote:b6e3675cd0=GDL]1 GHz related on The Taktfrequenz.[/quote:b6e3675cd0]These against ought to for Funktionalität beside the point his...
 
08/30/06  
 




GDL
Is anyhow NEN komisches board. no Program ( neither commercial) can without crash on The RS232 grab, if these without NEN Windowsinstaller aufgespielt get.(90% all Steuerprogramme are DOS programs).
These UART ticket functions only with Programs, The in windows registered are.
bring it already yet running.

having unfortunately 10 computer this Type (VHS present) in the association.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/30/06  
 




Michael
Wodrich
with this Sicherheitsfimmel get one still a Schreikrampf. can You The Zertifizierungspflicht not simply switch off? (Adminmodus).

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
08/30/06  
 




GDL
was one Frühversuch one UART Herstellers on Hardwarebasis with Bios.Should I the Bios on the RS232 ticket(component aufm board) Change can.
The computer were Dummys on one the first LAN Netze.

have even the Prog. on my Urrechner NEN 486DX33 with 8 MB RAM and win95 tested. UND ES LÄUFT. it's located means definitiv on the stupid Peacock BOARD.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/30/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.094 Views

Untitledvor 0 min.
Walter11/23/22
Andre Rohland02/04/14
Julian Schmidt02/01/12
Jörg Sellmeyer12/07/11
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie