| |
|
|
- 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 |
|
|
| |
|
|
|
Paul Glatz | Hie one new code: CompileMarkSeparationdeclare 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
|
|
|
| |
|
|
|
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! CompileMarkSeparationdeclare 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
|
|
|
| |
|
|
|
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 |
|
|
| |
|
|
|
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 | |
|
| |
|
|
|
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.
|
|
|
| |
|
|
|
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) |
|
|
| |
|
|