English
Forum

Click on image Open File

 
- Page 1 -



Roberto
good day
I need time again Help.
i will make, that if I on one Image click a File opened becomes.
How could I the make.
here my bisheriger code
declare passwindow&,e%
Windowtitle RHP windows
Window 50,20 - 800,600
startpaint passwindow&
LoadBMP RHPVISTA.BMP,54,69;0
LoadBMP groin.BMP,54,586;0
LOADBMP START.BMP,54,586;0
endpaint

whilenot e%

    WaitInput

    if Clicked 54,586;0

        LoadBMP RHPVISTA.BMP,54,69;0
        Waitinput
        end
 
Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^
02/19/09  
 



 
- Page 2 -



Paul
Glatz
this is dmit I the complete presentment see
 
02/20/09  
 




Paul
Glatz
Hie one new code:
CompileMarkSeparation
declare passwindow&,e%,i%
Windowtitle RHP Windows
Window 50,20 - 900,700
LoadBMP RHPVISTA.BMP,54,69;0
LoadBMP Leiste.BMP,54,586;0
LOADBMP START.BMP,54,586;0

whilenot e%

    WaitInput

    if Mouse(54,586-54+99,586+30)

        if i% = 1  Ist das Startmenu offen

            LoadBMP RHPVISTA.BMP,54,69;0
            LoadBMP Leiste.BMP,54,586;0
            LOADBMP START.BMP,54,586;0
            repaint neu malen
            i% = 0 Starmenu zu

        elseif i% = 0  es ist zu!

            LoadBMP STARTPUSHED.BMP,54,91;0
            repaint neu malen
            i% = 1  Startmenu offen

        endif

    endif

endwhile

 
02/20/09  
 




Roberto
calm thx has worked.
can you me yet The mouse Coordinaten explain.
what bedetet the
if Mouse(54,586-54+99,586+30)
means The numbers
 
Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^
02/20/09  
 




Paul
Glatz
is already!
CompileMarkSeparation
declare passwindow&,e%,i%
Windowtitle RHP Windows
Window 50,20 - 900,700
LoadBMP RHPVISTA.BMP,54,69;0
LoadBMP Leiste.BMP,54,586;0
LOADBMP START.BMP,54,586;0

whilenot e%

    WaitInput

    if Mouse(54,586-54+99,586+30)

        if i% = 1  Ist das Startmenu offen

            LoadBMP RHPVISTA.BMP,54,69;0
            LoadBMP Leiste.BMP,54,586;0
            LOADBMP START.BMP,54,586;0
            repaint neu malen
            i% = 0 Starmenu zu

        elseif i% = 0  es ist zu!

            LoadBMP STARTPUSHED.BMP,54,91;0
            repaint neu malen
            i% = 1  Startmenu offen

        endif

    endif

endwhile

 
02/20/09  
 




Roberto
and yet Please the numbers explain
 
Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^
02/20/09  
 




Paul
Glatz
I have everything in the code with komentaren declared
 
02/20/09  
 




Roberto
Yes but net The Coordinates
if Mouse(54,586-54+99,586+30)
 
Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^
02/20/09  
 




Paul
Glatz
the are The koordinatenb the Startbuttons

rather is:
CompileMarkSeparation
if Mouse(54,586-153,616)re>
 
02/20/09  
 




Roberto
Yes but what mean The Individual numbers Zb which is the number for x and y
 
Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^
02/20/09  
 




Paul
Glatz
Help XProfan 11

@Mouse(X1,Y1 - X2,Y2)

X1,Y1 : Integer - left upper corner
X2,Y2 : Integer - rights downstairs corner

Result: Integer (0 or 1)
the Result is 1, if at last Click The mouse in the angegebenen area was.
 
02/20/09  
 




Roberto
Ne I my the
if Mouse(54,586-153,616)
for what standing 54 x or y
and what means 586-153 x or y
and 616?
 
Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^
02/20/09  
 




Paul
Glatz
means

54 = X supra left (X1)
586 = Y supra left (Y1)
153 = X under right (X2)
616 = Y under right (Y2)
 
02/20/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

25.625 Views

Untitledvor 0 min.
H.Brill09/20/23
Langer01/01/22
Ernst04/30/14

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