sooo, ich will das wenn die maus über nem eingabefeld ist, der mauszeiger sich zu diesem strich da ändert... ich hab jetzt schon einige zet geschaut und nachgeschlagen, bis ich endlcih gefunden hatte das die funktion beim gm6 nichtmehr set_cursor(cur) sondern action_set_cursor(cur) heißt und nun habsch aber irgendwie trotzdem ka was ich falsch mache... irgendwas stimmt da mit meiner funktion nicht... der übernimmt den mauszeiger ja nochnetmal wenn ich den ins draw event mache *grml*... naja, genug geredet hier das object:
Alles anzeigen
Quellcode
- Information about object: object1
- Sprite: <no sprite>
- Solid: false
- Visible: true
- Depth: 0
- Persistent: false
- Parent: <no parent>
- Mask: <same as sprite>
- Step Event:
- if mouse_x is larger than 125
- if mouse_x is smaller than 375
- if mouse_y is larger than 28
- if mouse_y is smaller than 58
- set variable action_set_cursor to cr_beam
- else
- set variable action_set_cursor to cr_default
- Draw Event:
- set the drawing color to 4194368
- set the font for drawing text to font0 and align left
- at position (25,25) draw text: Name:
- set the drawing color to 16777215
- draw rectangle with vertices (125,28) and (375,58), filled