Mirage Source
[MS4] Relocating Right Click Window - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13)
+------ Thread: [MS4] Relocating Right Click Window (/showthread.php?tid=3151)



[MS4] Relocating Right Click Window - DarkX - 24-09-2009

Hey guys, I know most of you can probably do this, but I was messing with my code and decided I wanted to do a small tut in Robin style
Code:
If Button = 2 Then
        If picw/e.visible = false  Then
            frmMirage.picw/e.Top = Y - numbers here
            frmMirage.picw/e.Left = X - numbers here
            frmMirage.picw/e.Visible = True
        Else
            frmMirage.picw/e.Top = Y - numbers here
            frmMirage.picw/e.Left = X - numbers here
            frmMirage.picw/e.Visible = True
        End If
    Else
        If Button = 1 Then
            picw/e.Visible = False
        End If
    End If
I changed this to the origanal copy, so theres no longer x or y in it


Re: [MS4] Relocating Right Click Window - Robin - 24-09-2009

I'm assuming the 'X / 32' means this is supposed to be tile-based?


Re: [MS4] Relocating Right Click Window - DarkX - 24-09-2009

Ignore that comment, it's something I'm working on for the mapeditor post updated.