KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

MS Office-Like Bar

 
Post new topic   Reply to topic    KiXforms Forum Index -> Script Archive
View previous topic :: View next topic  
Author Message
Ashmite
KiXforms Dabbler
KiXforms Dabbler


Joined: 27 Apr 2004
Posts: 13

PostPosted: Wed Apr 28, 2004 10:33 pm    Post subject: MS Office-Like Bar Reply with quote

Starting a theme here...

Here's a sample that I'm playing with. Do you remember the Office Shortcut Bar? Here's a base form to do something similar.

It's a small form that hangs out on the right of the screen until you click on it. It then slides out to reveal its contents. I've experimented with using this format for creating a SysAdmin tool set. I've dropped it in favor of a Wizard format, which I'll be posting an example soon.

I think it still has some potential though

Enjoy!

-Ashmite

Code:


Break On
$System = CreateObject("Kixtart.System")


$Form = $System.Form()
$Form.Text = ""
$Form.Icon = ""
$Form.ShowInTaskBar = False
$Form.Height = $System.Screen.WorkingArea.Bottom
$Form.ControlBox = False
$Form.FormBorderStyle = 0
$Form.OnClick = "OpenTool()"
$Form.OnMouseLeave = "CloseTool()"
$Form.Width = 30
$Form.Left =  $System.Screen.WorkingArea.Right - $Form.Width
$Form.Top = 0


$Form.Show     
While $Form.Visible
   $=Execute($Form.DoEvents())
Loop
Exit 1

Function OpenTool()
   
   For $x = $Form.Width to 200
        
      $Form.Width = $x
      $Form.Left =  $System.Screen.WorkingArea.Right - $Form.Width
   Next     
         
EndFunction


Function CloseTool()
      Sleep 3
   For $x = $Form.Width to 30 Step -1
        
      $Form.Width = $x
      $Form.Left =  $System.Screen.WorkingArea.Right - $Form.Width
   Next     


EndFunction
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Script Archive All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group