English
Forum

Done: Image Automatically loaded

 

Roberto
Neu
Hello
I have here Program with the one on a Koordinate clicking and then one Image loaded becomes.
but same if I the program starte is the image the first loaded go should already there.
here the code
Why could it lying??
CompileMarkSeparation
declare a%,b%
windowtitle "Microkosm 4 Create"
window 50,50-400,600
loadbmp "filesox.bmp",240,0;0
loadbmp "fileshaus1.bmp",290,20;0
loadbmp "fileshaus2.bmp",290,80;0
loadbmp "fileshaus3.bmp",290,140;0
erste Reihe
loadbmp "files
on.bmp",0,0;0 OBEN LINKS
loadbmp "files
on.bmp",50,0;0 OBEN MITTE
loadbmp "files
on.bmp",100,0;0 OBEN RECHTS
Zweite Reihe
loadbmp "files
on.bmp",0,50;0 MITTE LINKS
loadbmp "files
on.bmp",50,50;0 MITTE MITTE
loadbmp "files
on.bmp",100,50;0 MITTE RECHTS
Dritte Reihe
loadbmp "files
on.bmp",0,100;0 UNTEN LINKS
loadbmp "files
on.bmp",50,100;0 MITTE
loadbmp "files
on.bmp",100,100;0 UNTEN RECHTS

if clicked(290,20 - 340,70)

    loadbmp "fileshaus1.bmp",0,0;0 OBEN LINKS

endif

waitkey
end
 
07/24/09  
 




Rolf
Koch
Sorry Clicked must a handle receive and no Coordinates.
You must in this drop How had already Clicked through Mouse supplant.
Getfocus would there indeed not functions.
 
07/24/09  
 




Roberto
Neu
have I now made but the image is nevertheless already with Programmanfang there and not first by the klick
 
07/24/09  
 




Rolf
Koch
without Images can I nothing testing.
two Listviews the at all? without a Loop?
with you becomes anyhow directly with Start the if quizzed (so quick can You not at all clicking) and to that waitkey sprang - then Click and end.
Whilenot and wend around the if missing.
 
07/24/09  
 




Roberto
Neu
makes we it simply time minimal ^^
can Yes each arbitrary BMP Image take.
by me comes immernoch the image in the beginning
CompileMarkSeparation
windowtitle "Microkosm 4 Create"
window 50,50-400,600

if Mouse(0,0 - 340,70)

    loadbmp "fileshaus1.bmp",0,0;0 OBEN LINKS

endif

waitkey
07/24/09  
 




Rolf
Koch

CompileMarkSeparation
windowtitle "Microkosm 4 Create"
window 50,50-400,600

While 1

    Waitinput

    if Mouse(0,0 - 340,70)

        loadbmp "fileshaus1.bmp",0,0;0OBEN LINKS

    endif

endwhile

waitkey
end

is still logical or? Waitinput has gefehlt and ausserdem a Loop How already said.
 
07/24/09  
 




Roberto
Neu
so habs time ready geflickt ^^

15 kB
Kurzbeschreibung: Microkosm 4 Creator
Hochgeladen:07/24/09
Downloadcounter71
Download
 
07/24/09  
 




Rolf
Koch
gladly happen Roberto
 
07/24/09  
 




Roberto
Neu
OHHHHHHHHHHHHHHHHHHHHHHHHH excuse
thank you very much for HILFE Rolf
 
07/24/09  
 




Rolf
Koch
wasn't angry meant - ought to only freshen *lol*
 
07/24/09  
 




Roberto
Neu
XD ^^
Well i'm off time Off and überleg a little bit How I the improve can ^^
 
07/24/09  
 




Roberto
Neu
so i'm now in a new proposition.
a internet Browser To make.(with minimalen functions ^^)
but I get not there this code into Bisherigen reinzubauen
I have it as here While with attempts and Proc and simply so whom code
reinzuschreiben
CompileMarkSeparation
While 2

    waitinput

    IF Mouse(620,15 - 650,45)

        end

    endif

e
e
 
07/26/09  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.685 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 3 subscriber:

Roberto Neu (8x)
Rolf Koch (5x)
E.T. (1x)


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