English
Forum

Done: Image "Delete"

 

Roberto
Neu
i want one Program make the The windows-Ordner imitiert
means if I on a Ordner click should under The Images The in the Ordner are showing.
the Have so did i already hinbekommen.
but I get The Images then not any more lane
I have it already with GOTO and repaint attempts, but the Images went not lane
 
07/05/09  
 



simply drübermalen (z.B. rectangle) or to create("Bitmap",... begot Images with destroyWindow Remove.
 
07/05/09  
 




Roberto
Neu
Have I now time everything attempts but has nocht functions
there comes always The Error Message Endif/Else missing
then mach I endif there and then close itself the program always.

19 kB
Hochgeladen:07/05/09
Downloadcounter30
Download
 
07/05/09  
 




Roberto
Neu
can me none help ??
 
07/05/09  
 




Rolf
Koch
Hey, kuck you times the Time between your 2 Posts on.
help can you here many, but exercise first once a Grundstruktur the Profanprogrammierung.
don't be cross with me, but look you still time your GOTO on, is terrible.
go into Using Profan and read you whom cut offed Procedures through. Strukturiere the Gerüst and learn meaningfully one IF/ELSEIF/ENDIF einzusetzen.
Vorkauen one Codes isn't the right and becomes you never on the target bring.
 
07/05/09  
 




Rolf
Koch
so You but not think, I would one Unmensch, here time (but too kapieren not only copy) one beginning:
CompileMarkSeparation
declare Name$, text$, titeltext$, text2$, titeltext2$, ende%, e%
WindowTitle "VWPRG 1"
Window 50,20 - 600,500
LoadBMP "Bilder.BMP",0,0;0
LoadBMP "Music.BMP",100,0;0
LoadBMP "Videos.BMP",200,0;0

Proc GETCLICKEDICON

    if Mouse(0,0 - 98,121)

        loadbmp "bild1.BMP",0,120;0

    elseif Mouse(0,0 - 98,121)

        War von Dir Blösinn, wenn es oben reingeht, kann es nicht mehr
        die selbe Bedingung auslösen

    endif

ENDPROC

whilenot e%

    WaitInput
    GetClickedIcon

endwhile

 
07/05/09  
 




Roberto
Neu
I try the continuing with GOTO
but it works not I have it behind GetklickedIcon platziert but it happens nothing ??

whilenot e%
WaitInput
GetClickedIcon

endwhile
 
07/06/09  
 




Thomas
Freier
you should Rolfs words serious take and you into course deepening. GOTO is a olle Kamelle from DOS-times. today having we Proceduren, To them You spring, if You whom names the Procedur, here GETCLICKEDICON , in your Program einfügst. you have still XProfan 10 free. means use it and erarbeite you whom sense the SCHLEIFEN and ABFRAGEN.
CompileMarkSeparation
declare text&, ende%
Declare Bild1&,Bild2&,Bilder&
WindowTitle "VWPRG 1"
Window 50,20 - 600,500
Bild1& = Create("hPic",-1,"Bilder.BMP")
Bilder& = Create("Bitmap", %hWnd, Bild1&, 0,0)
LoadBMP "Music.BMP",100,0;0
LoadBMP "Videos.BMP",200,0;0
text& = Create("Text",%hWnd,"",0,390,600,30)

Proc GETCLICKEDICON  Bild anzeigen

    Bild1& = Create("hPic",-1,"bild1.BMP")
    Bild2& = Create("Bitmap", %hWnd, Bild1&, 0,120)
    SetText text&,"Linksklick löscht das Bild"

ENDPROC

whilenot Ende%

    WaitInput

    If %key= 2 Schließen Kreuz

        Ende%= 1

    Elseif Mouse(0,0 - 98,121)

        GetClickedIcon      hier wird zur PROC "edur" GetClickedIcon = Bild anzeigen gesprungen
        und zurück wenn abgearbeitet

    Elseif Mouse(0,99 - 98,210)

        DestroyWindow(Bild2&)   Bild löschen direkt eingebunden
        SetText text&,""

    EndIf

endwhile

DeleteObject Bild1&
End
 
Gruß Thomas
Windows XP SP2, XProfan X2
07/07/09  
 




Frank
Abbing

GOTO is a olle Kamelle from DOS-times.


well Yes, not integrally correctly.. Each native Exe using too today in reality countless "Gotos". there are mere technical seen Yes only Sprünge in the code, and the occur z.B. with eachone If-request.
XProfans Umsetzung this Gotos is (well Yes) right poor, therefore ought to hereon waived go, whenever It's all right. and this is really so well How always.
 
07/07/09  
 




Thomas
Freier
have Yes right and presumably were its first try aufm sharp, casio, hp, .. . only with seinem code, whom You you presumably not respected have, sträubten itself with Rolf and me The hairs.
 
Gruß Thomas
Windows XP SP2, XProfan X2
07/08/09  
 




Roberto
Neu
I have it now finally with GOTO geschafft ^^
but I have one other trouble.
I have in my Program one POPUP Menu made,
and would like the one by the Menu one other XProfan Program open can.
I have already The Quellcodesammlung search, but since can only EXE. Program open.
but I must one xprf. Program open
 
07/08/09  
 




Dietmar
Horn
WinExec is here your friend.
CompileMarkSeparation
WinExec("Profan.exe test.xprf",1
>
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
07/08/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

11.151 Views

Untitledvor 0 min.
Peter Max Müller09/30/14
Uwe Lang06/10/13
Ludwig Albien01/04/13

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