Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[CS:DE] Hide Admin Panel While Mapping (Simple)


Irhymer
 Share

Recommended Posts

Hey, this is just a simple tutorial on getting rid of the admin panel while mapping **(my preferred steps)**. It got in my way while mapping, & I wasn't sure if there was a way to hide it, so I did it myself. (could just be that I use '/' commands without function keys on my laptop)

**Client: Form Work**

Go to: **frmEdit_Map**

Create a new _CommandButton_
(You can place it between the 'Properties' & 'Send' buttons)

With the new button selected, head to the _Properties Tab_ & name the button "HideAdmin"
*Do the same for _Caption_ so you won't be confused.

**Client: Code Work**

Find:
```
Private Sub HideAdmin_Click()

End Sub

```_or simply double click the "HideAdmin" button._

Paste:
```
frmMain.picAdmin.visible = Not frmMain.picAdmin.visible
```_Before the End Sub_

Should look like:
```
Private Sub HideAdmin_Click()
frmMain.picAdmin.visible = Not frmMain.picAdmin.visible
End Sub

```
**Final Product**

![](http://i39.tinypic.com/verpdf.png)

Now simply click that button anytime the Admin Panel gets in the way of your _beautiful_ mapping.  ;)

-Jake
Link to comment
Share on other sites

@Gianni:

> you can also just make it so when you hit the "map" button on the admin panel, it closes it by doing
>
> ```
> frmMain.picAdmin.visible = false
> ```

Yea, forgot the mention that this was just my preference, because sometimes I want the panel open. But thanks ;)

@greendixy:

> or you can just hit  "0" on the keypad works all the same

In what engine? That doesn't work in CS:DE.
Link to comment
Share on other sites

@crzy:

> Most laptops have an Ins key which will be your insert key. How old is your laptop??
>
> Back on topic. This was an easy fix for your problem though. Very nice tutorial!

Haha thanks! & That's the thing, my laptop is only a few months old, its weird.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...